Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier.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.TestMassFlowMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier") translateModel(ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8394/0.8394, allocations: 150.9 MB / 166.6 MB, free: 14.66 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003018/0.0003019, allocations: 11.98 kB / 204.6 MB, free: 10.14 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.1994, allocations: 31.33 MB / 236 MB, free: 5.469 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.TestMassFlowMultiplier): time 1.734/1.933, allocations: 293 MB / 0.5165 GB, free: 13.56 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04204/1.975, allocations: 33.48 MB / 0.5492 GB, free: 12.22 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002238/1.975, allocations: 4 kB / 0.5492 GB, free: 12.22 MB / 446.1 MB [/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/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/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 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/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 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/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 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/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 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/WaterSteam/Junctions/MassFlowMultiplier.mo:16:3-18:16:writable] Warning: Connector Ce 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/WaterSteam/Junctions/MassFlowMultiplier.mo:19:3-20:52:writable] Warning: Connector Cs is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004214/1.976, allocations: 84.52 kB / 0.5493 GB, free: 12.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002194/1.976, allocations: 103.2 kB / 0.5494 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02017/1.996, allocations: 6.265 MB / 0.5555 GB, free: 5.766 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006164/1.997, allocations: 413.9 kB / 0.5559 GB, free: 5.359 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002395/1.997, allocations: 163.8 kB / 0.5561 GB, free: 5.211 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/1.997, allocations: 159.3 kB / 0.5562 GB, free: 5.055 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/1.998, allocations: 151.2 kB / 0.5564 GB, free: 4.906 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/1.998, allocations: 27.94 kB / 0.5564 GB, free: 4.879 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02786/2.026, allocations: 14.88 MB / 0.571 GB, free: 5.977 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.529e-05/2.026, allocations: 51.78 kB / 0.571 GB, free: 5.926 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002727/2.026, allocations: 179 kB / 0.5712 GB, free: 5.75 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01021/2.036, allocations: 5.197 MB / 0.5762 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/2.036, allocations: 4 kB / 0.5763 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.223e-06/2.036, allocations: 0 / 0.5763 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/2.036, allocations: 0 / 0.5763 GB, free: 0.5352 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.004627/2.041, allocations: 1.4 MB / 0.5776 GB, free: 15.09 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/2.041, allocations: 12.03 kB / 0.5776 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/2.041, allocations: 43.38 kB / 0.5777 GB, free: 15.03 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/2.041, allocations: 254.3 kB / 0.5779 GB, free: 14.74 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.75e-05/2.041, allocations: 20.66 kB / 0.5779 GB, free: 14.72 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.185e-05/2.041, allocations: 36 kB / 0.578 GB, free: 14.68 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006216/2.042, allocations: 397.2 kB / 0.5783 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/2.042, allocations: 3.938 kB / 0.5784 GB, free: 14.26 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.285e-05/2.042, allocations: 20 kB / 0.5784 GB, free: 14.24 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/2.042, allocations: 12 kB / 0.5784 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003697/2.043, allocations: 224.1 kB / 0.5786 GB, free: 14.02 MB / 478.1 MB 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.002338/2.045, allocations: 2.428 MB / 0.581 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/2.045, allocations: 163.1 kB / 0.5811 GB, free: 11.14 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/2.045, allocations: 97.22 kB / 0.5812 GB, free: 11.04 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08127/2.127, allocations: 44.13 MB / 0.6243 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/2.127, allocations: 34.56 kB / 0.6243 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=39): time 3.196e-06/2.127, allocations: 0 / 0.6243 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39): time 0.001897/2.129, allocations: 0.7272 MB / 0.6251 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/2.129, allocations: 51.41 kB / 0.6251 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003316/2.129, allocations: 244.9 kB / 0.6253 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/2.129, allocations: 29.7 kB / 0.6254 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/2.129, allocations: 180.2 kB / 0.6255 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/2.129, allocations: 126 kB / 0.6257 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/2.129, allocations: 57.7 kB / 0.6257 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001573/2.13, allocations: 346.7 kB / 0.626 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/2.13, allocations: 60.42 kB / 0.6261 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/2.13, allocations: 139.4 kB / 0.6262 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003562/2.13, allocations: 248.4 kB / 0.6265 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/2.13, allocations: 4 kB / 0.6265 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007186/2.131, allocations: 380.4 kB / 0.6268 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/2.131, allocations: 7.938 kB / 0.6268 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/2.131, allocations: 4 kB / 0.6268 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007055/2.132, allocations: 249.7 kB / 0.6271 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.974e-05/2.132, allocations: 11.94 kB / 0.6271 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002381/2.134, allocations: 2.586 MB / 0.6296 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/2.135, allocations: 35.53 kB / 0.6297 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/2.135, allocations: 8 kB / 0.6297 GB, free: 3.484 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 (massFlowMultiplier.Cs.b,massFlowMultiplier.Ce.a,singularPressureLoss1.C2.b,singularPressureLoss1.C1.a,singularPressureLoss.C2.b,singularPressureLoss.C1.a,sink.C.a,sourcePQ.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001837/2.135, allocations: 147.4 kB / 0.6298 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.203e-05/2.135, allocations: 31.56 kB / 0.6298 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009227/2.136, allocations: 0.6649 MB / 0.6305 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006947/2.136, allocations: 0.4902 MB / 0.631 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/2.136, allocations: 3.938 kB / 0.631 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/2.136, allocations: 3.984 kB / 0.631 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/2.138, allocations: 1.257 MB / 0.6322 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/2.138, allocations: 0 / 0.6322 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/2.138, allocations: 43.92 kB / 0.6322 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005166/2.139, allocations: 279.7 kB / 0.6325 GB, free: 476 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/2.139, allocations: 11.94 kB / 0.6325 GB, free: 464 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002175/2.141, allocations: 2.616 MB / 0.6351 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/2.141, allocations: 0 / 0.6351 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008365/2.142, allocations: 0.61 MB / 0.6357 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/2.142, allocations: 140.5 kB / 0.6358 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/2.142, allocations: 8.062 kB / 0.6358 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/2.142, allocations: 15.92 kB / 0.6358 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/2.142, allocations: 23.97 kB / 0.6358 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/2.142, allocations: 12 kB / 0.6359 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001834/2.143, allocations: 176.5 kB / 0.636 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.31e-07/2.143, allocations: 0 / 0.636 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003325/2.146, allocations: 1.109 MB / 0.6371 GB, free: 11.52 MB / 0.5294 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 (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006145/2.152, allocations: 1.634 MB / 0.6387 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001151/2.153, allocations: 0.5641 MB / 0.6393 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/2.153, allocations: 0 / 0.6393 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006237/2.154, allocations: 352.6 kB / 0.6396 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009255/2.155, allocations: 162.4 kB / 0.6397 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/2.157, allocations: 1.012 MB / 0.6407 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005674/2.157, allocations: 0.8363 MB / 0.6416 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.714e-05/2.157, allocations: 27.44 kB / 0.6416 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of SimCode: time 5.81e-07/2.157, allocations: 4 kB / 0.6416 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of Templates: time 0.04378/2.201, allocations: 28.29 MB / 0.6692 GB, free: 10.52 MB / 0.5606 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier.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.TestMassFlowMultiplierCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplierCalcHelperMain.o] Error 1