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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 183.9 kB / 8.521 MB, free: 1.793 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.212/1.212, allocations: 221.4 MB / 230.3 MB, free: 7.609 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009379/0.0009378, allocations: 74.19 kB / 281.2 MB, free: 5.449 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.17/0.17, allocations: 44.14 MB / 376.1 MB, free: 3.211 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2147/0.3848, allocations: 68.03 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.4939, allocations: 61.92 MB / 0.4942 GB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.419/4.913, allocations: 2.758 GB / 3.253 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/4.913, allocations: 83.78 kB / 3.253 GB, free: 15.53 MB / 0.5105 GB 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.9646/5.877, allocations: 292.7 MB / 3.538 GB, free: 83.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/5.877, allocations: 12.97 kB / 3.538 GB, free: 83.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/5.879, allocations: 123.4 kB / 3.539 GB, free: 83.18 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005166/5.879, allocations: 332.6 kB / 3.539 GB, free: 82.92 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/5.879, allocations: 15.23 kB / 3.539 GB, free: 82.92 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.179e-05/5.879, allocations: 15.34 kB / 3.539 GB, free: 82.92 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003657/5.88, allocations: 211.5 kB / 3.539 GB, free: 82.84 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004279/5.88, allocations: 303.3 kB / 3.539 GB, free: 82.66 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/5.88, allocations: 7.875 kB / 3.539 GB, free: 82.66 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/5.88, allocations: 0 / 3.539 GB, free: 82.66 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/5.88, allocations: 6.969 kB / 3.539 GB, free: 82.66 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002497/5.883, allocations: 2.29 MB / 3.542 GB, free: 80.74 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/5.883, allocations: 108.6 kB / 3.542 GB, free: 80.69 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.688e-05/5.883, allocations: 48.67 kB / 3.542 GB, free: 80.66 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003448/5.883, allocations: 487.5 kB / 3.542 GB, free: 80.17 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/5.883, allocations: 38.22 kB / 3.542 GB, free: 80.12 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/5.883, allocations: 3.938 kB / 3.542 GB, free: 80.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12): time 0.0007075/5.884, allocations: 219.9 kB / 3.543 GB, free: 80.04 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/5.884, allocations: 109.9 kB / 3.543 GB, free: 79.91 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/5.884, allocations: 230.5 kB / 3.543 GB, free: 79.77 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/5.884, allocations: 25.7 kB / 3.543 GB, free: 79.73 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.11e-05/5.884, allocations: 181.2 kB / 3.543 GB, free: 79.58 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/5.884, allocations: 41.77 kB / 3.543 GB, free: 79.55 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/5.884, allocations: 0 / 3.543 GB, free: 79.55 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.989e-05/5.884, allocations: 342 kB / 3.543 GB, free: 79.23 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.061e-05/5.885, allocations: 48.56 kB / 3.543 GB, free: 79.21 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/5.885, allocations: 166.1 kB / 3.544 GB, free: 79.04 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002389/5.885, allocations: 86.64 kB / 3.544 GB, free: 79.01 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/5.885, allocations: 0 / 3.544 GB, free: 79.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007285/5.886, allocations: 311.4 kB / 3.544 GB, free: 78.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/5.886, allocations: 3.719 kB / 3.544 GB, free: 78.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/5.886, allocations: 6.906 kB / 3.544 GB, free: 78.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/5.886, allocations: 3.062 kB / 3.544 GB, free: 78.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002985/5.886, allocations: 74.34 kB / 3.544 GB, free: 78.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/5.886, allocations: 3.969 kB / 3.544 GB, free: 78.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002929/5.886, allocations: 53.22 kB / 3.544 GB, free: 78.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/5.886, allocations: 14.5 kB / 3.544 GB, free: 78.88 MB / 0.5105 GB 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 () * 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 8.549e-05/5.886, allocations: 108.9 kB / 3.544 GB, free: 78.77 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003034/5.887, allocations: 104.4 kB / 3.544 GB, free: 78.73 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007671/5.888, allocations: 0.6399 MB / 3.545 GB, free: 78.45 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/5.888, allocations: 7.969 kB / 3.545 GB, free: 78.44 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/5.888, allocations: 0 / 3.545 GB, free: 78.44 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/5.888, allocations: 3.609 kB / 3.545 GB, free: 78.44 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004135/5.888, allocations: 412.5 kB / 3.545 GB, free: 78.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/5.888, allocations: 224 / 3.545 GB, free: 78.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/5.888, allocations: 37.61 kB / 3.545 GB, free: 78.17 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/5.888, allocations: 3.938 kB / 3.545 GB, free: 78.16 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/5.888, allocations: 7.047 kB / 3.545 GB, free: 78.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/5.888, allocations: 3.969 kB / 3.545 GB, free: 78.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/5.888, allocations: 0 / 3.545 GB, free: 78.16 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007279/5.889, allocations: 0.6263 MB / 3.546 GB, free: 77.83 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009617/5.89, allocations: 1.044 MB / 3.547 GB, free: 77.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.694e-05/5.89, allocations: 103.9 kB / 3.547 GB, free: 76.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.015e-05/5.89, allocations: 6.875 kB / 3.547 GB, free: 76.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/5.89, allocations: 30.11 kB / 3.547 GB, free: 76.97 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.186e-05/5.89, allocations: 21.8 kB / 3.547 GB, free: 76.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/5.89, allocations: 7.5 kB / 3.547 GB, free: 76.97 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.000142/5.891, allocations: 175.6 kB / 3.547 GB, free: 76.86 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0047/5.895, allocations: 0.947 MB / 3.548 GB, free: 76.59 MB / 0.5105 GB 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,$cse2.phase,$cse2.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete 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.007182/5.903, allocations: 1.444 MB / 3.55 GB, free: 76.27 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005852/5.903, allocations: 308.4 kB / 3.55 GB, free: 76.15 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/5.903, allocations: 0 / 3.55 GB, free: 76.15 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002786/5.903, allocations: 270.3 kB / 3.55 GB, free: 76.02 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007998/5.904, allocations: 114.6 kB / 3.55 GB, free: 75.99 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008933/5.905, allocations: 0.5127 MB / 3.551 GB, free: 75.73 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003175/5.906, allocations: 0.8476 MB / 3.552 GB, free: 75.03 MB / 0.5105 GB Notification: Performance of SimCode: time 4.71e-07/5.906, allocations: 0 / 3.552 GB, free: 75.03 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1)