Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.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.TestSplitRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev") translateModel(ThermoPower.Test.WaterComponents.TestSplitRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001043, allocations: 95.09 kB / 16.96 MB, free: 5.605 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.001345/0.001346, allocations: 184.6 kB / 17.85 MB, free: 5.277 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.947/1.947, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4181/0.4181, allocations: 48.77 MB / 321.1 MB, free: 11.21 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.0008015/0.0008015, allocations: 14.28 kB / 391.8 MB, free: 50.28 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1922, allocations: 60.27 MB / 452.1 MB, free: 9.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestSplitRev): time 0.4889/0.6811, allocations: 102.4 MB / 0.5414 GB, free: 11.19 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02453/0.7057, allocations: 11.09 MB / 0.5523 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001685/0.7075, allocations: 25.56 kB / 0.5523 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002342/0.7099, allocations: 453.6 kB / 0.5527 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003433/0.7133, allocations: 0.7196 MB / 0.5534 GB, free: 11.06 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02286/0.7362, allocations: 4.383 MB / 0.5577 GB, free: 10.94 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00486/0.7411, allocations: 2.325 MB / 0.56 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001403/0.7425, allocations: 0.5475 MB / 0.5605 GB, free: 10.56 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00183/0.7444, allocations: 0.6234 MB / 0.5611 GB, free: 10.42 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001315/0.7457, allocations: 0.6779 MB / 0.5618 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.7458, allocations: 48.84 kB / 0.5618 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01778/0.7636, allocations: 6.055 MB / 0.5677 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004411/0.7641, allocations: 147.4 kB / 0.5679 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008453/0.765, allocations: 204.9 kB / 0.5681 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008559/0.7735, allocations: 2.942 MB / 0.571 GB, free: 9.531 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.281e-05/0.7736, allocations: 6.875 kB / 0.571 GB, free: 9.531 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.7736, allocations: 4 kB / 0.571 GB, free: 9.527 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.7736, allocations: 0 / 0.571 GB, free: 9.527 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.006525/0.7802, allocations: 1.757 MB / 0.5727 GB, free: 8.391 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.7802, allocations: 12.55 kB / 0.5727 GB, free: 8.387 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003888/0.7806, allocations: 115.4 kB / 0.5728 GB, free: 8.336 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007439/0.7814, allocations: 0.4974 MB / 0.5733 GB, free: 7.984 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.474e-05/0.7814, allocations: 54.31 kB / 0.5733 GB, free: 7.984 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.787e-05/0.7815, allocations: 66.69 kB / 0.5734 GB, free: 7.984 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/0.7836, allocations: 1.02 MB / 0.5744 GB, free: 7.586 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.7837, allocations: 0 / 0.5744 GB, free: 7.586 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.785e-05/0.7837, allocations: 30.22 kB / 0.5744 GB, free: 7.586 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.7838, allocations: 16.53 kB / 0.5744 GB, free: 7.586 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002298/0.7861, allocations: 0.8853 MB / 0.5753 GB, free: 7.383 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004482/0.7906, allocations: 4.724 MB / 0.5799 GB, free: 3.398 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002216/0.7928, allocations: 0.8158 MB / 0.5807 GB, free: 3.164 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007956/0.7936, allocations: 335.6 kB / 0.581 GB, free: 3.082 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05949/0.8531, allocations: 32.29 MB / 0.6126 GB, free: 6.492 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001864/0.855, allocations: 0.5597 MB / 0.6131 GB, free: 6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 4.669e-06/0.8551, allocations: 0 / 0.6131 GB, free: 6 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.004051/0.8591, allocations: 1.21 MB / 0.6143 GB, free: 4.973 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.8593, allocations: 89.11 kB / 0.6144 GB, free: 4.867 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009309/0.8602, allocations: 0.5577 MB / 0.6149 GB, free: 4.434 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.152e-05/0.8603, allocations: 36.95 kB / 0.615 GB, free: 4.398 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004738/0.8608, allocations: 380.9 kB / 0.6153 GB, free: 4.152 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.861, allocations: 135.4 kB / 0.6155 GB, free: 4.039 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.861, allocations: 7.25 kB / 0.6155 GB, free: 4.039 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000257/0.8613, allocations: 377 kB / 0.6158 GB, free: 3.691 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008959/0.8622, allocations: 310.5 kB / 0.6161 GB, free: 3.445 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009886/0.8632, allocations: 413 kB / 0.6165 GB, free: 3.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.8642, allocations: 433.5 kB / 0.6169 GB, free: 2.691 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.8642, allocations: 0 / 0.6169 GB, free: 2.691 MB / 446.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002367/0.8666, allocations: 0.9453 MB / 0.6179 GB, free: 1.859 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003119/0.8669, allocations: 279.6 kB / 0.6181 GB, free: 1.535 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.867, allocations: 4 kB / 0.6181 GB, free: 1.531 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.096e-05/0.867, allocations: 4 kB / 0.6181 GB, free: 1.527 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007059/0.8677, allocations: 170.8 kB / 0.6183 GB, free: 1.367 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.786e-05/0.8678, allocations: 7.938 kB / 0.6183 GB, free: 1.359 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.8689, allocations: 170 kB / 0.6185 GB, free: 1.199 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.096e-05/0.8689, allocations: 27 kB / 0.6185 GB, free: 1.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.869, allocations: 4 kB / 0.6185 GB, free: 1.176 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002012/0.871, allocations: 0.8521 MB / 0.6193 GB, free: 452 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.871, allocations: 0 / 0.6193 GB, free: 452 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.536e-05/0.871, allocations: 8 kB / 0.6193 GB, free: 444 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005526/0.8716, allocations: 158 kB / 0.6195 GB, free: 292 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.8716, allocations: 10.73 kB / 0.6195 GB, free: 284 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009474/0.8726, allocations: 168.6 kB / 0.6197 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.287e-05/0.8726, allocations: 22.94 kB / 0.6197 GB, free: 108 kB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition4,$whenCondition3,$PRE.Sine3.T_start,Sine3.T_start,$PRE.Sine3.count,Sine3.count,$PRE.Sine4.T_start,Sine4.T_start,$PRE.Sine4.count,Sine4.count,$whenCondition2,$whenCondition1,$PRE.Sine1.T_start,Sine1.T_start,$PRE.Sine1.count,Sine1.count,$PRE.Sine2.T_start,Sine2.T_start,$PRE.Sine2.count,Sine2.count,T3.fluidState.phase,T2.fluidState.phase,T1.fluidState.phase,T6.fluidState.phase,T5.fluidState.phase,T4.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006303/0.8733, allocations: 278.3 kB / 0.6199 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.8734, allocations: 75.14 kB / 0.62 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003427/0.8769, allocations: 1.924 MB / 0.6219 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.188e-05/0.8769, allocations: 21.91 kB / 0.6219 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.8769, allocations: 0 / 0.6219 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.8769, allocations: 7.984 kB / 0.6219 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003426/0.8804, allocations: 2.03 MB / 0.6239 GB, free: 12.97 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/0.8804, allocations: 3.938 kB / 0.6239 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005582/0.881, allocations: 134.4 kB / 0.624 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-05/0.881, allocations: 4 kB / 0.624 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.379e-05/0.881, allocations: 15.23 kB / 0.6241 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.616e-06/0.881, allocations: 3.938 kB / 0.6241 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.8811, allocations: 0 / 0.6241 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002605/0.8837, allocations: 1.274 MB / 0.6253 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004447/0.8841, allocations: 218 kB / 0.6255 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.882e-05/0.8842, allocations: 14.36 kB / 0.6255 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007312/0.885, allocations: 141.6 kB / 0.6257 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002423/0.8852, allocations: 78 kB / 0.6257 GB, free: 11.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.799e-05/0.8853, allocations: 11.25 kB / 0.6257 GB, free: 11.39 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005214/0.8858, allocations: 398.7 kB / 0.6261 GB, free: 11.1 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8858, allocations: 3.938 kB / 0.6261 GB, free: 11.09 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006073/0.8919, allocations: 1.131 MB / 0.6272 GB, free: 10.01 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$whenCondition2,$whenCondition1,Sine1.T_start,Sine1.count,Sine2.T_start,Sine2.count,$cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$whenCondition4,$whenCondition3,Sine3.T_start,Sine3.count,Sine4.T_start,Sine4.count) * Number of discrete states: 4 (Sine3.count,Sine4.count,Sine2.count,Sine1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007142/0.8991, allocations: 0.9975 MB / 0.6282 GB, free: 9.105 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004408/0.9035, allocations: 1.687 MB / 0.6298 GB, free: 7.594 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/0.9035, allocations: 0 / 0.6298 GB, free: 7.594 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001506/0.9051, allocations: 0.5951 MB / 0.6304 GB, free: 7.195 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/0.9075, allocations: 363.9 kB / 0.6308 GB, free: 6.898 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005173/0.9127, allocations: 2.1 MB / 0.6328 GB, free: 4.98 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/0.9139, allocations: 1.015 MB / 0.6338 GB, free: 3.941 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003534/0.9143, allocations: 55 kB / 0.6339 GB, free: 3.891 MB / 462.1 MB Notification: Performance of SimCode: time 2.174e-06/0.9143, allocations: 2.844 kB / 0.6339 GB, free: 3.891 MB / 462.1 MB Notification: Performance of Templates: time 0.07107/0.9854, allocations: 25.23 MB / 0.6585 GB, free: 10.81 MB / 494.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoPower_ThermoPower.Test.WaterComponents.TestSplitRevCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.WaterComponents.TestSplitRevCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.WaterComponents.TestSplitRevCalcHelperMain.o] Error 1