Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008788/0.0008788, allocations: 91.73 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001066/0.001066, allocations: 198.8 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.553/1.553, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2783/0.2783, allocations: 45.91 MB / 344.7 MB, free: 12.29 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002619/0.000262, allocations: 8 kB / 418.7 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1462, allocations: 63.46 MB / 482.1 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.04005/0.1863, allocations: 36.68 MB / 0.5066 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3532/0.5396, allocations: 18.87 MB / 0.5251 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0016/0.5413, allocations: 22.94 kB / 0.5251 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001771/0.5431, allocations: 374 kB / 0.5255 GB, free: 11.84 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.01762/0.5607, allocations: 4.072 MB / 0.5294 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009297/0.57, allocations: 2.025 MB / 0.5314 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004822/0.5749, allocations: 2.358 MB / 0.5337 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.576, allocations: 406.6 kB / 0.5341 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01564/0.5917, allocations: 6.421 MB / 0.5404 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01465/0.6064, allocations: 9.105 MB / 0.5493 GB, free: 3.512 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002846/0.6067, allocations: 36 kB / 0.5493 GB, free: 3.477 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01929/0.626, allocations: 6.831 MB / 0.556 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006787/0.6268, allocations: 242.2 kB / 0.5562 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006186/0.6274, allocations: 185.3 kB / 0.5564 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0097/0.6371, allocations: 3.383 MB / 0.5597 GB, free: 9.086 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.6372, allocations: 0 / 0.5597 GB, free: 9.086 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.193e-06/0.6372, allocations: 4 kB / 0.5597 GB, free: 9.082 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.659e-05/0.6372, allocations: 0 / 0.5597 GB, free: 9.082 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.005413/0.6426, allocations: 1.472 MB / 0.5611 GB, free: 7.578 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.6427, allocations: 8.031 kB / 0.5611 GB, free: 7.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001539/0.6442, allocations: 221.9 kB / 0.5613 GB, free: 7.355 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.6453, allocations: 0.5259 MB / 0.5619 GB, free: 6.801 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001621/0.6455, allocations: 108.7 kB / 0.562 GB, free: 6.684 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.6456, allocations: 71.3 kB / 0.562 GB, free: 6.617 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002152/0.6478, allocations: 1.066 MB / 0.5631 GB, free: 5.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/0.6478, allocations: 3.938 kB / 0.5631 GB, free: 5.453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.573e-05/0.6479, allocations: 28 kB / 0.5631 GB, free: 5.426 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.665e-05/0.648, allocations: 44.98 kB / 0.5631 GB, free: 5.383 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001757/0.6497, allocations: 0.8193 MB / 0.5639 GB, free: 4.566 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.007384/0.6571, allocations: 5.557 MB / 0.5694 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.6584, allocations: 0.5298 MB / 0.5699 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003263/0.6588, allocations: 218.4 kB / 0.5701 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09828/0.7571, allocations: 53.01 MB / 0.6219 GB, free: 2.273 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.012e-05/0.7572, allocations: 42.55 kB / 0.6219 GB, free: 2.223 MB / 462.1 MB Notification: Performance of pre-optimization done (n=39): time 2.655e-06/0.7572, allocations: 0 / 0.6219 GB, free: 2.223 MB / 462.1 MB Notification: Performance of matching and sorting (n=44): time 0.006734/0.764, allocations: 2.141 MB / 0.624 GB, free: 24 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.7641, allocations: 187.9 kB / 0.6242 GB, free: 15.8 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008299/0.7649, allocations: 0.6328 MB / 0.6248 GB, free: 15.16 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.825e-05/0.765, allocations: 37.7 kB / 0.6248 GB, free: 15.12 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003071/0.7653, allocations: 400.8 kB / 0.6252 GB, free: 14.73 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.7655, allocations: 156.8 kB / 0.6254 GB, free: 14.57 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.7655, allocations: 16 kB / 0.6254 GB, free: 14.56 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.7657, allocations: 382.8 kB / 0.6257 GB, free: 14.18 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003773/0.7661, allocations: 229.8 kB / 0.6259 GB, free: 13.95 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006501/0.7667, allocations: 0.5861 MB / 0.6265 GB, free: 13.19 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005107/0.7673, allocations: 343.6 kB / 0.6268 GB, free: 12.86 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.7673, allocations: 4 kB / 0.6269 GB, free: 12.85 MB / 478.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001525/0.7688, allocations: 0.8922 MB / 0.6277 GB, free: 11.95 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.7688, allocations: 14.19 kB / 0.6277 GB, free: 11.94 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.7689, allocations: 16.16 kB / 0.6278 GB, free: 11.92 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002814/0.7717, allocations: 272.5 kB / 0.628 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.7729, allocations: 279.6 kB / 0.6283 GB, free: 11.38 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002137/0.7751, allocations: 2.019 MB / 0.6303 GB, free: 9.199 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008196/0.7759, allocations: 55.98 kB / 0.6303 GB, free: 9.145 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-05/0.776, allocations: 47.98 kB / 0.6304 GB, free: 9.098 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * 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 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004636/0.7765, allocations: 277.3 kB / 0.6306 GB, free: 8.816 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/0.7766, allocations: 71.25 kB / 0.6307 GB, free: 8.746 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002582/0.7792, allocations: 2.022 MB / 0.6327 GB, free: 6.707 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.527e-05/0.7793, allocations: 19.97 kB / 0.6327 GB, free: 6.688 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.7793, allocations: 8 kB / 0.6327 GB, free: 6.68 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.7793, allocations: 3.984 kB / 0.6327 GB, free: 6.676 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004126/0.7834, allocations: 2.996 MB / 0.6356 GB, free: 3.617 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.7835, allocations: 4 kB / 0.6356 GB, free: 3.613 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008703/0.7843, allocations: 183.8 kB / 0.6358 GB, free: 3.434 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001612/0.786, allocations: 303.9 kB / 0.6361 GB, free: 3.133 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.951e-05/0.786, allocations: 15.94 kB / 0.6361 GB, free: 3.117 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/0.7879, allocations: 2.081 MB / 0.6381 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.7879, allocations: 0 / 0.6381 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00242/0.7903, allocations: 1.936 MB / 0.64 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005009/0.7909, allocations: 291.5 kB / 0.6403 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.901e-05/0.791, allocations: 8 kB / 0.6403 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004613/0.7914, allocations: 39.81 kB / 0.6403 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.698e-05/0.7915, allocations: 40.33 kB / 0.6404 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.831e-05/0.7916, allocations: 16 kB / 0.6404 GB, free: 14.51 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008317/0.7924, allocations: 0.5654 MB / 0.641 GB, free: 13.95 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7924, allocations: 3.938 kB / 0.641 GB, free: 13.95 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004122/0.7965, allocations: 1.093 MB / 0.642 GB, free: 12.85 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005013/0.8016, allocations: 1.201 MB / 0.6432 GB, free: 11.74 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002146/0.8037, allocations: 0.9006 MB / 0.6441 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/0.8038, allocations: 4 kB / 0.6441 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001245/0.805, allocations: 0.6366 MB / 0.6447 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002246/0.8073, allocations: 392.7 kB / 0.6451 GB, free: 9.828 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003981/0.8113, allocations: 2.619 MB / 0.6476 GB, free: 7.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/0.8123, allocations: 1.093 MB / 0.6487 GB, free: 6.062 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002472/0.8126, allocations: 67.44 kB / 0.6488 GB, free: 5.996 MB / 494.1 MB Notification: Performance of SimCode: time 1.764e-06/0.8126, allocations: 0 / 0.6488 GB, free: 5.996 MB / 494.1 MB Notification: Performance of Templates: time 0.06149/0.8741, allocations: 37.15 MB / 0.685 GB, free: 0.8555 MB / 0.5138 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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.WaterIF97_pTCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pTCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pTCalcHelperMain.o] Error 1