Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ThermoPower.Test.WaterComponents.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoin") translateModel(ThermoPower.Test.WaterComponents.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006664/0.0006664, allocations: 92.73 kB / 17.31 MB, free: 6.535 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.0007136/0.0007136, allocations: 176 kB / 18.21 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.152/1.152, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2286/0.2286, allocations: 48.78 MB / 321.5 MB, free: 11.1 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004645/0.0004646, allocations: 14.25 kB / 392.5 MB, free: 50.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07832/0.0788, allocations: 60.27 MB / 452.7 MB, free: 9.168 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.265/0.3438, allocations: 106.7 MB / 0.5463 GB, free: 6.055 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01196/0.3559, allocations: 12.26 MB / 0.5583 GB, free: 5.871 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005622/0.3565, allocations: 26.03 kB / 0.5583 GB, free: 5.871 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.3575, allocations: 469.8 kB / 0.5588 GB, free: 5.871 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008502/0.3584, allocations: 0.6048 MB / 0.5593 GB, free: 5.859 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0129/0.3713, allocations: 4.613 MB / 0.5639 GB, free: 5.609 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002643/0.374, allocations: 2.561 MB / 0.5664 GB, free: 5.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009509/0.3749, allocations: 0.5309 MB / 0.5669 GB, free: 5.164 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.3761, allocations: 0.5625 MB / 0.5674 GB, free: 5.098 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.3773, allocations: 0.6313 MB / 0.568 GB, free: 5.062 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.3775, allocations: 42.22 kB / 0.5681 GB, free: 5.062 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01034/0.3878, allocations: 6.362 MB / 0.5743 GB, free: 4.781 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.388, allocations: 132.3 kB / 0.5744 GB, free: 4.758 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000546/0.3885, allocations: 429 kB / 0.5748 GB, free: 4.629 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003662/0.3922, allocations: 2.905 MB / 0.5777 GB, free: 3.348 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3922, allocations: 4 kB / 0.5777 GB, free: 3.344 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3922, allocations: 3.188 kB / 0.5777 GB, free: 3.344 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.172e-05/0.3923, allocations: 0 / 0.5777 GB, free: 3.344 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.003353/0.3956, allocations: 1.399 MB / 0.579 GB, free: 2.426 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.3957, allocations: 12.19 kB / 0.579 GB, free: 2.426 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002961/0.396, allocations: 114.3 kB / 0.5792 GB, free: 2.371 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004885/0.3965, allocations: 474.7 kB / 0.5796 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.098e-05/0.3965, allocations: 46.56 kB / 0.5797 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.268e-05/0.3966, allocations: 67.05 kB / 0.5797 GB, free: 2.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.398, allocations: 0.8184 MB / 0.5805 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.398, allocations: 7.938 kB / 0.5805 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.986e-05/0.3981, allocations: 26.5 kB / 0.5805 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.3981, allocations: 16 kB / 0.5806 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.3993, allocations: 0.6073 MB / 0.5812 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003163/0.4025, allocations: 4.401 MB / 0.5855 GB, free: 13.72 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/0.4037, allocations: 493.2 kB / 0.5859 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003382/0.404, allocations: 190.2 kB / 0.5861 GB, free: 13.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05701/0.4611, allocations: 32.3 MB / 0.6177 GB, free: 15.92 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.4611, allocations: 49.42 kB / 0.6177 GB, free: 15.86 MB / 462.1 MB Notification: Performance of pre-optimization done (n=32): time 2.044e-06/0.4611, allocations: 0 / 0.6177 GB, free: 15.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=32): time 0.002026/0.4632, allocations: 0.7195 MB / 0.6184 GB, free: 15.29 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.4632, allocations: 85.05 kB / 0.6185 GB, free: 15.19 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004376/0.4637, allocations: 471.5 kB / 0.6189 GB, free: 14.82 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.4637, allocations: 33.64 kB / 0.619 GB, free: 14.79 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.4639, allocations: 338.8 kB / 0.6193 GB, free: 14.56 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.357e-05/0.464, allocations: 114 kB / 0.6194 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.383e-05/0.464, allocations: 31.95 kB / 0.6194 GB, free: 14.43 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.4642, allocations: 365.6 kB / 0.6198 GB, free: 14.09 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003105/0.4645, allocations: 132.6 kB / 0.6199 GB, free: 14 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003365/0.4648, allocations: 213.8 kB / 0.6201 GB, free: 13.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006241/0.4655, allocations: 347.6 kB / 0.6204 GB, free: 13.53 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4655, allocations: 0 / 0.6204 GB, free: 13.53 MB / 462.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007929/0.4663, allocations: 451.2 kB / 0.6209 GB, free: 13.18 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.832e-05/0.4664, allocations: 156 kB / 0.621 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.4664, allocations: 4 kB / 0.621 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.4664, allocations: 4 kB / 0.621 GB, free: 12.99 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003854/0.4668, allocations: 91.75 kB / 0.6211 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.4668, allocations: 7.938 kB / 0.6211 GB, free: 12.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004386/0.4673, allocations: 94.47 kB / 0.6212 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.4673, allocations: 15.56 kB / 0.6212 GB, free: 12.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.112e-06/0.4673, allocations: 4 kB / 0.6212 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005072/0.4678, allocations: 299.1 kB / 0.6215 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.4678, allocations: 4 kB / 0.6215 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.09e-06/0.4678, allocations: 4 kB / 0.6215 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.4681, allocations: 87.89 kB / 0.6216 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.4681, allocations: 8 kB / 0.6216 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002926/0.4684, allocations: 87.36 kB / 0.6217 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.4685, allocations: 14.67 kB / 0.6217 GB, free: 12.39 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (T6.fluidState.phase,T5.fluidState.phase,T4.fluidState.phase,T3.fluidState.phase,T2.fluidState.phase,T1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002016/0.4687, allocations: 252.8 kB / 0.6219 GB, free: 12.17 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.384e-05/0.4688, allocations: 57.66 kB / 0.622 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001602/0.4704, allocations: 1.59 MB / 0.6236 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-05/0.4704, allocations: 21.59 kB / 0.6236 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.4704, allocations: 7.938 kB / 0.6236 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.4704, allocations: 3.984 kB / 0.6236 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008783/0.4713, allocations: 0.9806 MB / 0.6245 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.4713, allocations: 4 kB / 0.6246 GB, free: 10.33 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003086/0.4716, allocations: 71.14 kB / 0.6246 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.4717, allocations: 4 kB / 0.6246 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/0.4717, allocations: 7.938 kB / 0.6246 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4717, allocations: 0 / 0.6246 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4717, allocations: 3.938 kB / 0.6246 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.4728, allocations: 1.003 MB / 0.6256 GB, free: 9.488 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001731/0.473, allocations: 198.5 kB / 0.6258 GB, free: 9.293 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.335e-05/0.473, allocations: 3.938 kB / 0.6258 GB, free: 9.293 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003719/0.4734, allocations: 67.73 kB / 0.6259 GB, free: 9.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.606e-05/0.4735, allocations: 43.12 kB / 0.6259 GB, free: 9.199 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.4735, allocations: 11.98 kB / 0.6259 GB, free: 9.188 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002761/0.4738, allocations: 328.5 kB / 0.6262 GB, free: 8.906 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4738, allocations: 4 kB / 0.6262 GB, free: 8.902 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0024/0.4762, allocations: 1.053 MB / 0.6273 GB, free: 7.848 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002779/0.479, allocations: 1 MB / 0.6282 GB, free: 6.918 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.4801, allocations: 0.6726 MB / 0.6289 GB, free: 6.246 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.4801, allocations: 8 kB / 0.6289 GB, free: 6.238 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005367/0.4807, allocations: 424.9 kB / 0.6293 GB, free: 5.824 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.4823, allocations: 302.4 kB / 0.6296 GB, free: 5.531 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002547/0.4849, allocations: 2.058 MB / 0.6316 GB, free: 3.434 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.4853, allocations: 0.979 MB / 0.6326 GB, free: 2.43 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.4855, allocations: 47.44 kB / 0.6326 GB, free: 2.383 MB / 462.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4855, allocations: 0 / 0.6326 GB, free: 2.383 MB / 462.1 MB Notification: Performance of Templates: time 0.02688/0.5124, allocations: 23.06 MB / 0.6551 GB, free: 11.32 MB / 494.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.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 OMCppThermoPower_ThermoPower.Test.WaterComponents.TestJoinCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.WaterComponents.TestJoinCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.WaterComponents.TestJoinCalcHelperMain.o] Error 1