Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.002193/0.002194, allocations: 186 kB / 7.801 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6433/0.6433, allocations: 90.85 MB / 99.07 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 221.4 MB / 342.8 MB, free: 5.102 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 105.3 kB / 415.5 MB, free: 9.805 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1807/0.1819, allocations: 78.44 MB / 494 MB, free: 11.44 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.5313, allocations: 72.3 MB / 0.553 GB, free: 44.83 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.76/4.292, allocations: 1.866 GB / 2.419 GB, free: 198.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/4.292, allocations: 87.95 kB / 2.419 GB, free: 198 MB / 0.6042 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.546/5.838, allocations: 443.2 MB / 2.851 GB, free: 117 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/5.838, allocations: 10.03 kB / 2.851 GB, free: 117 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/5.84, allocations: 166 kB / 2.852 GB, free: 116.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001606/5.841, allocations: 0.68 MB / 2.852 GB, free: 116.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/5.841, allocations: 17.14 kB / 2.852 GB, free: 116.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.952e-05/5.841, allocations: 22.09 kB / 2.852 GB, free: 116.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005631/5.842, allocations: 258.8 kB / 2.853 GB, free: 116.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005862/5.843, allocations: 370.8 kB / 2.853 GB, free: 116.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/5.843, allocations: 3.969 kB / 2.853 GB, free: 116.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.081e-05/5.843, allocations: 0 / 2.853 GB, free: 116.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/5.843, allocations: 7.188 kB / 2.853 GB, free: 116.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002162/5.845, allocations: 1.923 MB / 2.855 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/5.845, allocations: 180.5 kB / 2.855 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/5.845, allocations: 125.7 kB / 2.855 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005236/5.846, allocations: 305.2 kB / 2.855 GB, free: 115 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/5.846, allocations: 37.34 kB / 2.855 GB, free: 115 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=24): time 2.004e-06/5.846, allocations: 0 / 2.855 GB, free: 115 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24): time 0.00104/5.847, allocations: 411.6 kB / 2.856 GB, free: 114.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/5.847, allocations: 58.97 kB / 2.856 GB, free: 114.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/5.847, allocations: 221.6 kB / 2.856 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/5.847, allocations: 32.02 kB / 2.856 GB, free: 114.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/5.847, allocations: 202.3 kB / 2.856 GB, free: 114.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.79e-05/5.847, allocations: 80.53 kB / 2.856 GB, free: 114.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.295e-05/5.847, allocations: 0 / 2.856 GB, free: 114.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.749e-05/5.848, allocations: 348 kB / 2.857 GB, free: 114.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/5.848, allocations: 85.66 kB / 2.857 GB, free: 114.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/5.848, allocations: 166 kB / 2.857 GB, free: 114.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000495/5.848, allocations: 238.8 kB / 2.857 GB, free: 114.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/5.848, allocations: 0 / 2.857 GB, free: 114.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007351/5.849, allocations: 414.9 kB / 2.858 GB, free: 114.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/5.849, allocations: 9.438 kB / 2.858 GB, free: 114.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/5.849, allocations: 2.531 kB / 2.858 GB, free: 114.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/5.849, allocations: 7.031 kB / 2.858 GB, free: 114.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002926/5.849, allocations: 59.08 kB / 2.858 GB, free: 114.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/5.85, allocations: 3.906 kB / 2.858 GB, free: 114.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/5.85, allocations: 41.38 kB / 2.858 GB, free: 114.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.64e-05/5.85, allocations: 17.25 kB / 2.858 GB, free: 114.1 MB / 0.6042 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 9.413e-05/5.85, allocations: 112.1 kB / 2.858 GB, free: 114 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.467e-05/5.85, allocations: 34.25 kB / 2.858 GB, free: 114 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008346/5.851, allocations: 421.5 kB / 2.858 GB, free: 113.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/5.851, allocations: 3.812 kB / 2.858 GB, free: 113.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/5.851, allocations: 0 / 2.858 GB, free: 113.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/5.851, allocations: 3.75 kB / 2.858 GB, free: 113.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/5.852, allocations: 0.9401 MB / 2.859 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/5.852, allocations: 3.906 kB / 2.859 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/5.853, allocations: 53.14 kB / 2.859 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/5.853, allocations: 3.188 kB / 2.859 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/5.853, allocations: 6.844 kB / 2.859 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/5.853, allocations: 6.25 kB / 2.859 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/5.853, allocations: 3.156 kB / 2.859 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001026/5.854, allocations: 0.7456 MB / 2.86 GB, free: 113.3 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001442/5.855, allocations: 1.342 MB / 2.861 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/5.855, allocations: 133.3 kB / 2.861 GB, free: 112.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.239e-05/5.856, allocations: 3.844 kB / 2.861 GB, free: 112.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002732/5.856, allocations: 29.38 kB / 2.861 GB, free: 112.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.039e-05/5.856, allocations: 17.34 kB / 2.861 GB, free: 112.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/5.856, allocations: 7.531 kB / 2.861 GB, free: 112.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0001503/5.856, allocations: 183.4 kB / 2.862 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001849/5.858, allocations: 405.9 kB / 2.862 GB, free: 112.4 MB / 0.6042 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.00236/5.86, allocations: 1.721 MB / 2.864 GB, free: 112 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004002/5.861, allocations: 233.9 kB / 2.864 GB, free: 112 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/5.861, allocations: 3.281 kB / 2.864 GB, free: 112 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001596/5.861, allocations: 126.1 kB / 2.864 GB, free: 112 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000665/5.862, allocations: 118.4 kB / 2.864 GB, free: 112 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/5.863, allocations: 0.5617 MB / 2.865 GB, free: 111.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004006/5.863, allocations: 0.8797 MB / 2.866 GB, free: 111 MB / 0.6042 GB Notification: Performance of SimCode: time 4.61e-07/5.863, allocations: 2.375 kB / 2.866 GB, free: 111 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)