Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") [: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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.522/1.522, allocations: 289.8 MB / 297.1 MB, free: 6.645 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001084, allocations: 169.4 kB / 366.3 MB, free: 1.98 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.2 MB / 0.6256 GB, free: 5.809 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008962/0.0008963, allocations: 92.55 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.081e-05/1.096e-05, allocations: 0 / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6393/0.6394, allocations: 116.3 MB / 0.9726 GB, free: 68.66 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7705/1.41, allocations: 363.1 MB / 1.327 GB, free: 127 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/1.41, allocations: 84.12 kB / 1.327 GB, free: 126.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01987/1.43, allocations: 9.043 MB / 1.336 GB, free: 119.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.11e-05/1.43, allocations: 4 kB / 1.336 GB, free: 119.7 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004963/1.431, allocations: 461.5 kB / 1.337 GB, free: 119.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/1.431, allocations: 8.031 kB / 1.337 GB, free: 119.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.434e-05/1.431, allocations: 23.56 kB / 1.337 GB, free: 119.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/1.431, allocations: 242.8 kB / 1.337 GB, free: 118.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/1.431, allocations: 4 kB / 1.337 GB, free: 118.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/1.431, allocations: 4 kB / 1.337 GB, free: 118.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001219/1.431, allocations: 62.23 kB / 1.337 GB, free: 118.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/1.431, allocations: 111.1 kB / 1.337 GB, free: 118.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/1.431, allocations: 0 / 1.337 GB, free: 118.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/1.431, allocations: 4 kB / 1.337 GB, free: 118.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.161e-05/1.431, allocations: 11.98 kB / 1.337 GB, free: 118.8 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005545/1.432, allocations: 424.5 kB / 1.337 GB, free: 118.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/1.432, allocations: 120.4 kB / 1.338 GB, free: 118.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.947e-05/1.432, allocations: 85.94 kB / 1.338 GB, free: 118.2 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/1.432, allocations: 0 / 1.338 GB, free: 118.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/1.432, allocations: 38.56 kB / 1.338 GB, free: 118.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=13): time 9.62e-07/1.432, allocations: 0 / 1.338 GB, free: 118.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=13): time 0.0005178/1.433, allocations: 191.4 kB / 1.338 GB, free: 118 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.633e-05/1.433, allocations: 55.41 kB / 1.338 GB, free: 117.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/1.433, allocations: 173.5 kB / 1.338 GB, free: 117.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/1.433, allocations: 28.14 kB / 1.338 GB, free: 117.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.89e-05/1.433, allocations: 99.75 kB / 1.338 GB, free: 117.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/1.433, allocations: 42.73 kB / 1.338 GB, free: 117.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.003e-05/1.433, allocations: 4 kB / 1.338 GB, free: 117.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.407e-05/1.433, allocations: 329.5 kB / 1.339 GB, free: 117.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.882e-05/1.433, allocations: 47.34 kB / 1.339 GB, free: 117.3 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.3e-05/1.433, allocations: 46.3 kB / 1.339 GB, free: 117.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/1.434, allocations: 82.78 kB / 1.339 GB, free: 117.2 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.434, allocations: 3.906 kB / 1.339 GB, free: 117.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003822/1.434, allocations: 200.6 kB / 1.339 GB, free: 117 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/1.434, allocations: 11.94 kB / 1.339 GB, free: 117 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/1.434, allocations: 0 / 1.339 GB, free: 117 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/1.434, allocations: 0 / 1.339 GB, free: 117 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/1.434, allocations: 35.97 kB / 1.339 GB, free: 117 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/1.434, allocations: 0 / 1.339 GB, free: 117 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/1.434, allocations: 31.88 kB / 1.339 GB, free: 116.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/1.434, allocations: 4 kB / 1.339 GB, free: 116.9 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 5.68e-05/1.435, allocations: 116.8 kB / 1.339 GB, free: 116.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/1.435, allocations: 19.72 kB / 1.339 GB, free: 116.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.302e-05/1.435, allocations: 21.45 kB / 1.339 GB, free: 116.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/1.435, allocations: 4 kB / 1.339 GB, free: 116.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/1.435, allocations: 4 kB / 1.339 GB, free: 116.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/1.435, allocations: 0 / 1.339 GB, free: 116.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/1.435, allocations: 230.1 kB / 1.339 GB, free: 116.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/1.435, allocations: 0 / 1.339 GB, free: 116.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002115/1.435, allocations: 39.95 kB / 1.339 GB, free: 116.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/1.435, allocations: 1.781 kB / 1.339 GB, free: 116.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/1.435, allocations: 7.938 kB / 1.339 GB, free: 116.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/1.435, allocations: 4 kB / 1.339 GB, free: 116.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/1.435, allocations: 0 / 1.339 GB, free: 116.5 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004035/1.436, allocations: 287.5 kB / 1.34 GB, free: 116.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.797e-05/1.436, allocations: 116.3 kB / 1.34 GB, free: 116.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/1.436, allocations: 0 / 1.34 GB, free: 116.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/1.436, allocations: 19.98 kB / 1.34 GB, free: 116.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/1.436, allocations: 7.984 kB / 1.34 GB, free: 116.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/1.436, allocations: 7.984 kB / 1.34 GB, free: 116.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.629e-05/1.436, allocations: 138.1 kB / 1.34 GB, free: 115.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002519/1.436, allocations: 39.94 kB / 1.34 GB, free: 115.9 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0002025/1.436, allocations: 154.7 kB / 1.34 GB, free: 115.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001962/1.437, allocations: 125 kB / 1.34 GB, free: 115.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/1.437, allocations: 0 / 1.34 GB, free: 115.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.732e-05/1.437, allocations: 69.53 kB / 1.34 GB, free: 115.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/1.437, allocations: 32.2 kB / 1.34 GB, free: 115.6 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004714/1.438, allocations: 226.2 kB / 1.341 GB, free: 115.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002075/1.438, allocations: 0.7502 MB / 1.341 GB, free: 114.6 MB / 0.823 GB Notification: Performance of SimCode: time 2.61e-07/1.438, allocations: 0 / 1.341 GB, free: 114.6 MB / 0.823 GB Notification: Performance of Templates: time 0.004449/1.442, allocations: 2.196 MB / 1.343 GB, free: 112.4 MB / 0.823 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)