Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.2903/0.2903, allocations: 54.39 MB / 61.67 MB, free: 11.17 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001414/0.001414, allocations: 184.8 kB / 75.38 MB, free: 1.531 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.788/1.788, allocations: 194.2 MB / 283.2 MB, free: 3.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001665/0.001665, allocations: 107.9 kB / 341.3 MB, free: 9.457 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.137e-05/1.14e-05, allocations: 4 kB / 404.9 MB, free: 27.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1504, allocations: 57.65 MB / 462.6 MB, free: 1.984 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.695/4.846, allocations: 2.167 GB / 2.619 GB, free: 35.69 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003305/4.846, allocations: 87.89 kB / 2.619 GB, free: 35.61 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.595/6.441, allocations: 428 MB / 3.037 GB, free: 5.777 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.319e-05/6.442, allocations: 24.09 kB / 3.037 GB, free: 5.754 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002598/6.444, allocations: 0.9906 MB / 3.038 GB, free: 4.703 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.264e-05/6.444, allocations: 11.97 kB / 3.038 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/6.445, allocations: 163.1 kB / 3.038 GB, free: 4.531 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008584/6.446, allocations: 459.3 kB / 3.039 GB, free: 4.039 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/6.446, allocations: 16 kB / 3.039 GB, free: 4.023 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.706e-05/6.446, allocations: 35.94 kB / 3.039 GB, free: 3.988 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006948/6.447, allocations: 409.9 kB / 3.039 GB, free: 3.59 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007005/6.448, allocations: 432.4 kB / 3.039 GB, free: 3.16 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/6.448, allocations: 0 / 3.039 GB, free: 3.16 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.057e-05/6.448, allocations: 4 kB / 3.039 GB, free: 3.156 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/6.448, allocations: 12 kB / 3.039 GB, free: 3.145 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002489/6.45, allocations: 1.673 MB / 3.041 GB, free: 1.344 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003558/6.451, allocations: 266.4 kB / 3.041 GB, free: 1.074 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/6.451, allocations: 136.8 kB / 3.041 GB, free: 0.9375 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003555/6.451, allocations: 132.9 kB / 3.042 GB, free: 0.7891 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/6.451, allocations: 42.5 kB / 3.042 GB, free: 0.7383 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 2.244e-06/6.451, allocations: 0 / 3.042 GB, free: 0.7383 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.001113/6.452, allocations: 485.5 kB / 3.042 GB, free: 264 kB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/6.453, allocations: 59.39 kB / 3.042 GB, free: 192 kB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3436/6.796, allocations: 258.8 kB / 3.042 GB, free: 122.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001814/6.796, allocations: 29.58 kB / 3.042 GB, free: 122.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/6.797, allocations: 249.4 kB / 3.043 GB, free: 122.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/6.797, allocations: 111 kB / 3.043 GB, free: 122 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.392e-05/6.797, allocations: 0 / 3.043 GB, free: 122 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001039/6.797, allocations: 344.4 kB / 3.043 GB, free: 121.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/6.797, allocations: 139.5 kB / 3.043 GB, free: 121.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002429/6.797, allocations: 201.4 kB / 3.043 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000825/6.798, allocations: 335 kB / 3.044 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/6.798, allocations: 1.219 kB / 3.044 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001178/6.799, allocations: 0.5826 MB / 3.044 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/6.799, allocations: 7.125 kB / 3.044 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/6.799, allocations: 0 / 3.044 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.001e-05/6.799, allocations: 6.156 kB / 3.044 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004614/6.8, allocations: 84.88 kB / 3.044 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/6.8, allocations: 4.688 kB / 3.044 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004423/6.8, allocations: 52.67 kB / 3.044 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.71e-05/6.8, allocations: 20.12 kB / 3.044 GB, free: 121.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (48): * Single equations (assignments): 46 * 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 0.0001591/6.801, allocations: 110 kB / 3.045 GB, free: 121.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.199e-05/6.801, allocations: 41.81 kB / 3.045 GB, free: 121.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/6.802, allocations: 0.5404 MB / 3.045 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/6.802, allocations: 7.531 kB / 3.045 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/6.802, allocations: 3.375 kB / 3.045 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/6.802, allocations: 5.875 kB / 3.045 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/6.804, allocations: 1.072 MB / 3.046 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/6.804, allocations: 0 / 3.046 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000367/6.804, allocations: 66.48 kB / 3.046 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/6.804, allocations: 1.562 kB / 3.046 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/6.804, allocations: 4.906 kB / 3.046 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/6.804, allocations: 7.719 kB / 3.046 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/6.804, allocations: 0 / 3.046 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001272/6.805, allocations: 0.8857 MB / 3.047 GB, free: 120.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002227/6.806, allocations: 164.2 kB / 3.047 GB, free: 120.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.477e-05/6.806, allocations: 7.875 kB / 3.047 GB, free: 120.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003996/6.806, allocations: 28.45 kB / 3.047 GB, free: 120.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.387e-05/6.806, allocations: 19.5 kB / 3.047 GB, free: 120.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.988e-05/6.806, allocations: 22.58 kB / 3.047 GB, free: 120.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001834/6.806, allocations: 203.9 kB / 3.048 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00101/6.807, allocations: 278.1 kB / 3.048 GB, free: 120.6 MB / 0.4948 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.002743/6.81, allocations: 1.741 MB / 3.05 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000689/6.811, allocations: 391.3 kB / 3.05 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.758e-06/6.811, allocations: 3.844 kB / 3.05 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002201/6.811, allocations: 160.1 kB / 3.05 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007986/6.812, allocations: 145.7 kB / 3.05 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/6.814, allocations: 0.8515 MB / 3.051 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000555/6.814, allocations: 0.9215 MB / 3.052 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of SimCode: time 4.11e-07/6.814, allocations: 0 / 3.052 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.02856/6.843, allocations: 16.19 MB / 3.068 GB, free: 118.9 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)