Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007765/0.0007766, allocations: 95.88 kB / 16.33 MB, free: 6.402 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.0008152/0.0008153, allocations: 187.6 kB / 17.22 MB, free: 6.305 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.536/1.536, allocations: 205.4 MB / 223.4 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2032/0.2032, allocations: 43.57 MB / 315.2 MB, free: 0.5547 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.0005035/0.0005036, allocations: 15.53 kB / 384.6 MB, free: 57.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1083, allocations: 58.87 MB / 443.4 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.5101/0.6184, allocations: 164.7 MB / 0.5938 GB, free: 4.012 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007915/0.6264, allocations: 5.481 MB / 0.5992 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.6275, allocations: 20 kB / 0.5992 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009586/0.6285, allocations: 260.5 kB / 0.5995 GB, free: 280 kB / 414.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.004818/0.6333, allocations: 1.358 MB / 0.6008 GB, free: 15.26 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003273/0.6366, allocations: 0.9738 MB / 0.6017 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003239/0.6398, allocations: 2.244 MB / 0.6039 GB, free: 13.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007248/0.6406, allocations: 375.2 kB / 0.6043 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002831/0.6434, allocations: 1.044 MB / 0.6053 GB, free: 12.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001303/0.6447, allocations: 0.7446 MB / 0.606 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.422e-05/0.6448, allocations: 30.41 kB / 0.6061 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001863/0.6467, allocations: 0.5957 MB / 0.6066 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002966/0.647, allocations: 235.3 kB / 0.6069 GB, free: 11.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002084/0.6472, allocations: 165.3 kB / 0.607 GB, free: 11.33 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.6484, allocations: 0.9967 MB / 0.608 GB, free: 10.33 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.6484, allocations: 0 / 0.608 GB, free: 10.33 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.6484, allocations: 0 / 0.608 GB, free: 10.33 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.6484, allocations: 0 / 0.608 GB, free: 10.33 MB / 430.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.001975/0.6504, allocations: 0.9895 MB / 0.609 GB, free: 9.289 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.6505, allocations: 16.02 kB / 0.609 GB, free: 9.273 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007178/0.6512, allocations: 127.1 kB / 0.6091 GB, free: 9.148 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007526/0.6519, allocations: 0.4966 MB / 0.6096 GB, free: 8.613 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.6521, allocations: 96.41 kB / 0.6097 GB, free: 8.504 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-05/0.6522, allocations: 47.98 kB / 0.6097 GB, free: 8.457 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.6534, allocations: 0.8136 MB / 0.6105 GB, free: 7.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.6534, allocations: 7.953 kB / 0.6105 GB, free: 7.562 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.035e-05/0.6535, allocations: 20 kB / 0.6105 GB, free: 7.543 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.535e-05/0.6536, allocations: 40.92 kB / 0.6106 GB, free: 7.504 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.6546, allocations: 0.6283 MB / 0.6112 GB, free: 6.875 MB / 430.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.004206/0.6588, allocations: 3.977 MB / 0.6151 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005201/0.6593, allocations: 343.6 kB / 0.6154 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/0.6596, allocations: 173.3 kB / 0.6156 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004336/0.66, allocations: 369.4 kB / 0.6159 GB, free: 1.715 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.6601, allocations: 34.84 kB / 0.616 GB, free: 1.672 MB / 430.1 MB Notification: Performance of pre-optimization done (n=34): time 2.023e-06/0.6601, allocations: 4 kB / 0.616 GB, free: 1.668 MB / 430.1 MB Notification: Performance of matching and sorting (n=39): time 0.004807/0.6649, allocations: 1.663 MB / 0.6176 GB, free: 15.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.603e-05/0.665, allocations: 132.5 kB / 0.6177 GB, free: 15.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007166/0.6657, allocations: 0.6055 MB / 0.6183 GB, free: 15.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/0.6658, allocations: 29.7 kB / 0.6183 GB, free: 15.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002922/0.6661, allocations: 366.9 kB / 0.6187 GB, free: 14.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.6662, allocations: 142 kB / 0.6188 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-05/0.6663, allocations: 16 kB / 0.6188 GB, free: 14.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002081/0.6665, allocations: 374.8 kB / 0.6192 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003548/0.6668, allocations: 205.9 kB / 0.6194 GB, free: 14.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005728/0.6674, allocations: 0.5047 MB / 0.6199 GB, free: 13.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004533/0.6679, allocations: 295.7 kB / 0.6202 GB, free: 13.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.6679, allocations: 4 kB / 0.6202 GB, free: 13.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00138/0.6693, allocations: 0.8836 MB / 0.621 GB, free: 12.19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.6693, allocations: 8 kB / 0.621 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.6693, allocations: 8.906 kB / 0.621 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001272/0.6706, allocations: 332.6 kB / 0.6214 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003801/0.671, allocations: 119.8 kB / 0.6215 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001042/0.672, allocations: 0.9324 MB / 0.6224 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004477/0.6725, allocations: 47.98 kB / 0.6224 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.922e-05/0.6726, allocations: 63.98 kB / 0.6225 GB, free: 10.66 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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 17} Notification: Performance of prepare postOptimizeDAE: time 0.0003472/0.673, allocations: 246.4 kB / 0.6227 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.6731, allocations: 67.16 kB / 0.6228 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/0.6745, allocations: 0.6977 MB / 0.6235 GB, free: 9.629 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.6746, allocations: 7.938 kB / 0.6235 GB, free: 9.621 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.6746, allocations: 0 / 0.6235 GB, free: 9.621 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.6746, allocations: 0 / 0.6235 GB, free: 9.621 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002163/0.6768, allocations: 1.599 MB / 0.625 GB, free: 7.875 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.6768, allocations: 4 kB / 0.625 GB, free: 7.871 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009489/0.6777, allocations: 211.9 kB / 0.6252 GB, free: 7.664 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.326e-05/0.6778, allocations: 24.84 kB / 0.6253 GB, free: 7.637 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.976e-05/0.6779, allocations: 19.98 kB / 0.6253 GB, free: 7.617 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00196/0.6798, allocations: 2.684 MB / 0.6279 GB, free: 4.668 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.6799, allocations: 8.031 kB / 0.6279 GB, free: 4.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.681, allocations: 0.7996 MB / 0.6287 GB, free: 3.828 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002421/0.6812, allocations: 192.3 kB / 0.6289 GB, free: 3.621 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.775e-05/0.6813, allocations: 15.95 kB / 0.6289 GB, free: 3.605 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003666/0.6817, allocations: 24.03 kB / 0.6289 GB, free: 3.582 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.797e-05/0.6818, allocations: 35.97 kB / 0.629 GB, free: 3.547 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.307e-05/0.6819, allocations: 47.97 kB / 0.629 GB, free: 3.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005551/0.6824, allocations: 427 kB / 0.6294 GB, free: 3.086 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6825, allocations: 0 / 0.6294 GB, free: 3.086 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001016/0.6835, allocations: 295.9 kB / 0.6297 GB, free: 2.797 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 37 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009192/0.6844, allocations: 374.5 kB / 0.63 GB, free: 2.422 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001066/0.6855, allocations: 0.5355 MB / 0.6306 GB, free: 1.887 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.6855, allocations: 4 kB / 0.6306 GB, free: 1.883 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000871/0.6864, allocations: 403.2 kB / 0.631 GB, free: 1.477 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/0.6878, allocations: 331.1 kB / 0.6313 GB, free: 1.156 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/0.6901, allocations: 1.605 MB / 0.6328 GB, free: 15.51 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005118/0.6906, allocations: 0.93 MB / 0.6338 GB, free: 14.55 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003468/0.691, allocations: 115.4 kB / 0.6339 GB, free: 14.44 MB / 462.1 MB Notification: Performance of SimCode: time 5.61e-07/0.691, allocations: 0 / 0.6339 GB, free: 14.44 MB / 462.1 MB Notification: Performance of Templates: time 0.02216/0.7132, allocations: 16.82 MB / 0.6503 GB, free: 13.63 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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.Water.IdealSteamCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteamCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteamCalcHelperMain.o] Error 1