Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.59/1.59, allocations: 289.8 MB / 297.1 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001187/0.001187, allocations: 177.3 kB / 366.3 MB, free: 2 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.621/1.621, allocations: 205.1 MB / 0.6256 GB, free: 5.816 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008939/0.0008939, allocations: 74.2 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2841/0.285, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6953/0.9803, allocations: 116.3 MB / 0.9726 GB, free: 68.18 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.173/5.154, allocations: 2.062 GB / 3.035 GB, free: 13.68 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/5.154, allocations: 91.89 kB / 3.035 GB, free: 13.59 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 1.078/6.232, allocations: 298 MB / 3.326 GB, free: 95.93 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/6.232, allocations: 12 kB / 3.326 GB, free: 95.91 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003289/6.232, allocations: 63.52 kB / 3.326 GB, free: 95.85 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000456/6.233, allocations: 318 kB / 3.327 GB, free: 95.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/6.233, allocations: 12 kB / 3.327 GB, free: 95.49 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/6.233, allocations: 23.84 kB / 3.327 GB, free: 95.46 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002906/6.233, allocations: 149.2 kB / 3.327 GB, free: 95.32 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003649/6.234, allocations: 259.7 kB / 3.327 GB, free: 95.04 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/6.234, allocations: 3.938 kB / 3.327 GB, free: 95.04 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/6.234, allocations: 7.938 kB / 3.327 GB, free: 95.03 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/6.234, allocations: 8 kB / 3.327 GB, free: 95.02 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/6.235, allocations: 1.464 MB / 3.328 GB, free: 93.44 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/6.235, allocations: 94.5 kB / 3.328 GB, free: 93.34 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.896e-05/6.235, allocations: 68.83 kB / 3.329 GB, free: 93.27 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004894/6.236, allocations: 303.2 kB / 3.329 GB, free: 92.91 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.528e-05/6.236, allocations: 34.56 kB / 3.329 GB, free: 92.87 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/6.236, allocations: 0 / 3.329 GB, free: 92.87 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0005844/6.236, allocations: 208.9 kB / 3.329 GB, free: 92.66 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.875e-05/6.236, allocations: 55.41 kB / 3.329 GB, free: 92.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/6.236, allocations: 185.1 kB / 3.329 GB, free: 92.41 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/6.236, allocations: 29.7 kB / 3.329 GB, free: 92.38 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/6.237, allocations: 163.9 kB / 3.329 GB, free: 92.21 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/6.237, allocations: 43.39 kB / 3.33 GB, free: 92.17 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-06/6.237, allocations: 0 / 3.33 GB, free: 92.17 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.448e-05/6.237, allocations: 338.7 kB / 3.33 GB, free: 91.83 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.096e-05/6.237, allocations: 40 kB / 3.33 GB, free: 91.79 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.326e-05/6.237, allocations: 102.8 kB / 3.33 GB, free: 91.66 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/6.237, allocations: 91.91 kB / 3.33 GB, free: 91.57 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/6.237, allocations: 0 / 3.33 GB, free: 91.57 MB / 0.948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003116/6.237, allocations: 205.1 kB / 3.33 GB, free: 91.37 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/6.237, allocations: 5.25 kB / 3.33 GB, free: 91.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/6.237, allocations: 7.984 kB / 3.33 GB, free: 91.36 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/6.237, allocations: 0 / 3.33 GB, free: 91.36 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/6.238, allocations: 40.12 kB / 3.33 GB, free: 91.32 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/6.238, allocations: 7.938 kB / 3.33 GB, free: 91.31 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/6.238, allocations: 31.83 kB / 3.33 GB, free: 91.28 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/6.238, allocations: 8 kB / 3.33 GB, free: 91.27 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.793e-05/6.238, allocations: 105 kB / 3.33 GB, free: 91.16 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-05/6.238, allocations: 27.7 kB / 3.33 GB, free: 91.13 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003551/6.238, allocations: 203.6 kB / 3.331 GB, free: 90.93 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/6.238, allocations: 0 / 3.331 GB, free: 90.93 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/6.238, allocations: 0 / 3.331 GB, free: 90.93 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/6.238, allocations: 0 / 3.331 GB, free: 90.93 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007603/6.239, allocations: 0.6293 MB / 3.331 GB, free: 90.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/6.239, allocations: 0 / 3.331 GB, free: 90.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/6.239, allocations: 40.14 kB / 3.331 GB, free: 90.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/6.239, allocations: 4 kB / 3.331 GB, free: 90.19 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/6.239, allocations: 4 kB / 3.331 GB, free: 90.19 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/6.239, allocations: 4 kB / 3.331 GB, free: 90.18 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/6.239, allocations: 0 / 3.331 GB, free: 90.18 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003255/6.24, allocations: 413 kB / 3.332 GB, free: 89.7 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005638/6.24, allocations: 0.845 MB / 3.333 GB, free: 88.77 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.259e-05/6.24, allocations: 104.8 kB / 3.333 GB, free: 88.65 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.591e-05/6.24, allocations: 4 kB / 3.333 GB, free: 88.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/6.241, allocations: 15.98 kB / 3.333 GB, free: 88.63 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/6.241, allocations: 19.98 kB / 3.333 GB, free: 88.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/6.241, allocations: 4 kB / 3.333 GB, free: 88.61 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.754e-05/6.241, allocations: 145.2 kB / 3.333 GB, free: 88.46 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001321/6.242, allocations: 303.6 kB / 3.333 GB, free: 88.17 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.001532/6.244, allocations: 1.35 MB / 3.334 GB, free: 86.78 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002144/6.244, allocations: 111.9 kB / 3.335 GB, free: 86.67 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/6.244, allocations: 0 / 3.335 GB, free: 86.67 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.853e-05/6.244, allocations: 67.84 kB / 3.335 GB, free: 86.61 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005076/6.244, allocations: 91.78 kB / 3.335 GB, free: 86.52 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006617/6.245, allocations: 355.1 kB / 3.335 GB, free: 86.12 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002893/6.245, allocations: 0.8097 MB / 3.336 GB, free: 85.29 MB / 0.948 GB Notification: Performance of SimCode: time 2.81e-07/6.245, allocations: 3.938 kB / 3.336 GB, free: 85.29 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)