Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.051/2.051, allocations: 387.2 MB / 394.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 181.2 kB / 487 MB, free: 5.371 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.598/1.598, allocations: 221.3 MB / 0.7819 GB, free: 1.387 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 88.62 kB / 0.9213 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6468/0.6479, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.9204, allocations: 142.3 MB / 1.205 GB, free: 26.15 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.438/5.358, allocations: 1.912 GB / 3.117 GB, free: 395.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/5.359, allocations: 91.89 kB / 3.118 GB, free: 395.5 MB / 1.151 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.409/6.768, allocations: 443.3 MB / 3.55 GB, free: 301.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.822e-05/6.768, allocations: 7.625 kB / 3.55 GB, free: 301.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001702/6.769, allocations: 170.1 kB / 3.551 GB, free: 301.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00253/6.772, allocations: 0.6723 MB / 3.551 GB, free: 301.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.884e-05/6.772, allocations: 10.62 kB / 3.551 GB, free: 301.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/6.772, allocations: 22.41 kB / 3.551 GB, free: 301.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000667/6.773, allocations: 261.6 kB / 3.551 GB, free: 301.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007498/6.774, allocations: 371.3 kB / 3.552 GB, free: 301.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/6.774, allocations: 0 / 3.552 GB, free: 301.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.703e-05/6.774, allocations: 0 / 3.552 GB, free: 301.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/6.774, allocations: 10.81 kB / 3.552 GB, free: 301.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002999/6.777, allocations: 1.94 MB / 3.554 GB, free: 300 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003139/6.777, allocations: 178.6 kB / 3.554 GB, free: 300 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/6.777, allocations: 122.6 kB / 3.554 GB, free: 300 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005736/6.778, allocations: 310.5 kB / 3.554 GB, free: 299.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/6.778, allocations: 40.78 kB / 3.554 GB, free: 299.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=24): time 3.056e-06/6.778, allocations: 0 / 3.554 GB, free: 299.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=24): time 0.001143/6.779, allocations: 404 kB / 3.555 GB, free: 299.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/6.779, allocations: 51.41 kB / 3.555 GB, free: 299.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/6.779, allocations: 234 kB / 3.555 GB, free: 299.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/6.779, allocations: 28.77 kB / 3.555 GB, free: 299.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/6.78, allocations: 203.7 kB / 3.555 GB, free: 299.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.755e-05/6.78, allocations: 75.61 kB / 3.555 GB, free: 299.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.393e-05/6.78, allocations: 3.906 kB / 3.555 GB, free: 299.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.682e-05/6.78, allocations: 343 kB / 3.556 GB, free: 298.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/6.78, allocations: 90.31 kB / 3.556 GB, free: 298.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/6.78, allocations: 173.8 kB / 3.556 GB, free: 298.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005105/6.781, allocations: 229.9 kB / 3.556 GB, free: 298.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/6.781, allocations: 3.719 kB / 3.556 GB, free: 298.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008547/6.781, allocations: 406.9 kB / 3.557 GB, free: 298.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/6.781, allocations: 3.688 kB / 3.557 GB, free: 298.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/6.782, allocations: 3.812 kB / 3.557 GB, free: 298.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/6.782, allocations: 6.562 kB / 3.557 GB, free: 298.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/6.782, allocations: 60.06 kB / 3.557 GB, free: 298.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/6.782, allocations: 12.83 kB / 3.557 GB, free: 298.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003506/6.782, allocations: 45.41 kB / 3.557 GB, free: 298.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-05/6.782, allocations: 13.09 kB / 3.557 GB, free: 298.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * Single equations (assignments): 31 * 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 0.0001009/6.782, allocations: 115.7 kB / 3.557 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.075e-05/6.782, allocations: 37.09 kB / 3.557 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000835/6.783, allocations: 421.9 kB / 3.557 GB, free: 298.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/6.783, allocations: 0 / 3.557 GB, free: 298.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/6.783, allocations: 0 / 3.557 GB, free: 298.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/6.783, allocations: 7.688 kB / 3.557 GB, free: 298.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/6.785, allocations: 0.9365 MB / 3.558 GB, free: 298.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/6.785, allocations: 0 / 3.558 GB, free: 298.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002967/6.785, allocations: 57.47 kB / 3.558 GB, free: 298.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/6.785, allocations: 3.719 kB / 3.558 GB, free: 298.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/6.785, allocations: 7.375 kB / 3.558 GB, free: 298.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/6.785, allocations: 2.938 kB / 3.558 GB, free: 298.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/6.785, allocations: 6.906 kB / 3.558 GB, free: 298.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001262/6.787, allocations: 0.7381 MB / 3.559 GB, free: 298 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0019/6.788, allocations: 1.346 MB / 3.56 GB, free: 297.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/6.789, allocations: 136 kB / 3.56 GB, free: 297.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.959e-05/6.789, allocations: 0 / 3.56 GB, free: 297.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002833/6.789, allocations: 36.98 kB / 3.56 GB, free: 297.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.809e-05/6.789, allocations: 18.28 kB / 3.56 GB, free: 297.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/6.789, allocations: 7.219 kB / 3.56 GB, free: 297.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0001571/6.789, allocations: 181.5 kB / 3.561 GB, free: 297.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001862/6.791, allocations: 399 kB / 3.561 GB, free: 297.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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.00231/6.793, allocations: 1.719 MB / 3.563 GB, free: 296.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0004723/6.794, allocations: 228 kB / 3.563 GB, free: 296.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/6.794, allocations: 0 / 3.563 GB, free: 296.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001792/6.794, allocations: 129 kB / 3.563 GB, free: 296.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000732/6.795, allocations: 120.8 kB / 3.563 GB, free: 296.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/6.796, allocations: 0.562 MB / 3.564 GB, free: 296.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004834/6.797, allocations: 0.8815 MB / 3.565 GB, free: 295.7 MB / 1.151 GB Notification: Performance of SimCode: time 3.41e-07/6.797, allocations: 0 / 3.565 GB, free: 295.7 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)