Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8398/0.8398, allocations: 150.8 MB / 166.6 MB, free: 14.66 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003483, allocations: 15.97 kB / 204.7 MB, free: 10.12 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.213, 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.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases): time 1.736/1.949, allocations: 293.3 MB / 0.5169 GB, free: 13.17 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1954/2.145, allocations: 168.6 MB / 0.6816 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003229/2.145, allocations: 4 kB / 0.6816 GB, free: 4.234 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/Sink.mo:17:3-19:16:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/MultiFluids/HeatExchangers/SimpleEvaporatorWaterSteamFlueGases.mo:36:3-37:83:writable] Warning: Connector Cws2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/MultiFluids/HeatExchangers/SimpleEvaporatorWaterSteamFlueGases.mo:38:3-40:16:writable] Warning: Connector Cws1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/MultiFluids/HeatExchangers/SimpleEvaporatorWaterSteamFlueGases.mo:41:3-42:83:writable] Warning: Connector Cfg1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/MultiFluids/HeatExchangers/SimpleEvaporatorWaterSteamFlueGases.mo:43:3-45:16:writable] Warning: Connector Cfg2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourcePQ.mo:29:3-30:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/BoundaryConditions/SourcePQ.mo:18:3-19:83:writable] Warning: Connector C is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/BoundaryConditions/Sink.mo:15:3-17:16:writable] Warning: Connector C is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.000558/2.146, allocations: 120.3 kB / 0.6817 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003008/2.146, allocations: 131 kB / 0.6818 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01607/2.162, allocations: 4.663 MB / 0.6864 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007941/2.163, allocations: 0.5025 MB / 0.6868 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002985/2.163, allocations: 204.9 kB / 0.687 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002337/2.163, allocations: 203.1 kB / 0.6872 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/2.164, allocations: 203 kB / 0.6874 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.178e-05/2.164, allocations: 28 kB / 0.6875 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02427/2.188, allocations: 13.57 MB / 0.7007 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001311/2.188, allocations: 79.7 kB / 0.7008 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003553/2.188, allocations: 230.8 kB / 0.701 GB, free: 312 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.4152/2.604, allocations: 4.138 MB / 0.705 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/2.604, allocations: 0 / 0.705 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.014e-06/2.604, allocations: 0 / 0.705 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.175e-06/2.604, allocations: 0 / 0.705 GB, free: 15.89 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.006516/2.61, allocations: 1.223 MB / 0.7062 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.043e-05/2.61, allocations: 12.91 kB / 0.7063 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/2.61, allocations: 54.91 kB / 0.7063 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/2.611, allocations: 213 kB / 0.7065 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.876e-05/2.611, allocations: 34.69 kB / 0.7065 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.191e-05/2.611, allocations: 42.77 kB / 0.7066 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007495/2.611, allocations: 0.5237 MB / 0.7071 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/2.611, allocations: 5.25 kB / 0.7071 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.312e-05/2.612, allocations: 22.34 kB / 0.7071 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.932e-05/2.612, allocations: 16.19 kB / 0.7071 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00049/2.612, allocations: 333.2 kB / 0.7075 GB, free: 14.8 MB / 0.5762 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.002501/2.615, allocations: 2.628 MB / 0.71 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/2.615, allocations: 152.8 kB / 0.7102 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/2.615, allocations: 117.3 kB / 0.7103 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07872/2.694, allocations: 36.46 MB / 0.7459 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/2.694, allocations: 33.47 kB / 0.7459 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=50): time 2.044e-06/2.694, allocations: 0 / 0.7459 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=50): time 0.001364/2.695, allocations: 0.5607 MB / 0.7465 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/2.695, allocations: 57.16 kB / 0.7465 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004721/2.696, allocations: 389 kB / 0.7469 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/2.696, allocations: 25.7 kB / 0.7469 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/2.696, allocations: 203 kB / 0.7471 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.245e-05/2.696, allocations: 170.4 kB / 0.7473 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.467e-05/2.696, allocations: 72.27 kB / 0.7473 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000151/2.696, allocations: 354.5 kB / 0.7477 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/2.696, allocations: 91.06 kB / 0.7478 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/2.697, allocations: 175.7 kB / 0.7479 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003223/2.697, allocations: 303.7 kB / 0.7482 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/2.697, allocations: 3.094 kB / 0.7482 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006399/2.698, allocations: 432.9 kB / 0.7486 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/2.698, allocations: 12.11 kB / 0.7486 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/2.698, allocations: 3.406 kB / 0.7486 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000557/2.698, allocations: 384.1 kB / 0.749 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/2.698, allocations: 30.62 kB / 0.749 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001003/2.699, allocations: 1.319 MB / 0.7503 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002805/2.7, allocations: 54.47 kB / 0.7504 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/2.7, allocations: 11.59 kB / 0.7504 GB, free: 8.008 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (Puits_Fumees.C.a,Source_Fumees.C.b,source_Eau.C.b,EchangeurEfficacite.Cfg2.b,EchangeurEfficacite.Cfg1.a,EchangeurEfficacite.Cws1.a,EchangeurEfficacite.Cws2.b,puits_Eau.C.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002061/2.7, allocations: 162.4 kB / 0.7505 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.347e-05/2.7, allocations: 39.94 kB / 0.7506 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008819/2.701, allocations: 0.6769 MB / 0.7512 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005915/2.702, allocations: 0.507 MB / 0.7517 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/2.702, allocations: 5.094 kB / 0.7517 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/2.702, allocations: 2.812 kB / 0.7517 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/2.703, allocations: 1.339 MB / 0.7531 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/2.703, allocations: 0 / 0.7531 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/2.703, allocations: 63.67 kB / 0.7531 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004328/2.704, allocations: 398.5 kB / 0.7535 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/2.704, allocations: 5.688 kB / 0.7535 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009439/2.705, allocations: 1.325 MB / 0.7548 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/2.705, allocations: 0 / 0.7548 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008191/2.706, allocations: 0.6386 MB / 0.7554 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/2.706, allocations: 139.5 kB / 0.7556 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.807e-05/2.706, allocations: 7.188 kB / 0.7556 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/2.706, allocations: 11.62 kB / 0.7556 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.118e-05/2.706, allocations: 27.23 kB / 0.7556 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/2.706, allocations: 11.38 kB / 0.7556 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003436/2.707, allocations: 277 kB / 0.7559 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.324e-06/2.707, allocations: 3.188 kB / 0.7559 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00512/2.712, allocations: 0.8484 MB / 0.7567 GB, free: 5.641 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00644/2.718, allocations: 1.111 MB / 0.7578 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001162/2.719, allocations: 0.5141 MB / 0.7583 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/2.719, allocations: 0 / 0.7583 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004536/2.72, allocations: 287.5 kB / 0.7586 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/2.721, allocations: 192.8 kB / 0.7587 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/2.722, allocations: 1.141 MB / 0.7599 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005226/2.723, allocations: 0.8653 MB / 0.7607 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/2.723, allocations: 39.11 kB / 0.7607 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of SimCode: time 4.91e-07/2.723, allocations: 0 / 0.7607 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of Templates: time 0.0351/2.758, allocations: 24.44 MB / 0.7846 GB, free: 1.438 MB / 0.6075 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases.makefile make -j1 -f ThermoSysPro_ThermoSysPro.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGasesCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGasesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGasesCalcHelperMain.o] Error 1