Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_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.WaterIF97OnePhase_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.WaterIF97OnePhase_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_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.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009263/0.0009263, allocations: 91.28 kB / 17.58 MB, free: 5.801 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.001233/0.001233, allocations: 185 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.679/1.679, allocations: 205.4 MB / 224.6 MB, free: 13.15 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.0005215/0.0005216, allocations: 12 kB / 281.4 MB, free: 3.715 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1129, allocations: 47.58 MB / 329 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.0323/0.1453, allocations: 30.12 MB / 359.1 MB, free: 5.855 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01829/0.1636, allocations: 14.63 MB / 373.7 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004648/0.1641, allocations: 4 kB / 373.7 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00079/0.1649, allocations: 210.8 kB / 374 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007353/0.1657, allocations: 338.2 kB / 374.3 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01498/0.1807, allocations: 4.453 MB / 378.7 MB, free: 2.184 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001748/0.1824, allocations: 1.215 MB / 380 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002251/0.1827, allocations: 80.92 kB / 380 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2585/0.4412, allocations: 3.311 MB / 383.3 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005367/0.4418, allocations: 291.1 kB / 383.6 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.197e-05/0.4418, allocations: 17.94 kB / 383.6 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0147/0.4565, allocations: 5.806 MB / 389.4 MB, free: 14.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000228/0.4568, allocations: 91.05 kB / 389.5 MB, free: 14.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002879/0.4571, allocations: 108.3 kB / 389.6 MB, free: 14.49 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00614/0.4633, allocations: 2.582 MB / 392.2 MB, free: 14.45 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.4633, allocations: 1.312 kB / 392.2 MB, free: 14.45 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4633, allocations: 0 / 392.2 MB, free: 14.45 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.4633, allocations: 0 / 392.2 MB, free: 14.45 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.002943/0.4662, allocations: 0.9135 MB / 393.1 MB, free: 13.88 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.4663, allocations: 9.75 kB / 393.2 MB, free: 13.88 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/0.4676, allocations: 160.8 kB / 393.3 MB, free: 13.86 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004284/0.468, allocations: 307.4 kB / 393.6 MB, free: 13.64 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.97e-05/0.4681, allocations: 22.28 kB / 393.6 MB, free: 13.64 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.521e-05/0.4682, allocations: 38.28 kB / 393.7 MB, free: 13.64 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.4694, allocations: 0.5229 MB / 394.2 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.4694, allocations: 0 / 394.2 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.454e-05/0.4695, allocations: 18.17 kB / 394.2 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.4695, allocations: 6.656 kB / 394.2 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005625/0.47, allocations: 328.5 kB / 394.5 MB, free: 13.52 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.002466/0.4725, allocations: 2.572 MB / 397.1 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005104/0.473, allocations: 272 kB / 397.4 MB, free: 11.53 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.4732, allocations: 109.3 kB / 397.5 MB, free: 11.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05614/0.5294, allocations: 31.2 MB / 428.7 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001028/0.5296, allocations: 37.81 kB / 428.7 MB, free: 1.039 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 5.76e-06/0.5296, allocations: 2.516 kB / 428.7 MB, free: 1.039 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.003715/0.5333, allocations: 1.22 MB / 429.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.5334, allocations: 59.41 kB / 430 MB, free: 15.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/0.5337, allocations: 263 kB / 430.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.5337, allocations: 32.83 kB / 430.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.5338, allocations: 190.1 kB / 430.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.858e-05/0.5339, allocations: 106.1 kB / 430.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.644e-05/0.534, allocations: 10 kB / 430.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.5341, allocations: 332.1 kB / 430.9 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.5343, allocations: 96.2 kB / 431 MB, free: 15.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.5345, allocations: 214 kB / 431.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.5347, allocations: 134.2 kB / 431.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5347, allocations: 0 / 431.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007652/0.5355, allocations: 412.9 kB / 431.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.5355, allocations: 11.95 kB / 431.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.5356, allocations: 4 kB / 431.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002615/0.5358, allocations: 67.28 kB / 431.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003553/0.5362, allocations: 86.8 kB / 431.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/0.5381, allocations: 2.428 MB / 434.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.5383, allocations: 31.58 kB / 434.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/0.5384, allocations: 18.38 kB / 434.4 MB, free: 11.76 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001956/0.5386, allocations: 166 kB / 434.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.493e-05/0.5386, allocations: 27.72 kB / 434.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.5398, allocations: 0.8744 MB / 435.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.5398, allocations: 7.984 kB / 435.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.5398, allocations: 6.797 kB / 435.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001028/0.5408, allocations: 1.044 MB / 436.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/0.5426, allocations: 1.488 MB / 438 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.5426, allocations: 0 / 438 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.5428, allocations: 54.38 kB / 438.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003206/0.5431, allocations: 80.77 kB / 438.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.5432, allocations: 8.312 kB / 438.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004044/0.5436, allocations: 0.5884 MB / 438.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5436, allocations: 2.906 kB / 438.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009415/0.5445, allocations: 0.8268 MB / 439.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.5447, allocations: 134.9 kB / 439.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.599e-05/0.5447, allocations: 11.88 kB / 439.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003165/0.5451, allocations: 43.09 kB / 439.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.5451, allocations: 19.97 kB / 439.8 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.129e-05/0.5452, allocations: 15.8 kB / 439.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002459/0.5454, allocations: 233.7 kB / 440 MB, free: 7.383 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5454, allocations: 0 / 440 MB, free: 7.383 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.005079/0.5505, allocations: 0.8581 MB / 440.9 MB, free: 6.562 MB / 350.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: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.005595/0.5561, allocations: 0.9708 MB / 441.8 MB, free: 5.688 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.5573, allocations: 473.5 kB / 442.3 MB, free: 5.332 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.5573, allocations: 0 / 442.3 MB, free: 5.332 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003637/0.5577, allocations: 253.4 kB / 442.5 MB, free: 5.188 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.5589, allocations: 186.6 kB / 442.7 MB, free: 5.043 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.5609, allocations: 1.226 MB / 444 MB, free: 3.926 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005696/0.5615, allocations: 0.8238 MB / 444.8 MB, free: 3.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.223e-05/0.5616, allocations: 31.44 kB / 444.8 MB, free: 3.051 MB / 350.1 MB Notification: Performance of SimCode: time 8.22e-07/0.5616, allocations: 4 kB / 444.8 MB, free: 3.047 MB / 350.1 MB Notification: Performance of Templates: time 0.04119/0.6028, allocations: 22.9 MB / 467.7 MB, free: 12.3 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_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.WaterIF97OnePhase_phCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_phCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_phCalcHelperMain.o] Error 1