Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.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.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008043/0.0008045, allocations: 95.84 kB / 16.33 MB, free: 5.941 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.0008568/0.0008569, allocations: 186.2 kB / 17.22 MB, free: 5.883 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.455/1.455, allocations: 205.4 MB / 223.4 MB, free: 5.555 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.3825/0.3825, allocations: 43.54 MB / 315.2 MB, free: 8.863 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.0005118/0.0005119, allocations: 14.97 kB / 384.6 MB, free: 8.004 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1259, allocations: 58.86 MB / 443.4 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.2614/0.3873, allocations: 27.91 MB / 471.3 MB, free: 34.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01369/0.4011, allocations: 14.44 MB / 485.8 MB, free: 24.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004257/0.4015, allocations: 14.53 kB / 485.8 MB, free: 24.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006543/0.4022, allocations: 170.8 kB / 485.9 MB, free: 24.86 MB / 382.1 MB [/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. [/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.0005965/0.4028, allocations: 257.6 kB / 486.2 MB, free: 24.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01296/0.4158, allocations: 4.31 MB / 490.5 MB, free: 22.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009968/0.4168, allocations: 0.9356 MB / 491.4 MB, free: 22.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002862/0.4171, allocations: 181.4 kB / 491.6 MB, free: 22.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01413/0.4312, allocations: 8.941 MB / 0.4888 GB, free: 21.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005438/0.4318, allocations: 224.2 kB / 0.489 GB, free: 21.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.963e-05/0.4319, allocations: 13.59 kB / 0.4891 GB, free: 21.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01236/0.4442, allocations: 5.811 MB / 0.4947 GB, free: 19.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.4444, allocations: 69 kB / 0.4948 GB, free: 19.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002122/0.4447, allocations: 95.48 kB / 0.4949 GB, free: 19.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005999/0.4507, allocations: 2.454 MB / 0.4973 GB, free: 19.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.4507, allocations: 4 kB / 0.4973 GB, free: 19.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4507, allocations: 0 / 0.4973 GB, free: 19.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.4507, allocations: 1.031 kB / 0.4973 GB, free: 19.25 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.004166/0.4549, allocations: 0.9375 MB / 0.4982 GB, free: 18.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.4549, allocations: 9.781 kB / 0.4982 GB, free: 18.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009/0.4558, allocations: 115 kB / 0.4983 GB, free: 18.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.4562, allocations: 318.2 kB / 0.4986 GB, free: 18.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.347e-05/0.4563, allocations: 28.09 kB / 0.4986 GB, free: 18.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/0.4563, allocations: 24.28 kB / 0.4987 GB, free: 18.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.4574, allocations: 468.3 kB / 0.4991 GB, free: 18.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.4574, allocations: 0.9375 kB / 0.4991 GB, free: 18.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.335e-05/0.4575, allocations: 15.56 kB / 0.4991 GB, free: 18.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.4575, allocations: 7.344 kB / 0.4991 GB, free: 18.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.4585, allocations: 395.8 kB / 0.4995 GB, free: 17.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002581/0.4611, allocations: 2.394 MB / 0.5019 GB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.4621, allocations: 310.5 kB / 0.5022 GB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002682/0.4624, allocations: 107.5 kB / 0.5023 GB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003619/0.4628, allocations: 489 kB / 0.5027 GB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.4628, allocations: 31.41 kB / 0.5028 GB, free: 15.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.4628, allocations: 0 / 0.5028 GB, free: 15.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001613/0.4644, allocations: 0.4895 MB / 0.5032 GB, free: 15.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.4645, allocations: 109.5 kB / 0.5033 GB, free: 15.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003434/0.4648, allocations: 318.9 kB / 0.5036 GB, free: 14.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.4649, allocations: 27.33 kB / 0.5037 GB, free: 14.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.465, allocations: 211.6 kB / 0.5039 GB, free: 14.63 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.465, allocations: 42.08 kB / 0.5039 GB, free: 14.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.183e-05/0.4651, allocations: 5.125 kB / 0.5039 GB, free: 14.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.762e-05/0.4652, allocations: 339.7 kB / 0.5042 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/0.4654, allocations: 100.9 kB / 0.5043 GB, free: 14.22 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/0.4657, allocations: 210 kB / 0.5045 GB, free: 14.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.466, allocations: 113.6 kB / 0.5046 GB, free: 13.97 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.466, allocations: 1.094 kB / 0.5046 GB, free: 13.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006714/0.4667, allocations: 341.6 kB / 0.505 GB, free: 13.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.4667, allocations: 5.344 kB / 0.505 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4667, allocations: 4.219 kB / 0.505 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.4668, allocations: 5.781 kB / 0.505 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.467, allocations: 74.75 kB / 0.5051 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.467, allocations: 9.438 kB / 0.5051 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/0.4673, allocations: 51.03 kB / 0.5051 GB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.4673, allocations: 19 kB / 0.5051 GB, free: 13.73 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001395/0.4675, allocations: 155.6 kB / 0.5053 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.321e-05/0.4675, allocations: 30.75 kB / 0.5053 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.4686, allocations: 0.7744 MB / 0.5061 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/0.4686, allocations: 11.48 kB / 0.5061 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.4686, allocations: 7.891 kB / 0.5061 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4686, allocations: 0 / 0.5061 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000476/0.4691, allocations: 0.5314 MB / 0.5066 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.4691, allocations: 1.188 kB / 0.5066 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.4693, allocations: 52.45 kB / 0.5067 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4693, allocations: 1.406 kB / 0.5067 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.4693, allocations: 6.094 kB / 0.5067 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4693, allocations: 5.312 kB / 0.5067 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4693, allocations: 3.938 kB / 0.5067 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005931/0.4699, allocations: 482.4 kB / 0.5071 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.4701, allocations: 189.6 kB / 0.5073 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.366e-05/0.4701, allocations: 5.312 kB / 0.5073 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.4703, allocations: 24.61 kB / 0.5073 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.05e-05/0.4704, allocations: 27.36 kB / 0.5074 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.4704, allocations: 8.109 kB / 0.5074 GB, free: 12.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003206/0.4708, allocations: 336 kB / 0.5077 GB, free: 11.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4708, allocations: 0 / 0.5077 GB, free: 11.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.005243/0.476, allocations: 0.8472 MB / 0.5085 GB, free: 11.75 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004678/0.4807, allocations: 0.9766 MB / 0.5095 GB, free: 11.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006655/0.4814, allocations: 298.7 kB / 0.5098 GB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.4814, allocations: 0 / 0.5098 GB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002661/0.4817, allocations: 179.1 kB / 0.5099 GB, free: 11.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008934/0.4826, allocations: 169.4 kB / 0.5101 GB, free: 11.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.4838, allocations: 1.061 MB / 0.5111 GB, free: 10.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.4841, allocations: 0.8437 MB / 0.512 GB, free: 9.523 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.399e-05/0.4841, allocations: 32.62 kB / 0.512 GB, free: 9.512 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4841, allocations: 1.625 kB / 0.512 GB, free: 9.512 MB / 382.1 MB Notification: Performance of Templates: time 0.03154/0.5157, allocations: 19.71 MB / 0.5312 GB, free: 5.863 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.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.Fluid.TestComponents.Sensors.TestSpecificEnthalpyCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpyCalcHelperMain.o] Error 1