Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo", uses=false) Using package ThermalSeparation with version 0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermalSeparation.Examples.Testing.Pump.PumpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem") translateModel(ThermalSeparation.Examples.Testing.Pump.PumpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009755/0.0009756, allocations: 99.8 kB / 16.52 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 192.9 kB / 17.44 MB, free: 5.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.253/1.253, allocations: 222.9 MB / 241.1 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.3448/0.3448, allocations: 64.93 MB / 356.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 59.31 kB / 430.5 MB, free: 5.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1121, allocations: 63.53 MB / 494 MB, free: 6.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.007668/0.1198, allocations: 7.434 MB / 0.4897 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005393/0.1252, allocations: 4.357 MB / 0.4939 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.1262, allocations: 7.938 kB / 0.4939 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.1276, allocations: 0.5131 MB / 0.4944 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.1289, allocations: 0.668 MB / 0.4951 GB, free: 9.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008581/0.1298, allocations: 495.5 kB / 0.4956 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002568/0.1324, allocations: 3.176 MB / 0.4987 GB, free: 5.512 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006632/0.133, allocations: 0.6055 MB / 0.4993 GB, free: 4.891 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000733/0.1338, allocations: 0.7162 MB / 0.5 GB, free: 4.172 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001278/0.1351, allocations: 1.02 MB / 0.501 GB, free: 3.148 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001725/0.1353, allocations: 84 kB / 0.501 GB, free: 3.066 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002628/0.1355, allocations: 76 kB / 0.5011 GB, free: 2.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006131/0.1362, allocations: 0.6854 MB / 0.5018 GB, free: 2.305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009433/0.1371, allocations: 0.9445 MB / 0.5027 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.206/0.3431, allocations: 2.45 MB / 0.5051 GB, free: 15.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/0.3431, allocations: 0 / 0.5051 GB, free: 15.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3432, allocations: 0.9062 kB / 0.5051 GB, free: 15.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.358e-05/0.3433, allocations: 0 / 0.5051 GB, free: 15.27 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 546 * Number of variables: 546 Notification: Performance of Generate backend data structure: time 0.004463/0.3477, allocations: 2.156 MB / 0.5072 GB, free: 14.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.3478, allocations: 13.56 kB / 0.5072 GB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003568/0.3481, allocations: 195.5 kB / 0.5074 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.3492, allocations: 0.7468 MB / 0.5081 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.859e-05/0.3493, allocations: 151.1 kB / 0.5083 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006902/0.35, allocations: 272.8 kB / 0.5085 GB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003848/0.3538, allocations: 2.731 MB / 0.5112 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/0.3539, allocations: 5.844 kB / 0.5112 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001779/0.3541, allocations: 92.83 kB / 0.5113 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001566/0.3542, allocations: 149.6 kB / 0.5114 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003749/0.358, allocations: 2.174 MB / 0.5136 GB, free: 13.46 MB / 382.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.01142/0.3694, allocations: 10.81 MB / 0.5241 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/0.3714, allocations: 2.782 MB / 0.5268 GB, free: 3.043 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009525/0.3724, allocations: 0.6491 MB / 0.5275 GB, free: 2.758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.262e-05/0.3725, allocations: 24.06 kB / 0.5275 GB, free: 2.754 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.3725, allocations: 58.22 kB / 0.5275 GB, free: 2.695 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 2.845e-06/0.3725, allocations: 0 / 0.5275 GB, free: 2.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=140): time 0.01856/0.3911, allocations: 7.597 MB / 0.535 GB, free: 14.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004905/0.396, allocations: 3.883 MB / 0.5388 GB, free: 11.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/0.3977, allocations: 1.085 MB / 0.5398 GB, free: 10.64 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003132/0.398, allocations: 50.98 kB / 0.5399 GB, free: 10.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006052/0.3986, allocations: 0.9395 MB / 0.5408 GB, free: 9.754 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004632/0.3991, allocations: 0.4946 MB / 0.5413 GB, free: 9.328 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000619/0.3997, allocations: 437.1 kB / 0.5417 GB, free: 9.078 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.3999, allocations: 346.6 kB / 0.542 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001522/0.4014, allocations: 0.9148 MB / 0.5429 GB, free: 8.281 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002054/0.4035, allocations: 1.882 MB / 0.5447 GB, free: 6.516 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003404/0.4069, allocations: 2.958 MB / 0.5476 GB, free: 4.246 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.298e-05/0.4069, allocations: 7.875 kB / 0.5476 GB, free: 4.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.00816/0.4151, allocations: 3.701 MB / 0.5513 GB, free: 1.613 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.153e-05/0.4151, allocations: 20 kB / 0.5513 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.906e-05/0.4152, allocations: 32 kB / 0.5513 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00434/0.4195, allocations: 0.9744 MB / 0.5523 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002669/0.4222, allocations: 0.5653 MB / 0.5528 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/0.4328, allocations: 6.24 MB / 0.5589 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002677/0.4355, allocations: 227.5 kB / 0.5591 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002201/0.4357, allocations: 124 kB / 0.5592 GB, free: 9.312 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 5 (tank.mediumLiquidIn.state.phase,tank.mediumLiquid.state.phase,sourceLiquid.medium.state.phase,idealPumpControlledVdot.mediumLiquidIn.state.phase,idealPumpControlledVdot.mediumLiquid.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 264 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(9,14,63.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001013/0.4368, allocations: 0.5665 MB / 0.5598 GB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003107/0.4371, allocations: 132.5 kB / 0.5599 GB, free: 8.648 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007627/0.4447, allocations: 2.86 MB / 0.5627 GB, free: 5.785 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006814/0.4515, allocations: 2.484 MB / 0.5651 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.01e-05/0.4516, allocations: 8 kB / 0.5651 GB, free: 3.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.933e-05/0.4517, allocations: 8.156 kB / 0.5651 GB, free: 3.262 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01554/0.4672, allocations: 6.084 MB / 0.5711 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.393e-05/0.4673, allocations: 4 kB / 0.5711 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001862/0.4692, allocations: 290.5 kB / 0.5714 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005287/0.4745, allocations: 1.191 MB / 0.5725 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002066/0.4747, allocations: 39.98 kB / 0.5726 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009111/0.4838, allocations: 5.981 MB / 0.5784 GB, free: 5.344 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005015/0.4889, allocations: 3.753 MB / 0.5821 GB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009572/0.4985, allocations: 4.343 MB / 0.5863 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006232/0.4991, allocations: 211.4 kB / 0.5865 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004002/0.4995, allocations: 39.94 kB / 0.5866 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001749/0.5013, allocations: 135.7 kB / 0.5867 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003564/0.5017, allocations: 116.7 kB / 0.5868 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001286/0.5018, allocations: 47.97 kB / 0.5868 GB, free: 12.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001058/0.5029, allocations: 0.7079 MB / 0.5875 GB, free: 11.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5029, allocations: 0 / 0.5875 GB, free: 11.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002808/0.5057, allocations: 0.5742 MB / 0.5881 GB, free: 11.02 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 4 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],tank.level) * 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 (126): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,10,61.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (5,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002841/0.506, allocations: 143.3 kB / 0.5882 GB, free: 10.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006257/0.5122, allocations: 2.665 MB / 0.5908 GB, free: 8.191 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.5123, allocations: 4 kB / 0.5908 GB, free: 8.188 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003813/0.5161, allocations: 1.382 MB / 0.5922 GB, free: 6.793 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002847/0.519, allocations: 385.1 kB / 0.5926 GB, free: 6.426 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008286/0.5273, allocations: 4.763 MB / 0.5972 GB, free: 1.547 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001632/0.5289, allocations: 1.416 MB / 0.5986 GB, free: 104 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006951/0.5296, allocations: 131.4 kB / 0.5987 GB, free: 15.97 MB / 462.1 MB Notification: Performance of SimCode: time 1.283e-06/0.5296, allocations: 0 / 0.5987 GB, free: 15.97 MB / 462.1 MB Notification: Performance of Templates: time 0.05725/0.5869, allocations: 50.63 MB / 0.6482 GB, free: 13.33 MB / 0.4981 GB make -j1 -f ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.makefile make -j1 -f ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.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 OMCppThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystemCalcHelperMain.o OMCppThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystemCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystemCalcHelperMain.o] Error 1