Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8213/0.8213, allocations: 150.8 MB / 166.6 MB, free: 14.74 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003037/0.0003037, allocations: 15.97 kB / 204.7 MB, free: 10.14 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1703, allocations: 31.33 MB / 236 MB, free: 5.453 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger): time 1.684/1.855, allocations: 293.7 MB / 0.5172 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.568/2.423, allocations: 189.9 MB / 0.7027 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005026/2.423, allocations: 12.09 kB / 0.7027 GB, free: 3.695 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/StaticWallFlueGasesExchanger.mo:123:3-124:54:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/StaticWallFlueGasesExchanger.mo:127:3-128:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/Sink.mo:39:3-40:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003462/2.424, allocations: 81.14 kB / 0.7028 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001389/2.425, allocations: 0.5396 MB / 0.7033 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03245/2.458, allocations: 9.251 MB / 0.7123 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003097/2.461, allocations: 3.265 MB / 0.7155 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001128/2.462, allocations: 1.136 MB / 0.7166 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009125/2.463, allocations: 0.8469 MB / 0.7175 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001256/2.464, allocations: 1.207 MB / 0.7187 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002241/2.464, allocations: 118.2 kB / 0.7188 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03495/2.499, allocations: 20.6 MB / 0.7389 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001464/2.501, allocations: 0.8158 MB / 0.7397 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001632/2.502, allocations: 1.024 MB / 0.7407 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01697/2.519, allocations: 8.428 MB / 0.7489 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/2.519, allocations: 4 kB / 0.7489 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.745e-06/2.519, allocations: 0 / 0.7489 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.566e-05/2.519, allocations: 0 / 0.7489 GB, free: 14.87 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 495 * Number of variables: 495 Notification: Performance of Generate backend data structure: time 0.01199/2.531, allocations: 3.532 MB / 0.7524 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/2.531, allocations: 8.281 kB / 0.7524 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004784/2.532, allocations: 214.9 kB / 0.7526 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/2.533, allocations: 0.8594 MB / 0.7534 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004292/2.534, allocations: 452.1 kB / 0.7538 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002852/2.534, allocations: 186.5 kB / 0.754 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004851/2.539, allocations: 3.131 MB / 0.7571 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.203e-05/2.539, allocations: 17.12 kB / 0.7571 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002002/2.539, allocations: 82.36 kB / 0.7572 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.312e-05/2.539, allocations: 52.59 kB / 0.7572 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005302/2.545, allocations: 3.149 MB / 0.7603 GB, free: 10.34 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01777/2.562, allocations: 14.85 MB / 0.7748 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007307/2.57, allocations: 2.368 MB / 0.7771 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001918/2.572, allocations: 0.9109 MB / 0.778 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1561/2.728, allocations: 85.75 MB / 0.8617 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.443e-05/2.728, allocations: 46.78 kB / 0.8618 GB, free: 12.51 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=146): time 5.149e-06/2.728, allocations: 3.938 kB / 0.8618 GB, free: 12.51 MB / 0.7012 GB Notification: Performance of matching and sorting (n=146): time 0.02017/2.748, allocations: 5.968 MB / 0.8676 GB, free: 6.5 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/2.748, allocations: 68.7 kB / 0.8677 GB, free: 6.422 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001762/2.75, allocations: 1.397 MB / 0.869 GB, free: 5.02 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001148/2.75, allocations: 50.91 kB / 0.8691 GB, free: 4.965 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004783/2.751, allocations: 0.7797 MB / 0.8699 GB, free: 4.18 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004344/2.751, allocations: 0.5148 MB / 0.8704 GB, free: 3.668 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006082/2.752, allocations: 435.2 kB / 0.8708 GB, free: 3.234 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 8.247e-05/2.752, allocations: 309 kB / 0.8711 GB, free: 2.93 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001686/2.753, allocations: 0.9242 MB / 0.872 GB, free: 2.004 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002152/2.756, allocations: 1.625 MB / 0.8736 GB, free: 56 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003957/2.76, allocations: 2.707 MB / 0.8762 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/2.76, allocations: 4 kB / 0.8762 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006266/2.766, allocations: 3.376 MB / 0.8795 GB, free: 9.879 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/2.766, allocations: 15.94 kB / 0.8795 GB, free: 9.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.93e-05/2.766, allocations: 24.09 kB / 0.8795 GB, free: 9.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004176/2.77, allocations: 1.566 MB / 0.8811 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003588/2.774, allocations: 0.5839 MB / 0.8816 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007398/2.781, allocations: 5.115 MB / 0.8866 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002288/2.784, allocations: 312.8 kB / 0.8869 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002238/2.784, allocations: 127.9 kB / 0.8871 GB, free: 2.035 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.C.ftype,dynamicOnePhaseFlowPipe.fluid,sinkP.fluid,sourceP.fluid1,dynamicOnePhaseFlowPipe.C1.diff_on_2,dynamicOnePhaseFlowPipe.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 190 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,11,28.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,43)} Notification: Performance of prepare postOptimizeDAE: time 0.0008978/2.785, allocations: 0.5061 MB / 0.8875 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003033/2.785, allocations: 154.2 kB / 0.8877 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005377/2.79, allocations: 2.781 MB / 0.8904 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/2.79, allocations: 16 kB / 0.8904 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/2.79, allocations: 4 kB / 0.8904 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/2.79, allocations: 7.969 kB / 0.8904 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007512/2.798, allocations: 4.368 MB / 0.8947 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/2.798, allocations: 4.938 kB / 0.8947 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001969/2.8, allocations: 349.8 kB / 0.895 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003913/2.804, allocations: 1.429 MB / 0.8964 GB, free: 8.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002087/2.804, allocations: 39.98 kB / 0.8965 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006959/2.811, allocations: 5.062 MB / 0.9014 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/2.811, allocations: 3.938 kB / 0.9014 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004964/2.816, allocations: 2.611 MB / 0.904 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008501/2.817, allocations: 447.9 kB / 0.9044 GB, free: 68 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002227/2.817, allocations: 31.98 kB / 0.9044 GB, free: 36 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/2.818, allocations: 75.78 kB / 0.9045 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003087/2.819, allocations: 128 kB / 0.9046 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/2.819, allocations: 47.98 kB / 0.9047 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001215/2.82, allocations: 0.9416 MB / 0.9056 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.01e-07/2.82, allocations: 0 / 0.9056 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00565/2.826, allocations: 2.026 MB / 0.9076 GB, free: 12.82 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,11,28.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,43)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007815/2.833, allocations: 2.414 MB / 0.9099 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005834/2.839, allocations: 2.62 MB / 0.9125 GB, free: 8.156 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/2.839, allocations: 0 / 0.9125 GB, free: 8.156 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002844/2.842, allocations: 1.34 MB / 0.9138 GB, free: 6.824 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001736/2.844, allocations: 334.7 kB / 0.9141 GB, free: 6.492 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005181/2.849, allocations: 3.737 MB / 0.9178 GB, free: 2.727 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009322/2.85, allocations: 1.368 MB / 0.9191 GB, free: 1.332 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006569/2.851, allocations: 143.4 kB / 0.9192 GB, free: 1.191 MB / 0.7481 GB Notification: Performance of SimCode: time 1.302e-06/2.851, allocations: 0 / 0.9192 GB, free: 1.191 MB / 0.7481 GB Notification: Performance of Templates: time 0.07922/2.93, allocations: 57.99 MB / 0.9759 GB, free: 7.258 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchangerCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchangerCalcHelperMain.o] Error 1