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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.002038/0.002037, allocations: 187.7 kB / 7.805 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.765/1.765, allocations: 205.2 MB / 213.4 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009608/0.0009607, allocations: 91.41 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2297/0.2297, allocations: 43.49 MB / 352.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2658/0.4956, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.8821, allocations: 58.84 MB / 476.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.476/7.358, allocations: 2.753 GB / 3.219 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/7.359, allocations: 86.42 kB / 3.219 GB, free: 111 MB / 0.4948 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.9711/8.33, allocations: 289.6 MB / 3.501 GB, free: 22.56 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/8.33, allocations: 12 kB / 3.501 GB, free: 22.55 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/8.331, allocations: 127.4 kB / 3.502 GB, free: 22.42 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000635/8.332, allocations: 330.8 kB / 3.502 GB, free: 22.07 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/8.332, allocations: 8 kB / 3.502 GB, free: 22.06 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.448e-05/8.332, allocations: 16 kB / 3.502 GB, free: 22.04 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000395/8.332, allocations: 208.9 kB / 3.502 GB, free: 21.84 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000445/8.333, allocations: 309.2 kB / 3.502 GB, free: 21.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/8.333, allocations: 3.938 kB / 3.502 GB, free: 21.49 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/8.333, allocations: 4 kB / 3.502 GB, free: 21.49 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/8.333, allocations: 4 kB / 3.502 GB, free: 21.48 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002779/8.336, allocations: 2.289 MB / 3.505 GB, free: 19 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/8.336, allocations: 114.3 kB / 3.505 GB, free: 18.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.74e-05/8.336, allocations: 56.78 kB / 3.505 GB, free: 18.83 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004132/8.336, allocations: 485.5 kB / 3.505 GB, free: 18.26 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/8.336, allocations: 30.56 kB / 3.505 GB, free: 18.22 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 2.064e-06/8.336, allocations: 0 / 3.505 GB, free: 18.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.0007877/8.337, allocations: 225.2 kB / 3.506 GB, free: 18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/8.337, allocations: 110.8 kB / 3.506 GB, free: 17.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/8.338, allocations: 223.4 kB / 3.506 GB, free: 17.64 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/8.338, allocations: 25.92 kB / 3.506 GB, free: 17.61 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.817e-05/8.338, allocations: 195.4 kB / 3.506 GB, free: 17.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/8.338, allocations: 39.48 kB / 3.506 GB, free: 17.37 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.182e-05/8.338, allocations: 0 / 3.506 GB, free: 17.37 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.623e-05/8.338, allocations: 338.7 kB / 3.506 GB, free: 17.03 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.213e-05/8.338, allocations: 51.92 kB / 3.506 GB, free: 16.98 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/8.338, allocations: 163.4 kB / 3.507 GB, free: 16.77 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/8.338, allocations: 89.12 kB / 3.507 GB, free: 16.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/8.338, allocations: 0 / 3.507 GB, free: 16.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007329/8.339, allocations: 308.9 kB / 3.507 GB, free: 16.37 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/8.339, allocations: 4 kB / 3.507 GB, free: 16.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/8.339, allocations: 4 kB / 3.507 GB, free: 16.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/8.339, allocations: 4 kB / 3.507 GB, free: 16.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/8.339, allocations: 76.36 kB / 3.507 GB, free: 16.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/8.339, allocations: 8 kB / 3.507 GB, free: 16.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/8.34, allocations: 51.66 kB / 3.507 GB, free: 16.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/8.34, allocations: 12 kB / 3.507 GB, free: 16.21 MB / 0.4948 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.912e-05/8.34, allocations: 116.8 kB / 3.507 GB, free: 16.09 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003253/8.34, allocations: 103.6 kB / 3.507 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007573/8.341, allocations: 0.6236 MB / 3.508 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/8.341, allocations: 11.98 kB / 3.508 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/8.341, allocations: 3.906 kB / 3.508 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/8.341, allocations: 0 / 3.508 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005493/8.342, allocations: 394.7 kB / 3.508 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/8.342, allocations: 0 / 3.508 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/8.342, allocations: 47.97 kB / 3.508 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/8.342, allocations: 0 / 3.508 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/8.342, allocations: 15.86 kB / 3.508 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/8.342, allocations: 0 / 3.508 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/8.342, allocations: 0 / 3.508 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008419/8.343, allocations: 0.6183 MB / 3.509 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001057/8.344, allocations: 1.048 MB / 3.51 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/8.344, allocations: 100.7 kB / 3.51 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.583e-05/8.344, allocations: 0 / 3.51 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/8.344, allocations: 35.88 kB / 3.51 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.35e-05/8.344, allocations: 19.97 kB / 3.51 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/8.344, allocations: 11.92 kB / 3.51 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001511/8.345, allocations: 175.1 kB / 3.51 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006625/8.351, allocations: 0.9483 MB / 3.511 GB, free: 11.86 MB / 0.4948 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.009312/8.361, allocations: 1.438 MB / 3.513 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006649/8.361, allocations: 307.8 kB / 3.513 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/8.361, allocations: 0 / 3.513 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002845/8.362, allocations: 267.9 kB / 3.513 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000879/8.362, allocations: 123.8 kB / 3.513 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/8.364, allocations: 0.5166 MB / 3.514 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004847/8.364, allocations: 0.8575 MB / 3.515 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of SimCode: time 3.81e-07/8.364, allocations: 0 / 3.515 GB, free: 8.406 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1)