Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7955/0.7955, allocations: 141.8 MB / 149.1 MB, free: 3.988 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 193.2 kB / 181.9 MB, free: 15.7 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 221.3 MB / 436 MB, free: 8.816 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 99.28 kB / 0.507 GB, free: 24.17 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001911/0.001911, allocations: 285.9 kB / 0.5884 GB, free: 11.84 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.293e-05/1.32e-05, allocations: 4 kB / 0.6759 GB, free: 2.195 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5211/0.5211, allocations: 82.75 MB / 0.7567 GB, free: 112.4 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.472/4.993, allocations: 1.872 GB / 2.629 GB, free: 204.5 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/4.993, allocations: 91.14 kB / 2.629 GB, free: 204.4 MB / 0.6982 GB Notification: Performance of FrontEnd: time 1.416/6.409, allocations: 442.4 MB / 3.061 GB, free: 34.56 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 6.538e-05/6.41, allocations: 11.94 kB / 3.061 GB, free: 34.55 MB / 0.6982 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.002643/6.412, allocations: 0.8419 MB / 3.062 GB, free: 33.66 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/6.412, allocations: 9.281 kB / 3.062 GB, free: 33.66 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/6.414, allocations: 171.2 kB / 3.062 GB, free: 33.49 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002128/6.416, allocations: 0.6798 MB / 3.063 GB, free: 32.77 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/6.416, allocations: 12 kB / 3.063 GB, free: 32.76 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/6.416, allocations: 20 kB / 3.063 GB, free: 32.74 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006338/6.417, allocations: 257.4 kB / 3.063 GB, free: 32.49 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006514/6.417, allocations: 365.7 kB / 3.064 GB, free: 32.11 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/6.417, allocations: 7.938 kB / 3.064 GB, free: 32.1 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.374e-05/6.417, allocations: 0 / 3.064 GB, free: 32.1 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/6.417, allocations: 11.91 kB / 3.064 GB, free: 32.09 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002767/6.42, allocations: 1.945 MB / 3.066 GB, free: 29.98 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003385/6.421, allocations: 178.5 kB / 3.066 GB, free: 29.8 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/6.421, allocations: 116.8 kB / 3.066 GB, free: 29.68 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006186/6.421, allocations: 307.2 kB / 3.066 GB, free: 29.33 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/6.421, allocations: 42.78 kB / 3.066 GB, free: 29.28 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=24): time 3.577e-06/6.422, allocations: 0 / 3.066 GB, free: 29.28 MB / 0.6982 GB Notification: Performance of matching and sorting (n=24): time 0.001299/6.423, allocations: 402.3 kB / 3.067 GB, free: 28.88 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/6.423, allocations: 59.34 kB / 3.067 GB, free: 28.81 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/6.423, allocations: 227.5 kB / 3.067 GB, free: 28.59 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/6.423, allocations: 25.7 kB / 3.067 GB, free: 28.55 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/6.423, allocations: 212.1 kB / 3.067 GB, free: 28.34 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/6.423, allocations: 74.77 kB / 3.067 GB, free: 28.27 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.496e-05/6.423, allocations: 0 / 3.067 GB, free: 28.27 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001132/6.424, allocations: 346.8 kB / 3.067 GB, free: 27.92 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/6.424, allocations: 83.97 kB / 3.068 GB, free: 27.84 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/6.424, allocations: 174.3 kB / 3.068 GB, free: 27.63 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000533/6.425, allocations: 229.5 kB / 3.068 GB, free: 27.41 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/6.425, allocations: 0 / 3.068 GB, free: 27.41 MB / 0.6982 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008412/6.425, allocations: 416.8 kB / 3.068 GB, free: 27 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/6.425, allocations: 4 kB / 3.068 GB, free: 26.99 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/6.425, allocations: 4 kB / 3.068 GB, free: 26.99 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.019e-05/6.425, allocations: 4 kB / 3.068 GB, free: 26.98 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003337/6.426, allocations: 59.91 kB / 3.068 GB, free: 26.93 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/6.426, allocations: 4.219 kB / 3.068 GB, free: 26.92 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003791/6.426, allocations: 39.72 kB / 3.068 GB, free: 26.88 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-05/6.426, allocations: 16 kB / 3.068 GB, free: 26.87 MB / 0.6982 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.0001234/6.426, allocations: 112.9 kB / 3.069 GB, free: 26.75 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.119e-05/6.427, allocations: 39.52 kB / 3.069 GB, free: 26.71 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008719/6.427, allocations: 426.4 kB / 3.069 GB, free: 26.29 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/6.427, allocations: 3.938 kB / 3.069 GB, free: 26.28 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/6.427, allocations: 0 / 3.069 GB, free: 26.28 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/6.427, allocations: 7.922 kB / 3.069 GB, free: 26.27 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00162/6.429, allocations: 0.9375 MB / 3.07 GB, free: 25.27 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/6.429, allocations: 4 kB / 3.07 GB, free: 25.27 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002945/6.429, allocations: 48.14 kB / 3.07 GB, free: 25.22 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.629e-06/6.429, allocations: 4 kB / 3.07 GB, free: 25.21 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/6.429, allocations: 7.984 kB / 3.07 GB, free: 25.21 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/6.429, allocations: 4 kB / 3.07 GB, free: 25.2 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/6.429, allocations: 3.938 kB / 3.07 GB, free: 25.2 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001076/6.431, allocations: 0.7441 MB / 3.071 GB, free: 24.38 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/6.431, allocations: 136.6 kB / 3.071 GB, free: 24.23 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.218e-05/6.431, allocations: 0 / 3.071 GB, free: 24.23 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002833/6.431, allocations: 28.03 kB / 3.071 GB, free: 24.2 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.426e-05/6.431, allocations: 23.81 kB / 3.071 GB, free: 24.18 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/6.431, allocations: 12 kB / 3.071 GB, free: 24.17 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0002353/6.431, allocations: 179.1 kB / 3.071 GB, free: 23.99 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001151/6.433, allocations: 219.6 kB / 3.071 GB, free: 23.78 MB / 0.6982 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.003165/6.436, allocations: 1.725 MB / 3.073 GB, free: 21.98 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0004393/6.436, allocations: 231.9 kB / 3.073 GB, free: 21.76 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/6.436, allocations: 0 / 3.073 GB, free: 21.76 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0001761/6.436, allocations: 127.8 kB / 3.073 GB, free: 21.63 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007128/6.437, allocations: 113.7 kB / 3.073 GB, free: 21.52 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/6.438, allocations: 0.563 MB / 3.074 GB, free: 20.91 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004228/6.439, allocations: 0.8729 MB / 3.075 GB, free: 20 MB / 0.6982 GB Notification: Performance of SimCode: time 4.41e-07/6.439, allocations: 0 / 3.075 GB, free: 20 MB / 0.6982 GB Notification: Performance of Templates: time 0.02432/6.463, allocations: 14.07 MB / 3.089 GB, free: 5.996 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)