Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008544/0.0008544, allocations: 88.81 kB / 17.58 MB, free: 5.805 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.0008986/0.0008987, allocations: 180.3 kB / 18.48 MB, free: 5.254 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.699/1.699, allocations: 205.4 MB / 224.6 MB, free: 13.14 MB / 190.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.0004661/0.0004661, allocations: 8 kB / 281.4 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1126, allocations: 47.58 MB / 329 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.03276/0.1454, allocations: 30.12 MB / 359.1 MB, free: 5.852 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01801/0.1635, allocations: 14.62 MB / 373.7 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004843/0.164, allocations: 7.875 kB / 373.7 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008282/0.1649, allocations: 218.8 kB / 374 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000823/0.1657, allocations: 334.2 kB / 374.3 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01577/0.1815, allocations: 4.445 MB / 378.7 MB, free: 2.184 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001751/0.1832, allocations: 1.208 MB / 379.9 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002607/0.1835, allocations: 84.86 kB / 380 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2624/0.446, allocations: 3.307 MB / 383.3 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000615/0.4467, allocations: 300.2 kB / 383.6 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.706e-05/0.4467, allocations: 18.62 kB / 383.6 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01531/0.4621, allocations: 5.801 MB / 389.4 MB, free: 14.47 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002667/0.4624, allocations: 88.94 kB / 389.5 MB, free: 14.47 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002903/0.4627, allocations: 105.4 kB / 389.6 MB, free: 14.44 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007046/0.4697, allocations: 2.577 MB / 392.2 MB, free: 14.4 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4698, allocations: 4 kB / 392.2 MB, free: 14.4 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.4698, allocations: 0 / 392.2 MB, free: 14.4 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.901e-05/0.4698, allocations: 1.219 kB / 392.2 MB, free: 14.4 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.004378/0.4742, allocations: 0.9492 MB / 393.2 MB, free: 13.81 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.031e-05/0.4743, allocations: 13.19 kB / 393.2 MB, free: 13.81 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/0.4757, allocations: 153.6 kB / 393.3 MB, free: 13.79 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004547/0.4761, allocations: 307.6 kB / 393.6 MB, free: 13.58 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.469e-05/0.4762, allocations: 34.16 kB / 393.7 MB, free: 13.58 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.743e-05/0.4763, allocations: 29.44 kB / 393.7 MB, free: 13.58 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.4777, allocations: 0.5675 MB / 394.3 MB, free: 13.46 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.4778, allocations: 1.5 kB / 394.3 MB, free: 13.46 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.471e-05/0.4778, allocations: 16.86 kB / 394.3 MB, free: 13.46 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.4779, allocations: 8.406 kB / 394.3 MB, free: 13.46 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.4792, allocations: 0.5366 MB / 394.8 MB, free: 13.45 MB / 318.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.00278/0.482, allocations: 2.629 MB / 397.4 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.4834, allocations: 487.4 kB / 397.9 MB, free: 11.44 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003766/0.4838, allocations: 173.2 kB / 398.1 MB, free: 11.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006896/0.4845, allocations: 0.5636 MB / 398.7 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.4845, allocations: 37.23 kB / 398.7 MB, free: 10.91 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 2.104e-06/0.4845, allocations: 0 / 398.7 MB, free: 10.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.004529/0.489, allocations: 1.598 MB / 400.3 MB, free: 10.46 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.4891, allocations: 58.47 kB / 400.3 MB, free: 10.39 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/0.4894, allocations: 245.1 kB / 400.6 MB, free: 10.29 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.4894, allocations: 34.2 kB / 400.6 MB, free: 10.26 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.4895, allocations: 188.3 kB / 400.8 MB, free: 10.13 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.285e-05/0.4896, allocations: 112.1 kB / 400.9 MB, free: 10.06 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.905e-05/0.4896, allocations: 9.375 kB / 400.9 MB, free: 10.06 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.152e-05/0.4897, allocations: 340.2 kB / 401.3 MB, free: 9.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003292/0.4901, allocations: 151.4 kB / 401.4 MB, free: 9.746 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003642/0.4904, allocations: 243.1 kB / 401.6 MB, free: 9.637 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003748/0.4908, allocations: 185.7 kB / 401.8 MB, free: 9.621 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4908, allocations: 0 / 401.8 MB, free: 9.621 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001125/0.492, allocations: 0.5283 MB / 402.4 MB, free: 9.539 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.492, allocations: 7.812 kB / 402.4 MB, free: 9.539 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.492, allocations: 10.84 kB / 402.4 MB, free: 9.535 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004652/0.4925, allocations: 115.3 kB / 402.5 MB, free: 9.508 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/0.4929, allocations: 98.27 kB / 402.6 MB, free: 9.504 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001664/0.4945, allocations: 2.416 MB / 405 MB, free: 7.215 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003843/0.4949, allocations: 56.19 kB / 405 MB, free: 7.203 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/0.495, allocations: 22.06 kB / 405.1 MB, free: 7.203 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000191/0.4952, allocations: 156.7 kB / 405.2 MB, free: 7.09 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.973e-05/0.4953, allocations: 32.41 kB / 405.3 MB, free: 7.074 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/0.4971, allocations: 1.376 MB / 406.6 MB, free: 6.898 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/0.4971, allocations: 17.2 kB / 406.6 MB, free: 6.898 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.4971, allocations: 0 / 406.6 MB, free: 6.898 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001461/0.4986, allocations: 1.465 MB / 408.1 MB, free: 6.352 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002347/0.5009, allocations: 2.136 MB / 410.2 MB, free: 5.637 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.501, allocations: 0 / 410.2 MB, free: 5.637 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003612/0.5013, allocations: 105.2 kB / 410.4 MB, free: 5.613 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003469/0.5017, allocations: 76.81 kB / 410.4 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.5017, allocations: 13.39 kB / 410.4 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002931/0.502, allocations: 0.5928 MB / 411 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.502, allocations: 0 / 411 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/0.5036, allocations: 1.309 MB / 412.3 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.5037, allocations: 162.1 kB / 412.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.854e-05/0.5038, allocations: 6.938 kB / 412.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002878/0.5041, allocations: 47.16 kB / 412.6 MB, free: 4.551 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.605e-05/0.5042, allocations: 40.88 kB / 412.6 MB, free: 4.535 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/0.5042, allocations: 12.84 kB / 412.6 MB, free: 4.535 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002153/0.5044, allocations: 236.3 kB / 412.8 MB, free: 4.422 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5044, allocations: 0 / 412.8 MB, free: 4.422 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.004152/0.5086, allocations: 0.8581 MB / 413.7 MB, free: 4.32 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * 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: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005693/0.5143, allocations: 0.9765 MB / 414.7 MB, free: 4.023 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001451/0.5158, allocations: 0.6656 MB / 415.3 MB, free: 3.824 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.5158, allocations: 0 / 415.3 MB, free: 3.824 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005861/0.5164, allocations: 433.1 kB / 415.8 MB, free: 3.684 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.5175, allocations: 199.7 kB / 416 MB, free: 3.527 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.5193, allocations: 1.581 MB / 417.5 MB, free: 2.113 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.5196, allocations: 0.8756 MB / 418.4 MB, free: 1.211 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.317e-05/0.5197, allocations: 35.44 kB / 418.4 MB, free: 1.176 MB / 318.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5197, allocations: 0 / 418.4 MB, free: 1.176 MB / 318.1 MB Notification: Performance of Templates: time 0.04217/0.5619, allocations: 24.5 MB / 442.9 MB, free: 8.852 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.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 OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_phCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_phCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_phCalcHelperMain.o] Error 1