Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.376/2.376, allocations: 284.9 MB / 292.2 MB, free: 9.867 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0016/0.0016, allocations: 177.3 kB / 360.4 MB, free: 0.875 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.792/1.792, allocations: 205.1 MB / 0.6188 GB, free: 3.305 MB / 442.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001347/0.001346, allocations: 85.16 kB / 0.7318 GB, free: 1.809 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 1.497e-05/1.506e-05, allocations: 3.125 kB / 0.8502 GB, free: 150.1 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2283, allocations: 115.2 MB / 0.9628 GB, free: 57 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.889/5.117, allocations: 2.06 GB / 3.023 GB, free: 181.7 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/5.118, allocations: 83.08 kB / 3.023 GB, free: 181.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.172/6.29, allocations: 207.7 MB / 3.226 GB, free: 275.3 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.972e-05/6.29, allocations: 5.812 kB / 3.226 GB, free: 275.3 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001181/6.291, allocations: 0.5581 MB / 3.226 GB, free: 275 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/6.291, allocations: 14.44 kB / 3.226 GB, free: 275 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.329e-05/6.292, allocations: 30.91 kB / 3.226 GB, free: 274.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005696/6.292, allocations: 277.9 kB / 3.226 GB, free: 274.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/6.292, allocations: 7.875 kB / 3.226 GB, free: 274.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.11e-05/6.292, allocations: 15.59 kB / 3.226 GB, free: 274.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003224/6.293, allocations: 94.31 kB / 3.227 GB, free: 274.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004452/6.293, allocations: 224.9 kB / 3.227 GB, free: 274.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/6.293, allocations: 1.406 kB / 3.227 GB, free: 274.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/6.293, allocations: 0 / 3.227 GB, free: 274.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/6.293, allocations: 6.844 kB / 3.227 GB, free: 274.6 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/6.295, allocations: 1.289 MB / 3.228 GB, free: 273.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/6.295, allocations: 148.9 kB / 3.228 GB, free: 273.4 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/6.295, allocations: 76.16 kB / 3.228 GB, free: 273.4 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004486/6.295, allocations: 121.5 kB / 3.228 GB, free: 273.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/6.295, allocations: 46.75 kB / 3.228 GB, free: 273.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=10): time 2.585e-06/6.295, allocations: 0 / 3.228 GB, free: 273.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=10): time 0.0006627/6.296, allocations: 140.5 kB / 3.229 GB, free: 273.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/6.296, allocations: 183.9 kB / 3.229 GB, free: 273 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/6.296, allocations: 169.9 kB / 3.229 GB, free: 272.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/6.296, allocations: 25.7 kB / 3.229 GB, free: 272.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 8.026e-05/6.297, allocations: 144.1 kB / 3.229 GB, free: 272.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/6.297, allocations: 37.94 kB / 3.229 GB, free: 272.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-06/6.297, allocations: 2.906 kB / 3.229 GB, free: 272.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.485e-05/6.297, allocations: 328.1 kB / 3.229 GB, free: 272.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.114e-05/6.297, allocations: 24.06 kB / 3.229 GB, free: 272.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/6.297, allocations: 107.7 kB / 3.23 GB, free: 272.4 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002879/6.297, allocations: 71.14 kB / 3.23 GB, free: 272.4 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/6.297, allocations: 2.438 kB / 3.23 GB, free: 272.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004804/6.298, allocations: 156.7 kB / 3.23 GB, free: 272.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/6.298, allocations: 6.531 kB / 3.23 GB, free: 272.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/6.298, allocations: 10.25 kB / 3.23 GB, free: 272.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/6.298, allocations: 0 / 3.23 GB, free: 272.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/6.298, allocations: 37.56 kB / 3.23 GB, free: 272.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/6.298, allocations: 3.25 kB / 3.23 GB, free: 272.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/6.298, allocations: 29.31 kB / 3.23 GB, free: 272.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.18e-05/6.299, allocations: 13.84 kB / 3.23 GB, free: 272.3 MB / 0.9323 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 (15): * Single equations (assignments): 15 * 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.408e-05/6.299, allocations: 117.3 kB / 3.23 GB, free: 272.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/6.299, allocations: 15.19 kB / 3.23 GB, free: 272.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004474/6.299, allocations: 116.2 kB / 3.23 GB, free: 272.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/6.299, allocations: 3.938 kB / 3.23 GB, free: 272.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/6.299, allocations: 3.906 kB / 3.23 GB, free: 272.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/6.299, allocations: 6.25 kB / 3.23 GB, free: 272.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009609/6.3, allocations: 0.7227 MB / 3.231 GB, free: 271.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/6.3, allocations: 0 / 3.231 GB, free: 271.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/6.301, allocations: 37.33 kB / 3.231 GB, free: 271.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/6.301, allocations: 0 / 3.231 GB, free: 271.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/6.301, allocations: 3.938 kB / 3.231 GB, free: 271.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/6.301, allocations: 3.203 kB / 3.231 GB, free: 271.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/6.301, allocations: 3.938 kB / 3.231 GB, free: 271.6 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006324/6.301, allocations: 365.8 kB / 3.231 GB, free: 271.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/6.301, allocations: 102.1 kB / 3.231 GB, free: 271.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.095e-05/6.302, allocations: 3.062 kB / 3.231 GB, free: 271.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/6.302, allocations: 14.5 kB / 3.231 GB, free: 271.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.582e-05/6.302, allocations: 15.98 kB / 3.231 GB, free: 271.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/6.302, allocations: 3.688 kB / 3.231 GB, free: 271.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0001464/6.302, allocations: 132.9 kB / 3.231 GB, free: 271.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.000754/6.303, allocations: 131.6 kB / 3.232 GB, free: 271.1 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001811/6.305, allocations: 1.127 MB / 3.233 GB, free: 270.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.000383/6.305, allocations: 86.67 kB / 3.233 GB, free: 270.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/6.305, allocations: 3.594 kB / 3.233 GB, free: 270.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001156/6.305, allocations: 42.03 kB / 3.233 GB, free: 270.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006814/6.306, allocations: 56.64 kB / 3.233 GB, free: 270.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009228/6.307, allocations: 335.3 kB / 3.233 GB, free: 270.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003358/6.307, allocations: 0.7886 MB / 3.234 GB, free: 270 MB / 0.9323 GB Notification: Performance of SimCode: time 1.233e-06/6.307, allocations: 0 / 3.234 GB, free: 270 MB / 0.9323 GB Notification: Performance of Templates: time 0.02693/6.334, allocations: 8.304 MB / 3.242 GB, free: 269.8 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)