Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases.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.TestSimpleEvaporatorWaterSteamFlueGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8257/0.8257, allocations: 150.8 MB / 166.6 MB, free: 14.55 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002968/0.0002968, allocations: 19.98 kB / 204.7 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2013, allocations: 31.33 MB / 236 MB, free: 5.445 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.TestSimpleEvaporatorWaterSteamFlueGases): time 1.786/1.987, allocations: 294.2 MB / 0.5178 GB, free: 12.28 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6323/2.619, allocations: 192.5 MB / 0.7058 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005523/2.62, allocations: 15.03 kB / 0.7058 GB, free: 3.727 MB / 0.5762 GB [/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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/SimpleEvaporatorWaterSteamFlueGases.mo:47:3-48:73:writable] Warning: Connector Cws2 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/SimpleEvaporatorWaterSteamFlueGases.mo:49:3-50:75:writable] Warning: Connector Cws1 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/SimpleEvaporatorWaterSteamFlueGases.mo:51:3-52:73:writable] Warning: Connector Cfg1 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/SimpleEvaporatorWaterSteamFlueGases.mo:53:3-54:75:writable] Warning: Connector Cfg2 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.0006232/2.62, allocations: 145.6 kB / 0.7059 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005862/2.621, allocations: 233.2 kB / 0.7062 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03355/2.655, allocations: 9.295 MB / 0.7152 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001277/2.656, allocations: 0.8293 MB / 0.716 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004551/2.656, allocations: 385.9 kB / 0.7164 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000378/2.657, allocations: 327.7 kB / 0.7167 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003958/2.657, allocations: 343.8 kB / 0.7171 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.089e-05/2.657, allocations: 46.69 kB / 0.7171 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04323/2.701, allocations: 21.1 MB / 0.7377 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003321/2.701, allocations: 145.1 kB / 0.7378 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007161/2.702, allocations: 388.2 kB / 0.7382 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01659/2.718, allocations: 7.48 MB / 0.7455 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/2.718, allocations: 2.906 kB / 0.7455 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.864e-06/2.718, allocations: 0 / 0.7455 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.01e-05/2.718, allocations: 0 / 0.7455 GB, free: 0.6445 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.007201/2.725, allocations: 2.212 MB / 0.7477 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/2.726, allocations: 11.45 kB / 0.7477 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/2.726, allocations: 90.81 kB / 0.7478 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005161/2.726, allocations: 427.1 kB / 0.7482 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.071e-05/2.726, allocations: 50.25 kB / 0.7482 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.299e-05/2.726, allocations: 68.22 kB / 0.7483 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/2.727, allocations: 0.764 MB / 0.749 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/2.727, allocations: 0 / 0.749 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.653e-05/2.728, allocations: 33 kB / 0.7491 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.589e-05/2.728, allocations: 26.2 kB / 0.7491 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007012/2.728, allocations: 0.492 MB / 0.7496 GB, free: 14.59 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.07112/2.799, allocations: 33.92 MB / 0.7827 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004359/2.8, allocations: 198.2 kB / 0.7829 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/2.8, allocations: 124.6 kB / 0.783 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6196/3.42, allocations: 221 MB / 0.9988 GB, free: 461 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/3.42, allocations: 35 kB / 0.9989 GB, free: 460.9 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=54): time 2.154e-06/3.42, allocations: 1 kB / 0.9989 GB, free: 460.9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=54): time 0.001419/3.421, allocations: 0.6168 MB / 0.9995 GB, free: 460.8 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/3.421, allocations: 52.34 kB / 0.9995 GB, free: 460.7 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005625/3.422, allocations: 493.4 kB / 1 GB, free: 460.6 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/3.422, allocations: 27.11 kB / 1 GB, free: 460.6 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/3.422, allocations: 365 kB / 1 GB, free: 460.5 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.735e-05/3.422, allocations: 186.5 kB / 1.001 GB, free: 460.3 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/3.422, allocations: 115.9 kB / 1.001 GB, free: 460.3 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.943e-05/3.422, allocations: 368.2 kB / 1.001 GB, free: 460 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/3.423, allocations: 116.6 kB / 1.001 GB, free: 460 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/3.423, allocations: 304.5 kB / 1.001 GB, free: 459.8 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004738/3.423, allocations: 478.9 kB / 1.002 GB, free: 459.6 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/3.423, allocations: 0.7188 kB / 1.002 GB, free: 459.6 MB / 0.8262 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008084/3.424, allocations: 0.5847 MB / 1.002 GB, free: 459.5 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/3.424, allocations: 5.656 kB / 1.002 GB, free: 459.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/3.424, allocations: 9.531 kB / 1.002 GB, free: 459.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004726/3.425, allocations: 352.5 kB / 1.003 GB, free: 459.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/3.425, allocations: 77.33 kB / 1.003 GB, free: 459.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004791/3.425, allocations: 0.7063 MB / 1.004 GB, free: 459 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000294/3.426, allocations: 74.94 kB / 1.004 GB, free: 458.9 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/3.426, allocations: 26.75 kB / 1.004 GB, free: 458.9 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 8 (Source_Fumees.C.ftype,source_Eau.C.ftype,puits_Eau.fluid,EchangeurEfficacite.fluid_ws,EchangeurEfficacite.fluid_fg,Puits_Fumees.fluid,Source_Fumees.fluid1,source_Eau.fluid1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002108/3.426, allocations: 192.8 kB / 1.004 GB, free: 458.8 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.955e-05/3.426, allocations: 49.34 kB / 1.004 GB, free: 458.8 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007889/3.427, allocations: 0.6691 MB / 1.005 GB, free: 458.7 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005796/3.427, allocations: 492.3 kB / 1.005 GB, free: 458.6 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/3.427, allocations: 0.625 kB / 1.005 GB, free: 458.6 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/3.427, allocations: 2.391 kB / 1.005 GB, free: 458.6 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2001/3.627, allocations: 131.8 MB / 1.134 GB, free: 334.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.357e-05/3.628, allocations: 7.812 kB / 1.134 GB, free: 334.6 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000317/3.628, allocations: 71.78 kB / 1.134 GB, free: 334.6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005982/3.629, allocations: 364.5 kB / 1.134 GB, free: 334.3 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-05/3.629, allocations: 15.88 kB / 1.134 GB, free: 334.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007907/3.629, allocations: 0.72 MB / 1.135 GB, free: 333.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.331e-05/3.629, allocations: 8.062 kB / 1.135 GB, free: 333.6 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/3.631, allocations: 0.7132 MB / 1.136 GB, free: 333 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003108/3.631, allocations: 175.3 kB / 1.136 GB, free: 332.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/3.631, allocations: 19.44 kB / 1.136 GB, free: 332.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/3.631, allocations: 19.72 kB / 1.136 GB, free: 332.8 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.541e-05/3.632, allocations: 38.98 kB / 1.136 GB, free: 332.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/3.632, allocations: 15.81 kB / 1.136 GB, free: 332.8 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004364/3.632, allocations: 381.1 kB / 1.136 GB, free: 332.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.31e-07/3.632, allocations: 0 / 1.136 GB, free: 332.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.004949/3.637, allocations: 1.59 MB / 1.138 GB, free: 331.2 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007651/3.645, allocations: 2.452 MB / 1.14 GB, free: 329.2 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008116/3.645, allocations: 0.5792 MB / 1.141 GB, free: 328.8 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/3.645, allocations: 0 / 1.141 GB, free: 328.8 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002986/3.646, allocations: 269.5 kB / 1.141 GB, free: 328.6 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/3.647, allocations: 244.4 kB / 1.141 GB, free: 328.5 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/3.649, allocations: 1.643 MB / 1.143 GB, free: 326.9 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/3.649, allocations: 0.9576 MB / 1.144 GB, free: 325.9 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/3.649, allocations: 55.38 kB / 1.144 GB, free: 325.8 MB / 0.8262 GB Notification: Performance of SimCode: time 5.31e-07/3.649, allocations: 0 / 1.144 GB, free: 325.8 MB / 0.8262 GB Notification: Performance of Templates: time 0.04483/3.694, allocations: 36.57 MB / 1.18 GB, free: 290.3 MB / 0.8262 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases.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.TestSimpleEvaporatorWaterSteamFlueGasesCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGasesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGasesCalcHelperMain.o] Error 1