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.0006592/0.0006592, allocations: 93.47 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.0006916/0.0006916, allocations: 175.4 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.161/1.161, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2342/0.2342, allocations: 48.78 MB / 321.5 MB, free: 11.11 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.0004401/0.0004402, allocations: 17 kB / 392.5 MB, free: 50.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07453/0.07498, allocations: 60.26 MB / 452.7 MB, free: 9.188 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestSplitRev): time 0.2592/0.3342, allocations: 109.2 MB / 0.5488 GB, free: 6.469 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01221/0.3465, allocations: 12.4 MB / 0.5609 GB, free: 6.281 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007318/0.3472, allocations: 28.47 kB / 0.5609 GB, free: 6.277 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.3485, allocations: 490.4 kB / 0.5614 GB, free: 6.273 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001107/0.3496, allocations: 0.6451 MB / 0.562 GB, free: 6.254 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01294/0.3625, allocations: 4.662 MB / 0.5666 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002882/0.3654, allocations: 2.786 MB / 0.5693 GB, free: 5.465 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007827/0.3662, allocations: 0.579 MB / 0.5699 GB, free: 5.379 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008093/0.367, allocations: 0.6278 MB / 0.5705 GB, free: 5.312 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006033/0.3676, allocations: 0.7076 MB / 0.5712 GB, free: 5.273 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.833e-05/0.3677, allocations: 48.66 kB / 0.5712 GB, free: 5.273 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009845/0.3776, allocations: 6.378 MB / 0.5774 GB, free: 4.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001892/0.3778, allocations: 157.5 kB / 0.5776 GB, free: 4.609 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005127/0.3783, allocations: 483 kB / 0.578 GB, free: 4.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003874/0.3822, allocations: 2.987 MB / 0.581 GB, free: 3.082 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3822, allocations: 0 / 0.581 GB, free: 3.082 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3822, allocations: 3.5 kB / 0.581 GB, free: 3.082 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.3822, allocations: 0 / 0.581 GB, free: 3.082 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.003786/0.386, allocations: 1.749 MB / 0.5827 GB, free: 1.926 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.3861, allocations: 12.11 kB / 0.5827 GB, free: 1.922 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000278/0.3864, allocations: 116.5 kB / 0.5828 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004752/0.3868, allocations: 0.5194 MB / 0.5833 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/0.3869, allocations: 59.3 kB / 0.5834 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.684e-05/0.387, allocations: 67.47 kB / 0.5834 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/0.3888, allocations: 1.027 MB / 0.5844 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.3889, allocations: 3.938 kB / 0.5844 GB, free: 1.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.792e-05/0.3889, allocations: 33.16 kB / 0.5845 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.389, allocations: 16.25 kB / 0.5845 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/0.3912, allocations: 0.8857 MB / 0.5853 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003849/0.395, allocations: 4.723 MB / 0.5899 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002241/0.3973, allocations: 0.8103 MB / 0.5907 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008671/0.3982, allocations: 342.3 kB / 0.5911 GB, free: 12.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05746/0.4556, allocations: 32.3 MB / 0.6226 GB, free: 13.34 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001575/0.4572, allocations: 0.5534 MB / 0.6231 GB, free: 12.86 MB / 462.1 MB Notification: Performance of pre-optimization done (n=42): time 2.014e-06/0.4572, allocations: 0 / 0.6231 GB, free: 12.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=42): time 0.003653/0.4609, allocations: 1.213 MB / 0.6243 GB, free: 11.82 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.461, allocations: 89.09 kB / 0.6244 GB, free: 11.72 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005263/0.4615, allocations: 0.5569 MB / 0.625 GB, free: 11.28 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.694e-05/0.4616, allocations: 42.77 kB / 0.625 GB, free: 11.24 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/0.4618, allocations: 377.3 kB / 0.6254 GB, free: 10.99 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.4619, allocations: 140.8 kB / 0.6255 GB, free: 10.88 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.958e-05/0.462, allocations: 47.27 kB / 0.6255 GB, free: 10.84 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.4621, allocations: 382.5 kB / 0.6259 GB, free: 10.48 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008935/0.463, allocations: 310.2 kB / 0.6262 GB, free: 10.23 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009372/0.464, allocations: 412.8 kB / 0.6266 GB, free: 9.863 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001762/0.4657, allocations: 0.7725 MB / 0.6273 GB, free: 9.152 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.4657, allocations: 0 / 0.6273 GB, free: 9.152 MB / 462.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002111/0.4679, allocations: 0.9503 MB / 0.6283 GB, free: 8.234 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001328/0.468, allocations: 277.5 kB / 0.6285 GB, free: 7.898 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.468, allocations: 8 kB / 0.6286 GB, free: 7.891 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.468, allocations: 4 kB / 0.6286 GB, free: 7.887 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006373/0.4687, allocations: 163.8 kB / 0.6287 GB, free: 7.727 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.4687, allocations: 7.938 kB / 0.6287 GB, free: 7.719 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008352/0.4695, allocations: 175.3 kB / 0.6289 GB, free: 7.547 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.249e-05/0.4696, allocations: 20 kB / 0.6289 GB, free: 7.527 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.875e-06/0.4696, allocations: 7.984 kB / 0.6289 GB, free: 7.52 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001919/0.4715, allocations: 0.8611 MB / 0.6298 GB, free: 6.633 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4716, allocations: 4 kB / 0.6298 GB, free: 6.629 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.361e-06/0.4716, allocations: 7.984 kB / 0.6298 GB, free: 6.621 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005593/0.4721, allocations: 156.1 kB / 0.6299 GB, free: 6.469 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.4721, allocations: 8 kB / 0.6299 GB, free: 6.461 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007303/0.4729, allocations: 171.3 kB / 0.6301 GB, free: 6.293 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.4729, allocations: 24 kB / 0.6301 GB, free: 6.27 MB / 462.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 (Sine4.count,$PRE.Sine4.count,Sine4.T_start,$PRE.Sine4.T_start,Sine3.count,$PRE.Sine3.count,Sine3.T_start,$PRE.Sine3.T_start,$whenCondition3,$whenCondition4,Sine2.count,$PRE.Sine2.count,Sine2.T_start,$PRE.Sine2.T_start,Sine1.count,$PRE.Sine1.count,Sine1.T_start,$PRE.Sine1.T_start,$whenCondition1,$whenCondition2,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002928/0.4732, allocations: 279.1 kB / 0.6304 GB, free: 5.988 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.568e-05/0.4733, allocations: 71.09 kB / 0.6304 GB, free: 5.918 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002905/0.4762, allocations: 1.93 MB / 0.6323 GB, free: 3.973 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.266e-05/0.4763, allocations: 31.95 kB / 0.6324 GB, free: 3.941 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4763, allocations: 0 / 0.6324 GB, free: 3.941 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.4763, allocations: 0 / 0.6324 GB, free: 3.941 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002524/0.4788, allocations: 2.044 MB / 0.6344 GB, free: 1.852 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.4788, allocations: 2.438 kB / 0.6344 GB, free: 1.852 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005644/0.4794, allocations: 135.8 kB / 0.6345 GB, free: 1.719 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.4794, allocations: 4 kB / 0.6345 GB, free: 1.715 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/0.4795, allocations: 8 kB / 0.6345 GB, free: 1.707 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.4795, allocations: 4 kB / 0.6345 GB, free: 1.703 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4795, allocations: 3.938 kB / 0.6345 GB, free: 1.699 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002275/0.4817, allocations: 1.282 MB / 0.6358 GB, free: 404 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002309/0.482, allocations: 215.6 kB / 0.636 GB, free: 168 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.063e-05/0.4821, allocations: 15.98 kB / 0.636 GB, free: 152 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000714/0.4828, allocations: 135.7 kB / 0.6361 GB, free: 16 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/0.483, allocations: 87.77 kB / 0.6362 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/0.483, allocations: 12 kB / 0.6362 GB, free: 15.92 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000378/0.4834, allocations: 403.1 kB / 0.6366 GB, free: 15.53 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4834, allocations: 3.938 kB / 0.6366 GB, free: 15.52 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002646/0.4861, allocations: 1.128 MB / 0.6377 GB, free: 14.39 MB / 478.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 (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.002897/0.489, allocations: 0.9903 MB / 0.6387 GB, free: 13.47 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00325/0.4922, allocations: 1.675 MB / 0.6403 GB, free: 11.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4923, allocations: 0 / 0.6403 GB, free: 11.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001148/0.4934, allocations: 0.6054 MB / 0.6409 GB, free: 11.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/0.4953, allocations: 354.9 kB / 0.6412 GB, free: 10.75 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002666/0.498, allocations: 2.196 MB / 0.6434 GB, free: 8.516 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004683/0.4984, allocations: 1.011 MB / 0.6444 GB, free: 7.477 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.4986, allocations: 55.44 kB / 0.6444 GB, free: 7.422 MB / 478.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4987, allocations: 0 / 0.6444 GB, free: 7.422 MB / 478.1 MB Notification: Performance of Templates: time 0.03088/0.5295, allocations: 25.2 MB / 0.669 GB, free: 14.18 MB / 0.4981 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.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.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