Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",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 7.0.3-maint.7.0.x/package.mo): time 1.248/1.248, allocations: 249.4 MB / 256.7 MB, free: 6.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000967/0.000967, allocations: 196.4 kB / 316 MB, free: 3.508 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.146/1.146, allocations: 205.2 MB / 0.5667 GB, free: 15.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008047/0.0008052, allocations: 88.52 kB / 0.671 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3123/0.3131, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.4664, allocations: 106.3 MB / 0.8846 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.427/3.893, allocations: 2.228 GB / 3.113 GB, free: 175 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002054/3.893, allocations: 91.55 kB / 3.113 GB, free: 175 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 1.108/5.001, allocations: 425.7 MB / 3.529 GB, free: 89.18 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/5.001, allocations: 8 kB / 3.529 GB, free: 89.17 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/5.002, allocations: 171.2 kB / 3.529 GB, free: 89 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/5.004, allocations: 0.7023 MB / 3.529 GB, free: 88.26 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/5.004, allocations: 12 kB / 3.529 GB, free: 88.25 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.601e-05/5.004, allocations: 24 kB / 3.529 GB, free: 88.22 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004866/5.004, allocations: 289.5 kB / 3.53 GB, free: 87.94 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004536/5.005, allocations: 306.1 kB / 3.53 GB, free: 87.63 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/5.005, allocations: 3.938 kB / 3.53 GB, free: 87.63 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/5.005, allocations: 4 kB / 3.53 GB, free: 87.62 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/5.005, allocations: 12 kB / 3.53 GB, free: 87.61 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/5.007, allocations: 1.312 MB / 3.531 GB, free: 86.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003212/5.007, allocations: 244.6 kB / 3.532 GB, free: 85.95 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/5.007, allocations: 141.4 kB / 3.532 GB, free: 85.81 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004709/5.008, allocations: 311.5 kB / 3.532 GB, free: 85.45 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/5.008, allocations: 38.83 kB / 3.532 GB, free: 85.41 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 3.216e-06/5.008, allocations: 3.984 kB / 3.532 GB, free: 85.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.001139/5.009, allocations: 499.3 kB / 3.533 GB, free: 84.91 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.092e-05/5.009, allocations: 55.41 kB / 3.533 GB, free: 84.84 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/5.009, allocations: 211.6 kB / 3.533 GB, free: 84.63 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/5.009, allocations: 33.7 kB / 3.533 GB, free: 84.59 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.288e-05/5.009, allocations: 176.4 kB / 3.533 GB, free: 84.42 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.253e-05/5.009, allocations: 122.2 kB / 3.533 GB, free: 84.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.439e-05/5.009, allocations: 0 / 3.533 GB, free: 84.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.78e-05/5.009, allocations: 338.8 kB / 3.533 GB, free: 83.96 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/5.009, allocations: 108.9 kB / 3.534 GB, free: 83.85 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/5.01, allocations: 172.6 kB / 3.534 GB, free: 83.66 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005964/5.01, allocations: 276 kB / 3.534 GB, free: 83.39 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/5.01, allocations: 0 / 3.534 GB, free: 83.39 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008576/5.011, allocations: 0.4926 MB / 3.534 GB, free: 82.89 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/5.011, allocations: 7.938 kB / 3.534 GB, free: 82.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/5.011, allocations: 0 / 3.534 GB, free: 82.89 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/5.011, allocations: 0 / 3.534 GB, free: 82.89 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003188/5.012, allocations: 75.84 kB / 3.535 GB, free: 82.81 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/5.012, allocations: 4 kB / 3.535 GB, free: 82.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/5.012, allocations: 35.81 kB / 3.535 GB, free: 82.77 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.371e-05/5.012, allocations: 16 kB / 3.535 GB, free: 82.76 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.382e-05/5.012, allocations: 108.9 kB / 3.535 GB, free: 82.64 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.697e-05/5.012, allocations: 35.53 kB / 3.535 GB, free: 82.61 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009584/5.013, allocations: 0.5239 MB / 3.535 GB, free: 82.08 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/5.013, allocations: 7.938 kB / 3.535 GB, free: 82.07 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/5.013, allocations: 0 / 3.535 GB, free: 82.07 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/5.013, allocations: 11.89 kB / 3.535 GB, free: 82.06 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/5.015, allocations: 1.06 MB / 3.536 GB, free: 80.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/5.015, allocations: 8.031 kB / 3.536 GB, free: 80.93 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003302/5.015, allocations: 67.91 kB / 3.536 GB, free: 80.86 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/5.015, allocations: 4 kB / 3.536 GB, free: 80.86 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/5.015, allocations: 11.92 kB / 3.536 GB, free: 80.85 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/5.015, allocations: 4 kB / 3.536 GB, free: 80.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/5.015, allocations: 0 / 3.536 GB, free: 80.84 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001219/5.016, allocations: 0.8799 MB / 3.537 GB, free: 79.88 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001624/5.018, allocations: 1.487 MB / 3.539 GB, free: 78.31 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/5.018, allocations: 148.5 kB / 3.539 GB, free: 78.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.567e-05/5.018, allocations: 7.984 kB / 3.539 GB, free: 78.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002906/5.018, allocations: 23.98 kB / 3.539 GB, free: 78.11 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.434e-05/5.018, allocations: 23.97 kB / 3.539 GB, free: 78.09 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/5.018, allocations: 12 kB / 3.539 GB, free: 78.08 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001184/5.019, allocations: 171.1 kB / 3.539 GB, free: 77.91 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001627/5.02, allocations: 411.6 kB / 3.539 GB, free: 77.51 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (senH_flow.h_out,senH.h_out,senHLat_flow.h_out,senHSen_flow.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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.002055/5.022, allocations: 1.712 MB / 3.541 GB, free: 75.73 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004381/5.023, allocations: 296.2 kB / 3.541 GB, free: 75.44 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/5.023, allocations: 3.938 kB / 3.541 GB, free: 75.43 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001918/5.023, allocations: 155.8 kB / 3.542 GB, free: 75.28 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000636/5.024, allocations: 118.5 kB / 3.542 GB, free: 75.17 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/5.025, allocations: 0.7697 MB / 3.542 GB, free: 74.36 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003873/5.025, allocations: 0.8967 MB / 3.543 GB, free: 73.43 MB / 0.8698 GB Notification: Performance of SimCode: time 3.91e-07/5.025, allocations: 4 kB / 3.543 GB, free: 73.43 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)