Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") [: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/BuildSysPro 3.5.0/package.mo): time 0.7594/0.7594, allocations: 127.4 MB / 134.6 MB, free: 4.113 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001242/0.001243, allocations: 185.2 kB / 164.4 MB, free: 6.891 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.841/1.841, allocations: 205.1 MB / 399.1 MB, free: 6.152 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 91.06 kB / 476.3 MB, free: 8.91 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.965e-06/8.005e-06, allocations: 0 / 0.546 GB, free: 42.78 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1839, allocations: 76.76 MB / 0.6209 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.985/5.169, allocations: 2.185 GB / 2.806 GB, free: 182.3 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/5.169, allocations: 92.23 kB / 2.806 GB, free: 182.3 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.236/6.405, allocations: 434.9 MB / 3.231 GB, free: 47.84 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.1e-05/6.406, allocations: 15.94 kB / 3.231 GB, free: 47.83 MB / 0.6511 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 0.001979/6.408, allocations: 0.9066 MB / 3.232 GB, free: 46.87 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/6.408, allocations: 8.031 kB / 3.232 GB, free: 46.86 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/6.409, allocations: 171.2 kB / 3.232 GB, free: 46.69 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007742/6.41, allocations: 417.5 kB / 3.232 GB, free: 46.25 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/6.41, allocations: 16 kB / 3.232 GB, free: 46.24 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.918e-05/6.41, allocations: 24.22 kB / 3.232 GB, free: 46.21 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005254/6.41, allocations: 313.5 kB / 3.233 GB, free: 45.91 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004877/6.411, allocations: 314.1 kB / 3.233 GB, free: 45.59 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/6.411, allocations: 0 / 3.233 GB, free: 45.59 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/6.411, allocations: 0 / 3.233 GB, free: 45.59 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/6.411, allocations: 11.91 kB / 3.233 GB, free: 45.58 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/6.413, allocations: 1.324 MB / 3.234 GB, free: 44.18 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/6.413, allocations: 279 kB / 3.235 GB, free: 43.9 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/6.413, allocations: 141.4 kB / 3.235 GB, free: 43.76 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005644/6.414, allocations: 307.2 kB / 3.235 GB, free: 43.41 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/6.414, allocations: 38.55 kB / 3.235 GB, free: 43.36 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=32): time 2.444e-06/6.414, allocations: 7.938 kB / 3.235 GB, free: 43.35 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32): time 0.00116/6.415, allocations: 0.4969 MB / 3.236 GB, free: 42.85 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.845e-05/6.415, allocations: 55.41 kB / 3.236 GB, free: 42.78 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/6.415, allocations: 207.6 kB / 3.236 GB, free: 42.57 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/6.415, allocations: 29.7 kB / 3.236 GB, free: 42.54 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.659e-05/6.415, allocations: 180.5 kB / 3.236 GB, free: 42.36 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.846e-05/6.415, allocations: 110.3 kB / 3.236 GB, free: 42.25 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.881e-05/6.415, allocations: 0 / 3.236 GB, free: 42.25 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.424e-05/6.415, allocations: 346.8 kB / 3.236 GB, free: 41.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/6.416, allocations: 124.1 kB / 3.237 GB, free: 41.78 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/6.416, allocations: 158.5 kB / 3.237 GB, free: 41.62 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007269/6.417, allocations: 304 kB / 3.237 GB, free: 41.32 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/6.417, allocations: 0 / 3.237 GB, free: 41.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009529/6.417, allocations: 0.5198 MB / 3.238 GB, free: 40.79 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/6.418, allocations: 7.984 kB / 3.238 GB, free: 40.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/6.418, allocations: 7.984 kB / 3.238 GB, free: 40.78 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/6.418, allocations: 0 / 3.238 GB, free: 40.78 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003361/6.418, allocations: 67.91 kB / 3.238 GB, free: 40.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/6.418, allocations: 0 / 3.238 GB, free: 40.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002962/6.418, allocations: 43.75 kB / 3.238 GB, free: 40.67 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.562e-05/6.418, allocations: 19.81 kB / 3.238 GB, free: 40.65 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (senHLat_flow.i_x,senHSen_flow.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 2 * 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.298e-05/6.418, allocations: 109 kB / 3.238 GB, free: 40.54 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.983e-05/6.418, allocations: 39.55 kB / 3.238 GB, free: 40.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009894/6.419, allocations: 0.5354 MB / 3.238 GB, free: 39.95 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/6.419, allocations: 4 kB / 3.238 GB, free: 39.95 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/6.419, allocations: 0 / 3.238 GB, free: 39.95 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/6.419, allocations: 3.984 kB / 3.238 GB, free: 39.95 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/6.421, allocations: 1.057 MB / 3.239 GB, free: 38.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/6.421, allocations: 0 / 3.239 GB, free: 38.83 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003472/6.421, allocations: 67.91 kB / 3.239 GB, free: 38.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/6.421, allocations: 4 kB / 3.239 GB, free: 38.76 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/6.422, allocations: 4 kB / 3.239 GB, free: 38.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/6.422, allocations: 7.984 kB / 3.239 GB, free: 38.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/6.422, allocations: 192 / 3.239 GB, free: 38.75 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001151/6.423, allocations: 0.8855 MB / 3.24 GB, free: 37.79 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.697e-05/6.423, allocations: 104.7 kB / 3.24 GB, free: 37.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.622e-05/6.423, allocations: 7.984 kB / 3.24 GB, free: 37.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002792/6.423, allocations: 23.98 kB / 3.24 GB, free: 37.64 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.395e-05/6.423, allocations: 23.88 kB / 3.241 GB, free: 37.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/6.423, allocations: 12 kB / 3.241 GB, free: 37.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001299/6.423, allocations: 175.1 kB / 3.241 GB, free: 37.43 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008924/6.424, allocations: 239.6 kB / 3.241 GB, free: 37.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (32): * Single equations (assignments): 32 * 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.002422/6.427, allocations: 1.749 MB / 3.243 GB, free: 35.58 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005023/6.427, allocations: 363.4 kB / 3.243 GB, free: 35.21 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/6.427, allocations: 4 kB / 3.243 GB, free: 35.21 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001994/6.427, allocations: 155.8 kB / 3.243 GB, free: 35.05 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006491/6.428, allocations: 104.9 kB / 3.243 GB, free: 34.95 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/6.429, allocations: 0.7692 MB / 3.244 GB, free: 34.14 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004175/6.43, allocations: 0.8885 MB / 3.245 GB, free: 33.23 MB / 0.6511 GB Notification: Performance of SimCode: time 3.31e-07/6.43, allocations: 0 / 3.245 GB, free: 33.23 MB / 0.6511 GB Notification: Performance of Templates: time 0.02425/6.454, allocations: 14.96 MB / 3.259 GB, free: 18.38 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)