Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.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.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001187/0.001187, allocations: 92.34 kB / 17.63 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001549/0.00155, allocations: 191.7 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.603/1.603, allocations: 227.3 MB / 246.6 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2956/0.2956, allocations: 45.91 MB / 344.7 MB, free: 12.07 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002879/0.0002879, allocations: 8 kB / 418.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1475, allocations: 63.48 MB / 482.1 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03071/0.1783, allocations: 27.98 MB / 0.4982 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3574/0.5357, allocations: 14.45 MB / 0.5123 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005981/0.5364, allocations: 11.09 kB / 0.5123 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009015/0.5373, allocations: 172.2 kB / 0.5124 GB, free: 11.61 MB / 382.1 MB [/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. [/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.0008633/0.5382, allocations: 262.2 kB / 0.5127 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0195/0.5577, allocations: 4.307 MB / 0.5169 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002754/0.5605, allocations: 0.9366 MB / 0.5178 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007164/0.5612, allocations: 183.3 kB / 0.518 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02017/0.5814, allocations: 8.954 MB / 0.5267 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007998/0.5823, allocations: 231.8 kB / 0.5269 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.911e-05/0.5823, allocations: 13.16 kB / 0.527 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0141/0.5965, allocations: 5.828 MB / 0.5327 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.5967, allocations: 64.95 kB / 0.5327 GB, free: 10.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002876/0.597, allocations: 94.61 kB / 0.5328 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006393/0.6034, allocations: 2.467 MB / 0.5352 GB, free: 9.605 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.6035, allocations: 0 / 0.5352 GB, free: 9.605 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.6035, allocations: 0 / 0.5352 GB, free: 9.605 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.6035, allocations: 0 / 0.5352 GB, free: 9.605 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.003077/0.6066, allocations: 0.9439 MB / 0.5361 GB, free: 8.922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.6066, allocations: 13.22 kB / 0.5361 GB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009428/0.6076, allocations: 131.2 kB / 0.5363 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000389/0.608, allocations: 312.2 kB / 0.5366 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.37e-05/0.608, allocations: 26.75 kB / 0.5366 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.7e-05/0.6081, allocations: 21.28 kB / 0.5366 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.6091, allocations: 472.2 kB / 0.5371 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.6091, allocations: 4 kB / 0.5371 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.425e-05/0.6091, allocations: 11.94 kB / 0.5371 GB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.6091, allocations: 4.516 kB / 0.5371 GB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008993/0.61, allocations: 407.4 kB / 0.5375 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00249/0.6125, allocations: 2.385 MB / 0.5398 GB, free: 5.598 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008733/0.6134, allocations: 303.3 kB / 0.5401 GB, free: 5.348 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.6137, allocations: 110.6 kB / 0.5402 GB, free: 5.262 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003045/0.614, allocations: 494.1 kB / 0.5407 GB, free: 4.715 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.614, allocations: 34.55 kB / 0.5407 GB, free: 4.672 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.614, allocations: 4 kB / 0.5407 GB, free: 4.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001406/0.6154, allocations: 492.4 kB / 0.5412 GB, free: 4.254 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.6155, allocations: 102.8 kB / 0.5413 GB, free: 4.129 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.6158, allocations: 321.2 kB / 0.5416 GB, free: 3.867 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.6158, allocations: 33.7 kB / 0.5416 GB, free: 3.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.6159, allocations: 203.2 kB / 0.5418 GB, free: 3.668 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.6159, allocations: 40.64 kB / 0.5418 GB, free: 3.633 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.153e-05/0.616, allocations: 4.5 kB / 0.5418 GB, free: 3.633 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.038e-05/0.616, allocations: 344.2 kB / 0.5422 GB, free: 3.301 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.6163, allocations: 93.94 kB / 0.5423 GB, free: 3.227 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002618/0.6165, allocations: 212.6 kB / 0.5425 GB, free: 2.992 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002455/0.6168, allocations: 118.9 kB / 0.5426 GB, free: 2.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.6168, allocations: 0 / 0.5426 GB, free: 2.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005777/0.6174, allocations: 338.8 kB / 0.5429 GB, free: 2.629 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.6174, allocations: 14.14 kB / 0.5429 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.6174, allocations: 4 kB / 0.5429 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.6174, allocations: 4 kB / 0.5429 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.6177, allocations: 71.14 kB / 0.543 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.6177, allocations: 12.23 kB / 0.543 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.6179, allocations: 51.23 kB / 0.5431 GB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.618, allocations: 15.98 kB / 0.5431 GB, free: 2.469 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.0001535/0.6181, allocations: 159.4 kB / 0.5432 GB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.124e-05/0.6182, allocations: 35.55 kB / 0.5433 GB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009898/0.6192, allocations: 0.7796 MB / 0.544 GB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.6192, allocations: 10.86 kB / 0.544 GB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.6192, allocations: 3.938 kB / 0.544 GB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.6192, allocations: 0 / 0.544 GB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004863/0.6197, allocations: 0.5371 MB / 0.5446 GB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.6197, allocations: 0 / 0.5446 GB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.6199, allocations: 51.95 kB / 0.5446 GB, free: 1.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.6199, allocations: 1.75 kB / 0.5446 GB, free: 1.211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.62, allocations: 11.2 kB / 0.5446 GB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.62, allocations: 0 / 0.5446 GB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.62, allocations: 0 / 0.5446 GB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005674/0.6206, allocations: 472.9 kB / 0.5451 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.6207, allocations: 187.7 kB / 0.5452 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.313e-05/0.6208, allocations: 7.953 kB / 0.5453 GB, free: 0.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.621, allocations: 30.84 kB / 0.5453 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.157e-05/0.6211, allocations: 19.28 kB / 0.5453 GB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.6211, allocations: 4 kB / 0.5453 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000299/0.6214, allocations: 335.8 kB / 0.5456 GB, free: 332 kB / 382.1 MB Notification: Performance of sort global known variables: time 9.41e-07/0.6214, allocations: 0 / 0.5456 GB, free: 332 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.003311/0.6247, allocations: 0.8557 MB / 0.5465 GB, free: 15.5 MB / 398.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.004578/0.6293, allocations: 0.9984 MB / 0.5474 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007699/0.6301, allocations: 288.8 kB / 0.5477 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.6301, allocations: 4 kB / 0.5477 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003057/0.6304, allocations: 176.2 kB / 0.5479 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009586/0.6314, allocations: 161.4 kB / 0.548 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.6329, allocations: 1.071 MB / 0.5491 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000566/0.6335, allocations: 0.8364 MB / 0.5499 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.754e-05/0.6336, allocations: 38.05 kB / 0.5499 GB, free: 12.23 MB / 398.1 MB Notification: Performance of SimCode: time 7.22e-07/0.6336, allocations: 0 / 0.5499 GB, free: 12.23 MB / 398.1 MB Notification: Performance of Templates: time 0.03742/0.671, allocations: 19.86 MB / 0.5693 GB, free: 8.492 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile make -j1 -f ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpyCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpyCalcHelperMain.o] Error 1