Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001149/0.001149, allocations: 94.33 kB / 17.63 MB, free: 5.715 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.001243/0.001243, allocations: 183.5 kB / 18.52 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.629/1.629, allocations: 223.3 MB / 242.5 MB, free: 364 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2522/0.2522, allocations: 44.23 MB / 337.9 MB, free: 2.828 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004277/0.0004282, allocations: 8.75 kB / 410.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1682, allocations: 61.93 MB / 472.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03804/0.2063, allocations: 27.9 MB / 0.4884 GB, free: 1.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02155/0.2279, allocations: 14.44 MB / 0.5025 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008768/0.2288, allocations: 11.88 kB / 0.5025 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.2301, allocations: 171 kB / 0.5026 GB, free: 3.113 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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 4.0.0+maint.om/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.001551/0.2317, allocations: 258.5 kB / 0.5029 GB, free: 2.859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3708/0.6025, allocations: 4.303 MB / 0.5071 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001804/0.6043, allocations: 0.9381 MB / 0.508 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004451/0.6048, allocations: 181.3 kB / 0.5082 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02036/0.6252, allocations: 8.944 MB / 0.5169 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008344/0.626, allocations: 227.8 kB / 0.5171 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.751e-05/0.6261, allocations: 13.12 kB / 0.5172 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.012/0.6381, allocations: 5.814 MB / 0.5228 GB, free: 13.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002167/0.6384, allocations: 73.25 kB / 0.5229 GB, free: 13.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00028/0.6387, allocations: 96.3 kB / 0.523 GB, free: 13.81 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005941/0.6446, allocations: 2.457 MB / 0.5254 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.6447, allocations: 3.797 kB / 0.5254 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6447, allocations: 0 / 0.5254 GB, free: 13.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.6447, allocations: 0 / 0.5254 GB, free: 13.77 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.003627/0.6483, allocations: 0.9342 MB / 0.5263 GB, free: 13.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.6484, allocations: 9.75 kB / 0.5263 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008726/0.6492, allocations: 117.9 kB / 0.5264 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000408/0.6497, allocations: 319.4 kB / 0.5267 GB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/0.6497, allocations: 21.91 kB / 0.5268 GB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.649e-05/0.6498, allocations: 24.8 kB / 0.5268 GB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.6508, allocations: 469.7 kB / 0.5272 GB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.6508, allocations: 0 / 0.5272 GB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/0.6508, allocations: 11.56 kB / 0.5272 GB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.6509, allocations: 6.969 kB / 0.5272 GB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009438/0.6518, allocations: 405.7 kB / 0.5276 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002558/0.6544, allocations: 2.395 MB / 0.53 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008833/0.6553, allocations: 303.2 kB / 0.5303 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.6555, allocations: 103.5 kB / 0.5304 GB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003286/0.6559, allocations: 489.4 kB / 0.5308 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.6559, allocations: 41.52 kB / 0.5309 GB, free: 10.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.6559, allocations: 0 / 0.5309 GB, free: 10.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001451/0.6574, allocations: 0.489 MB / 0.5313 GB, free: 9.953 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.6574, allocations: 106.2 kB / 0.5314 GB, free: 9.828 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.6577, allocations: 322.2 kB / 0.5317 GB, free: 9.676 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.6578, allocations: 36.75 kB / 0.5318 GB, free: 9.641 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.6579, allocations: 203.6 kB / 0.532 GB, free: 9.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.6579, allocations: 48.53 kB / 0.532 GB, free: 9.469 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.127e-05/0.6579, allocations: 3.875 kB / 0.532 GB, free: 9.469 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.189e-05/0.658, allocations: 335.7 kB / 0.5323 GB, free: 9.148 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/0.6582, allocations: 102.6 kB / 0.5324 GB, free: 9.125 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/0.6585, allocations: 209.7 kB / 0.5326 GB, free: 8.957 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000242/0.6587, allocations: 118.7 kB / 0.5328 GB, free: 8.934 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.6588, allocations: 2.625 kB / 0.5328 GB, free: 8.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006013/0.6594, allocations: 339 kB / 0.5331 GB, free: 8.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.6594, allocations: 6.594 kB / 0.5331 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.6594, allocations: 6.594 kB / 0.5331 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.6594, allocations: 5.938 kB / 0.5331 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.6597, allocations: 69.86 kB / 0.5332 GB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.6597, allocations: 14.48 kB / 0.5332 GB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002532/0.6599, allocations: 46.61 kB / 0.5332 GB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.66, allocations: 18.7 kB / 0.5332 GB, free: 8.797 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.0001311/0.6601, allocations: 150 kB / 0.5334 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.022e-05/0.6602, allocations: 35.44 kB / 0.5334 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.6612, allocations: 0.7819 MB / 0.5342 GB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.6612, allocations: 6.688 kB / 0.5342 GB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.6612, allocations: 0 / 0.5342 GB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.6612, allocations: 9.547 kB / 0.5342 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000507/0.6618, allocations: 0.5283 MB / 0.5347 GB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.6618, allocations: 0 / 0.5347 GB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.662, allocations: 59.83 kB / 0.5348 GB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.662, allocations: 0 / 0.5348 GB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.662, allocations: 7.984 kB / 0.5348 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.662, allocations: 0 / 0.5348 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.662, allocations: 7 kB / 0.5348 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005682/0.6626, allocations: 484.4 kB / 0.5353 GB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.6627, allocations: 181.7 kB / 0.5354 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.04e-05/0.6628, allocations: 6.875 kB / 0.5354 GB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.663, allocations: 23.98 kB / 0.5355 GB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.481e-05/0.6631, allocations: 19.47 kB / 0.5355 GB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.6631, allocations: 11.83 kB / 0.5355 GB, free: 7.328 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002972/0.6634, allocations: 336.3 kB / 0.5358 GB, free: 7.074 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6634, allocations: 4 kB / 0.5358 GB, free: 7.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003212/0.6666, allocations: 0.845 MB / 0.5366 GB, free: 6.262 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.004575/0.6712, allocations: 0.9838 MB / 0.5376 GB, free: 5.379 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007583/0.672, allocations: 297.8 kB / 0.5379 GB, free: 5.164 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.672, allocations: 0 / 0.5379 GB, free: 5.164 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002555/0.6723, allocations: 177.9 kB / 0.538 GB, free: 5.059 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009903/0.6733, allocations: 163.4 kB / 0.5382 GB, free: 4.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.6747, allocations: 1.076 MB / 0.5393 GB, free: 3.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.675, allocations: 0.8382 MB / 0.5401 GB, free: 3.047 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.153e-05/0.6751, allocations: 31.44 kB / 0.5401 GB, free: 3.016 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.6752, allocations: 4 kB / 0.5401 GB, free: 3.012 MB / 382.1 MB Notification: Performance of Templates: time 0.03707/0.7122, allocations: 19.75 MB / 0.5594 GB, free: 15.46 MB / 414.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile make -j1 -f ModelicaTest_4.0.0_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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpyCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpyCalcHelperMain.o] Error 1