Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.381/1.381, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.001066/0.001067, allocations: 189.2 kB / 361.1 MB, free: 7.098 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.164/1.164, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0008713/0.0008713, allocations: 91.5 kB / 0.7325 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1952/0.1961, allocations: 121.4 MB / 0.8511 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4894/0.6855, allocations: 115.3 MB / 0.9637 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.018/3.704, allocations: 2.108 GB / 3.072 GB, free: 29.61 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/3.704, allocations: 80.89 kB / 3.072 GB, free: 29.53 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 1.482/5.186, allocations: 439.3 MB / 3.501 GB, free: 225.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/5.186, allocations: 12.12 kB / 3.501 GB, free: 225.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/5.187, allocations: 165.2 kB / 3.501 GB, free: 225.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/5.188, allocations: 0.676 MB / 3.502 GB, free: 225.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/5.188, allocations: 11.09 kB / 3.502 GB, free: 225.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.147e-05/5.188, allocations: 25.98 kB / 3.502 GB, free: 225.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003937/5.188, allocations: 254.7 kB / 3.502 GB, free: 225.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000449/5.189, allocations: 365.5 kB / 3.502 GB, free: 225.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/5.189, allocations: 0 / 3.502 GB, free: 225.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/5.189, allocations: 3.844 kB / 3.502 GB, free: 225.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/5.189, allocations: 14.59 kB / 3.502 GB, free: 225.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001537/5.191, allocations: 1.939 MB / 3.504 GB, free: 224 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/5.191, allocations: 179.9 kB / 3.504 GB, free: 224 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/5.191, allocations: 122 kB / 3.504 GB, free: 224 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004375/5.191, allocations: 312.4 kB / 3.505 GB, free: 223.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/5.191, allocations: 36.56 kB / 3.505 GB, free: 223.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=24): time 1.272e-06/5.191, allocations: 3.281 kB / 3.505 GB, free: 223.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=24): time 0.0008712/5.192, allocations: 405 kB / 3.505 GB, free: 223.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.793e-05/5.192, allocations: 55.94 kB / 3.505 GB, free: 223.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/5.192, allocations: 230 kB / 3.505 GB, free: 223.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/5.193, allocations: 29.64 kB / 3.505 GB, free: 223.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.534e-05/5.193, allocations: 203.1 kB / 3.506 GB, free: 223.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/5.193, allocations: 77.22 kB / 3.506 GB, free: 223.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.155e-05/5.193, allocations: 0 / 3.506 GB, free: 223.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.938e-05/5.193, allocations: 344.9 kB / 3.506 GB, free: 222.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/5.193, allocations: 83.53 kB / 3.506 GB, free: 222.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/5.193, allocations: 176.7 kB / 3.506 GB, free: 222.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004376/5.193, allocations: 237.9 kB / 3.506 GB, free: 222.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/5.193, allocations: 3.938 kB / 3.506 GB, free: 222.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006742/5.194, allocations: 403.5 kB / 3.507 GB, free: 222.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/5.194, allocations: 5.375 kB / 3.507 GB, free: 222.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/5.194, allocations: 3.875 kB / 3.507 GB, free: 222.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/5.194, allocations: 6.766 kB / 3.507 GB, free: 222.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/5.194, allocations: 63.59 kB / 3.507 GB, free: 222.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/5.194, allocations: 3.375 kB / 3.507 GB, free: 222.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/5.195, allocations: 40.8 kB / 3.507 GB, free: 222.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.575e-05/5.195, allocations: 21.77 kB / 3.507 GB, free: 222.8 MB / 0.948 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 6.951e-05/5.195, allocations: 110.6 kB / 3.507 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-05/5.195, allocations: 33.84 kB / 3.507 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007324/5.196, allocations: 424.2 kB / 3.508 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/5.196, allocations: 3.938 kB / 3.508 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/5.196, allocations: 0 / 3.508 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/5.196, allocations: 3.281 kB / 3.508 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/5.197, allocations: 0.9354 MB / 3.508 GB, free: 222.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/5.197, allocations: 2.531 kB / 3.508 GB, free: 222.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/5.197, allocations: 49.34 kB / 3.508 GB, free: 222.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/5.197, allocations: 6.906 kB / 3.509 GB, free: 222.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.853e-05/5.197, allocations: 3.938 kB / 3.509 GB, free: 222.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/5.197, allocations: 9.641 kB / 3.509 GB, free: 222.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/5.197, allocations: 2.531 kB / 3.509 GB, free: 222.3 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008269/5.198, allocations: 0.7393 MB / 3.509 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001258/5.199, allocations: 1.343 MB / 3.511 GB, free: 221.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/5.199, allocations: 132.4 kB / 3.511 GB, free: 221.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.081e-05/5.199, allocations: 14.86 kB / 3.511 GB, free: 221.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/5.2, allocations: 24.73 kB / 3.511 GB, free: 221.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/5.2, allocations: 22.28 kB / 3.511 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/5.2, allocations: 11.31 kB / 3.511 GB, free: 221.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0001188/5.2, allocations: 177.4 kB / 3.511 GB, free: 221.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001381/5.201, allocations: 411 kB / 3.511 GB, free: 221.1 MB / 0.948 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.001773/5.203, allocations: 1.714 MB / 3.513 GB, free: 220.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000327/5.203, allocations: 229.1 kB / 3.513 GB, free: 220.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/5.203, allocations: 0 / 3.513 GB, free: 220.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/5.204, allocations: 122 kB / 3.513 GB, free: 220.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005695/5.204, allocations: 125.9 kB / 3.513 GB, free: 220.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009162/5.205, allocations: 0.5634 MB / 3.514 GB, free: 220.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003652/5.206, allocations: 0.8753 MB / 3.515 GB, free: 219.7 MB / 0.948 GB Notification: Performance of SimCode: time 4.61e-07/5.206, allocations: 3.062 kB / 3.515 GB, free: 219.7 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)