Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007615/0.0007615, allocations: 89.59 kB / 16.33 MB, free: 5.938 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.0008129/0.000813, allocations: 182 kB / 17.22 MB, free: 5.863 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.572/1.572, allocations: 205.4 MB / 223.4 MB, free: 5.324 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.359/0.359, allocations: 43.56 MB / 315.2 MB, free: 8.992 MB / 254.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.0005235/0.0005235, allocations: 16 kB / 384.6 MB, free: 8.023 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1411, allocations: 58.85 MB / 443.4 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2904/0.4315, allocations: 41.25 MB / 484.7 MB, free: 26.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005183/0.4368, allocations: 4.219 MB / 488.9 MB, free: 23.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008152/0.4376, allocations: 21.31 kB / 488.9 MB, free: 23.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006814/0.4383, allocations: 255.3 kB / 489.1 MB, free: 22.91 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001685/0.44, allocations: 0.797 MB / 489.9 MB, free: 22.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001905/0.4419, allocations: 0.6924 MB / 490.6 MB, free: 22.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002649/0.4446, allocations: 2.2 MB / 492.8 MB, free: 21.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005563/0.4452, allocations: 379.4 kB / 493.2 MB, free: 21.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1339/0.579, allocations: 73.48 MB / 0.5534 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02095/0.6, allocations: 13.73 MB / 0.5668 GB, free: 2.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001848/0.6003, allocations: 28 kB / 0.5668 GB, free: 2.203 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02871/0.629, allocations: 18.73 MB / 0.5851 GB, free: 15.47 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000546/0.6296, allocations: 219.3 kB / 0.5853 GB, free: 15.25 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003462/0.6299, allocations: 169.3 kB / 0.5855 GB, free: 15.08 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009983/0.6309, allocations: 0.7599 MB / 0.5862 GB, free: 14.32 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.631, allocations: 0 / 0.5862 GB, free: 14.32 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.631, allocations: 0 / 0.5862 GB, free: 14.32 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.327e-06/0.631, allocations: 0 / 0.5862 GB, free: 14.32 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001818/0.6328, allocations: 0.9306 MB / 0.5871 GB, free: 13.34 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.6329, allocations: 12.02 kB / 0.5872 GB, free: 13.33 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002926/0.6332, allocations: 87.14 kB / 0.5872 GB, free: 13.24 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000685/0.6338, allocations: 0.4975 MB / 0.5877 GB, free: 12.71 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.634, allocations: 100.4 kB / 0.5878 GB, free: 12.59 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.427e-05/0.634, allocations: 44 kB / 0.5879 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.6352, allocations: 0.8182 MB / 0.5887 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.6352, allocations: 3.938 kB / 0.5887 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.334e-05/0.6353, allocations: 24 kB / 0.5887 GB, free: 11.63 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.442e-05/0.6354, allocations: 40.98 kB / 0.5887 GB, free: 11.59 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000961/0.6363, allocations: 0.64 MB / 0.5894 GB, free: 10.95 MB / 462.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.004363/0.6407, allocations: 4.229 MB / 0.5935 GB, free: 6.438 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007916/0.6415, allocations: 411.9 kB / 0.5939 GB, free: 6.027 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003163/0.6418, allocations: 201.4 kB / 0.5941 GB, free: 5.828 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000477/0.6423, allocations: 0.5029 MB / 0.5946 GB, free: 5.215 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.6424, allocations: 42.02 kB / 0.5946 GB, free: 5.168 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 1.983e-06/0.6424, allocations: 0 / 0.5946 GB, free: 5.168 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.002989/0.6454, allocations: 1.527 MB / 0.5961 GB, free: 3.59 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.424e-05/0.6455, allocations: 132.5 kB / 0.5962 GB, free: 3.43 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000654/0.6461, allocations: 0.5731 MB / 0.5968 GB, free: 2.848 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.157e-05/0.6462, allocations: 33.7 kB / 0.5968 GB, free: 2.809 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/0.6464, allocations: 355 kB / 0.5971 GB, free: 2.457 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.6466, allocations: 161.7 kB / 0.5973 GB, free: 2.297 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/0.6466, allocations: 16 kB / 0.5973 GB, free: 2.281 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.6468, allocations: 374.8 kB / 0.5977 GB, free: 1.906 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003567/0.6471, allocations: 221.9 kB / 0.5979 GB, free: 1.688 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005686/0.6477, allocations: 0.5201 MB / 0.5984 GB, free: 1.027 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004588/0.6482, allocations: 324.6 kB / 0.5987 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.6482, allocations: 0 / 0.5987 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001779/0.65, allocations: 0.9566 MB / 0.5996 GB, free: 15.74 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.65, allocations: 15.94 kB / 0.5997 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.65, allocations: 11.98 kB / 0.5997 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.6511, allocations: 270.8 kB / 0.5999 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003837/0.6515, allocations: 119.8 kB / 0.6 GB, free: 15.33 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009054/0.6524, allocations: 0.8722 MB / 0.6009 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004826/0.6529, allocations: 44.05 kB / 0.6009 GB, free: 14.39 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.667e-05/0.6529, allocations: 35.98 kB / 0.601 GB, free: 14.36 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003307/0.6533, allocations: 241.5 kB / 0.6012 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.6534, allocations: 75.11 kB / 0.6013 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/0.6547, allocations: 0.7104 MB / 0.602 GB, free: 13.31 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.6547, allocations: 8 kB / 0.602 GB, free: 13.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.6547, allocations: 0 / 0.602 GB, free: 13.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.6547, allocations: 7.984 kB / 0.602 GB, free: 13.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001994/0.6567, allocations: 1.403 MB / 0.6033 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.6567, allocations: 3.953 kB / 0.6033 GB, free: 11.81 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008792/0.6576, allocations: 191.8 kB / 0.6035 GB, free: 11.62 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000262/0.6579, allocations: 60.97 kB / 0.6036 GB, free: 11.56 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.833e-05/0.658, allocations: 19.98 kB / 0.6036 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002225/0.6602, allocations: 2.789 MB / 0.6063 GB, free: 8.488 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6602, allocations: 0 / 0.6063 GB, free: 8.488 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.6617, allocations: 0.9918 MB / 0.6073 GB, free: 7.457 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002953/0.662, allocations: 204.2 kB / 0.6075 GB, free: 7.238 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.294e-05/0.6621, allocations: 8 kB / 0.6075 GB, free: 7.23 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003803/0.6625, allocations: 32.05 kB / 0.6075 GB, free: 7.199 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.092e-05/0.6626, allocations: 39.84 kB / 0.6076 GB, free: 7.16 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.487e-05/0.6626, allocations: 23.98 kB / 0.6076 GB, free: 7.137 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004738/0.6631, allocations: 390.8 kB / 0.608 GB, free: 6.758 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6631, allocations: 4 kB / 0.608 GB, free: 6.754 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007701/0.6639, allocations: 207.9 kB / 0.6082 GB, free: 6.551 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005004/0.6644, allocations: 229.2 kB / 0.6084 GB, free: 6.324 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001186/0.6656, allocations: 0.6037 MB / 0.609 GB, free: 5.719 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6656, allocations: 0 / 0.609 GB, free: 5.719 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.6667, allocations: 475.7 kB / 0.6094 GB, free: 5.242 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/0.6681, allocations: 334.5 kB / 0.6097 GB, free: 4.926 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.6706, allocations: 1.697 MB / 0.6114 GB, free: 3.18 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005447/0.6711, allocations: 0.9347 MB / 0.6123 GB, free: 2.219 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/0.6713, allocations: 67.42 kB / 0.6124 GB, free: 2.152 MB / 478.1 MB Notification: Performance of SimCode: time 1.192e-06/0.6713, allocations: 4 kB / 0.6124 GB, free: 2.148 MB / 478.1 MB Notification: Performance of Templates: time 0.02033/0.6917, allocations: 15.16 MB / 0.6272 GB, free: 3.02 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pTCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pTCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pTCalcHelperMain.o] Error 1