Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007733/0.0007737, allocations: 87.44 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009126/0.0009128, allocations: 197.6 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.55/1.55, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2703/0.2703, allocations: 45.92 MB / 344.7 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004648/0.0004653, allocations: 11.98 kB / 418.7 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1755, allocations: 63.47 MB / 482.1 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03785/0.2134, allocations: 36.68 MB / 0.5067 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3243/0.5378, allocations: 18.86 MB / 0.5251 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001438/0.5393, allocations: 26.19 kB / 0.5251 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001389/0.5407, allocations: 371.9 kB / 0.5254 GB, free: 12.38 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01668/0.5574, allocations: 4.078 MB / 0.5294 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008754/0.5662, allocations: 2.031 MB / 0.5314 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004095/0.5703, allocations: 2.387 MB / 0.5337 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007912/0.5711, allocations: 418.9 kB / 0.5341 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01333/0.5845, allocations: 6.422 MB / 0.5404 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01289/0.5974, allocations: 9.116 MB / 0.5493 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002302/0.5977, allocations: 39.94 kB / 0.5494 GB, free: 3.551 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01773/0.6154, allocations: 6.95 MB / 0.5561 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006374/0.6161, allocations: 252.1 kB / 0.5564 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005212/0.6166, allocations: 189.3 kB / 0.5566 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008448/0.6251, allocations: 3.489 MB / 0.56 GB, free: 8.938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.6251, allocations: 0 / 0.56 GB, free: 8.938 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.6251, allocations: 0 / 0.56 GB, free: 8.938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.6251, allocations: 0 / 0.56 GB, free: 8.938 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.004697/0.6298, allocations: 1.498 MB / 0.5614 GB, free: 7.398 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.6299, allocations: 8.031 kB / 0.5614 GB, free: 7.391 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002104/0.632, allocations: 319.2 kB / 0.5617 GB, free: 7.082 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00094/0.633, allocations: 0.5396 MB / 0.5623 GB, free: 6.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.6331, allocations: 112.7 kB / 0.5624 GB, free: 6.395 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.6332, allocations: 59.95 kB / 0.5624 GB, free: 6.336 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/0.6356, allocations: 1.169 MB / 0.5636 GB, free: 5.086 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.6357, allocations: 11.94 kB / 0.5636 GB, free: 5.074 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.122e-05/0.6358, allocations: 24 kB / 0.5636 GB, free: 5.051 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.401e-05/0.6358, allocations: 41.3 kB / 0.5637 GB, free: 5.008 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/0.6375, allocations: 0.844 MB / 0.5645 GB, free: 4.16 MB / 398.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.006158/0.6437, allocations: 5.515 MB / 0.5699 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.645, allocations: 0.5682 MB / 0.5704 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000351/0.6453, allocations: 226.3 kB / 0.5706 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1175/0.7629, allocations: 51.75 MB / 0.6212 GB, free: 3.422 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.641e-05/0.763, allocations: 38.56 kB / 0.6212 GB, free: 3.375 MB / 462.1 MB Notification: Performance of pre-optimization done (n=42): time 2.074e-06/0.763, allocations: 0 / 0.6212 GB, free: 3.375 MB / 462.1 MB Notification: Performance of matching and sorting (n=46): time 0.005707/0.7687, allocations: 1.952 MB / 0.6231 GB, free: 1.367 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.16e-05/0.7688, allocations: 166.2 kB / 0.6233 GB, free: 1.168 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008167/0.7696, allocations: 0.6171 MB / 0.6239 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.074e-05/0.7697, allocations: 33.7 kB / 0.6239 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003209/0.77, allocations: 394.6 kB / 0.6243 GB, free: 124 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/0.7702, allocations: 173.5 kB / 0.6245 GB, free: 15.95 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.7703, allocations: 12 kB / 0.6245 GB, free: 15.94 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.7704, allocations: 382.8 kB / 0.6248 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003724/0.7708, allocations: 217.9 kB / 0.625 GB, free: 15.34 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006423/0.7715, allocations: 0.5679 MB / 0.6256 GB, free: 14.61 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005115/0.772, allocations: 332.5 kB / 0.6259 GB, free: 14.29 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.331e-06/0.772, allocations: 8 kB / 0.6259 GB, free: 14.28 MB / 478.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001436/0.7735, allocations: 0.8596 MB / 0.6268 GB, free: 13.41 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/0.7735, allocations: 12 kB / 0.6268 GB, free: 13.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.7735, allocations: 8 kB / 0.6268 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000364/0.7739, allocations: 72.59 kB / 0.6268 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.7751, allocations: 283.7 kB / 0.6271 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/0.7769, allocations: 1.972 MB / 0.629 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007286/0.7777, allocations: 63.97 kB / 0.6291 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.107e-05/0.7777, allocations: 36 kB / 0.6291 GB, free: 10.82 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (volume.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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: 1 * 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: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004832/0.7782, allocations: 277.4 kB / 0.6294 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.7784, allocations: 71.16 kB / 0.6295 GB, free: 10.47 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002691/0.7811, allocations: 2.228 MB / 0.6316 GB, free: 8.234 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.129e-05/0.7811, allocations: 27.95 kB / 0.6317 GB, free: 8.207 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.7811, allocations: 0 / 0.6317 GB, free: 8.207 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.7811, allocations: 8.016 kB / 0.6317 GB, free: 8.199 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003974/0.7851, allocations: 3.284 MB / 0.6349 GB, free: 4.859 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.7851, allocations: 4 kB / 0.6349 GB, free: 4.855 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009383/0.7861, allocations: 195.7 kB / 0.6351 GB, free: 4.664 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004176/0.7865, allocations: 88.78 kB / 0.6352 GB, free: 4.574 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.691e-05/0.7866, allocations: 15.98 kB / 0.6352 GB, free: 4.559 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001587/0.7882, allocations: 1.995 MB / 0.6371 GB, free: 2.398 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.7882, allocations: 4.062 kB / 0.6371 GB, free: 2.395 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002606/0.7908, allocations: 1.978 MB / 0.6391 GB, free: 396 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005054/0.7913, allocations: 283.2 kB / 0.6393 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.186e-05/0.7914, allocations: 19.95 kB / 0.6393 GB, free: 72 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005346/0.792, allocations: 59.92 kB / 0.6394 GB, free: 12 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.7921, allocations: 32.39 kB / 0.6394 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.114e-05/0.7922, allocations: 31.98 kB / 0.6395 GB, free: 15.95 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007017/0.7929, allocations: 0.499 MB / 0.64 GB, free: 15.45 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7929, allocations: 4 kB / 0.64 GB, free: 15.45 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003941/0.7968, allocations: 1.089 MB / 0.641 GB, free: 14.36 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005492/0.8023, allocations: 1.226 MB / 0.6422 GB, free: 13.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002074/0.8044, allocations: 0.9199 MB / 0.6431 GB, free: 12.31 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.8044, allocations: 0 / 0.6431 GB, free: 12.31 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.8057, allocations: 0.6678 MB / 0.6438 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002092/0.8078, allocations: 375.1 kB / 0.6441 GB, free: 11.29 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003795/0.8116, allocations: 2.762 MB / 0.6468 GB, free: 8.496 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006997/0.8123, allocations: 1.11 MB / 0.6479 GB, free: 7.359 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.8125, allocations: 67.44 kB / 0.648 GB, free: 7.293 MB / 494.1 MB Notification: Performance of SimCode: time 2.515e-06/0.8125, allocations: 0 / 0.648 GB, free: 7.293 MB / 494.1 MB Notification: Performance of Templates: time 0.06771/0.8802, allocations: 37.84 MB / 0.6849 GB, free: 1.473 MB / 0.5137 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.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 OMCppModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_phCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_phCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_phCalcHelperMain.o] Error 1