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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001315/0.001315, allocations: 198.6 kB / 8.539 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.193/1.193, allocations: 225.5 MB / 234.4 MB, free: 3.406 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008908/0.0008909, allocations: 91.14 kB / 286.3 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1763/0.1763, allocations: 45.14 MB / 383.3 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2307/0.4069, allocations: 69.37 MB / 452.7 MB, free: 76.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09831/0.5053, allocations: 63.23 MB / 0.5039 GB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.551/5.057, allocations: 2.759 GB / 3.263 GB, free: 152.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/5.057, allocations: 86.53 kB / 3.263 GB, free: 152.9 MB / 0.5261 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.7735/5.831, allocations: 292.8 MB / 3.549 GB, free: 76.86 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/5.831, allocations: 8 kB / 3.549 GB, free: 76.85 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/5.832, allocations: 147.4 kB / 3.549 GB, free: 76.71 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004461/5.832, allocations: 332.5 kB / 3.55 GB, free: 76.34 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/5.832, allocations: 12 kB / 3.55 GB, free: 76.33 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/5.832, allocations: 16 kB / 3.55 GB, free: 76.31 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000352/5.833, allocations: 208.8 kB / 3.55 GB, free: 76.11 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000377/5.833, allocations: 309.3 kB / 3.55 GB, free: 75.77 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/5.833, allocations: 0 / 3.55 GB, free: 75.77 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/5.833, allocations: 4 kB / 3.55 GB, free: 75.76 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/5.833, allocations: 4 kB / 3.55 GB, free: 75.76 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002263/5.835, allocations: 2.298 MB / 3.552 GB, free: 73.27 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/5.836, allocations: 106.5 kB / 3.553 GB, free: 73.16 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.45e-05/5.836, allocations: 56.84 kB / 3.553 GB, free: 73.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003217/5.836, allocations: 480.4 kB / 3.553 GB, free: 72.54 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/5.836, allocations: 30.78 kB / 3.553 GB, free: 72.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/5.836, allocations: 3.938 kB / 3.553 GB, free: 72.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12): time 0.0006607/5.837, allocations: 221.3 kB / 3.553 GB, free: 72.28 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/5.837, allocations: 106.8 kB / 3.553 GB, free: 72.15 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/5.837, allocations: 235.2 kB / 3.554 GB, free: 71.92 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/5.837, allocations: 25.7 kB / 3.554 GB, free: 71.89 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.024e-05/5.837, allocations: 191.5 kB / 3.554 GB, free: 71.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/5.837, allocations: 35.45 kB / 3.554 GB, free: 71.66 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.028e-05/5.837, allocations: 7.938 kB / 3.554 GB, free: 71.65 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.623e-05/5.837, allocations: 334.8 kB / 3.554 GB, free: 71.32 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.912e-05/5.837, allocations: 48 kB / 3.554 GB, free: 71.27 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/5.837, allocations: 164.3 kB / 3.554 GB, free: 71.05 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/5.838, allocations: 79.92 kB / 3.555 GB, free: 70.98 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/5.838, allocations: 4 kB / 3.555 GB, free: 70.97 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006733/5.838, allocations: 313 kB / 3.555 GB, free: 70.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/5.838, allocations: 4 kB / 3.555 GB, free: 70.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/5.838, allocations: 4 kB / 3.555 GB, free: 70.65 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/5.838, allocations: 4 kB / 3.555 GB, free: 70.65 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/5.839, allocations: 72.36 kB / 3.555 GB, free: 70.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/5.839, allocations: 11.94 kB / 3.555 GB, free: 70.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/5.839, allocations: 47.66 kB / 3.555 GB, free: 70.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/5.839, allocations: 16 kB / 3.555 GB, free: 70.5 MB / 0.5261 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 6.931e-05/5.839, allocations: 112.8 kB / 3.555 GB, free: 70.39 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002783/5.839, allocations: 99.62 kB / 3.555 GB, free: 70.29 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006617/5.84, allocations: 0.6313 MB / 3.556 GB, free: 69.64 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/5.84, allocations: 11.98 kB / 3.556 GB, free: 69.63 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/5.84, allocations: 3.906 kB / 3.556 GB, free: 69.63 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/5.84, allocations: 0 / 3.556 GB, free: 69.63 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003114/5.84, allocations: 402 kB / 3.556 GB, free: 69.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/5.84, allocations: 3.938 kB / 3.556 GB, free: 69.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/5.841, allocations: 47.91 kB / 3.556 GB, free: 69.15 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/5.841, allocations: 0 / 3.556 GB, free: 69.15 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/5.841, allocations: 7.984 kB / 3.556 GB, free: 69.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/5.841, allocations: 0 / 3.556 GB, free: 69.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/5.841, allocations: 0 / 3.556 GB, free: 69.14 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006961/5.841, allocations: 0.6183 MB / 3.557 GB, free: 68.51 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008934/5.842, allocations: 1.048 MB / 3.558 GB, free: 67.44 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/5.842, allocations: 108.7 kB / 3.558 GB, free: 67.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/5.842, allocations: 0 / 3.558 GB, free: 67.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/5.843, allocations: 31.88 kB / 3.558 GB, free: 67.28 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.391e-05/5.843, allocations: 19.97 kB / 3.558 GB, free: 67.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/5.843, allocations: 11.98 kB / 3.558 GB, free: 67.25 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0001135/5.843, allocations: 167.1 kB / 3.558 GB, free: 67.09 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004445/5.847, allocations: 0.9783 MB / 3.559 GB, free: 66.11 MB / 0.5261 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.004599/5.852, allocations: 1.446 MB / 3.561 GB, free: 64.77 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003804/5.852, allocations: 303.8 kB / 3.561 GB, free: 64.47 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/5.852, allocations: 0 / 3.561 GB, free: 64.47 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001942/5.852, allocations: 276.7 kB / 3.561 GB, free: 64.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00067/5.853, allocations: 113.5 kB / 3.561 GB, free: 64.09 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007456/5.854, allocations: 0.5124 MB / 3.562 GB, free: 63.54 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002707/5.854, allocations: 0.8497 MB / 3.563 GB, free: 62.66 MB / 0.5261 GB Notification: Performance of SimCode: time 2.7e-07/5.854, allocations: 0 / 3.563 GB, free: 62.66 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1)