Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [: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.54/1.54, 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.001059/0.001058, allocations: 181.3 kB / 366.3 MB, free: 1.961 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.414/1.414, allocations: 205.2 MB / 0.6256 GB, free: 5.824 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.0008426/0.0008426, allocations: 94.73 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.432e-06/6.452e-06, allocations: 0 / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7/0.7, allocations: 116.3 MB / 0.9726 GB, free: 68.14 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8416/1.542, allocations: 364.4 MB / 1.328 GB, free: 123.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/1.542, allocations: 90.44 kB / 1.329 GB, free: 123.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02584/1.568, allocations: 11.29 MB / 1.34 GB, free: 114.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.537e-05/1.568, allocations: 8 kB / 1.34 GB, free: 114.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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001003/1.569, allocations: 0.6186 MB / 1.34 GB, free: 114.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/1.569, allocations: 13.25 kB / 1.34 GB, free: 114.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007329/1.57, allocations: 163.2 kB / 1.34 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008513/1.571, allocations: 341.9 kB / 1.341 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/1.571, allocations: 4 kB / 1.341 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/1.571, allocations: 4 kB / 1.341 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002729/1.571, allocations: 138.3 kB / 1.341 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/1.571, allocations: 144 kB / 1.341 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/1.571, allocations: 0 / 1.341 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/1.571, allocations: 0 / 1.341 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/1.571, allocations: 11.91 kB / 1.341 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009922/1.572, allocations: 0.5449 MB / 1.341 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/1.572, allocations: 101.6 kB / 1.342 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/1.573, allocations: 80.41 kB / 1.342 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005455/1.573, allocations: 0.5223 MB / 1.342 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/1.573, allocations: 30.56 kB / 1.342 GB, free: 112 MB / 0.823 GB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/1.573, allocations: 0 / 1.342 GB, free: 112 MB / 0.823 GB Notification: Performance of matching and sorting (n=13): time 0.003247/1.576, allocations: 0.498 MB / 1.343 GB, free: 111.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.24e-05/1.576, allocations: 55.41 kB / 1.343 GB, free: 111.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/1.577, allocations: 212.4 kB / 1.343 GB, free: 111.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/1.577, allocations: 25.7 kB / 1.343 GB, free: 111.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/1.577, allocations: 124.5 kB / 1.343 GB, free: 111.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.879e-05/1.577, allocations: 43.2 kB / 1.343 GB, free: 111.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.781e-05/1.577, allocations: 5.125 kB / 1.343 GB, free: 111.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.116e-05/1.577, allocations: 337.3 kB / 1.343 GB, free: 110.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/1.577, allocations: 76.8 kB / 1.344 GB, free: 110.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/1.577, allocations: 72.42 kB / 1.344 GB, free: 110.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008001/1.585, allocations: 0.899 MB / 1.344 GB, free: 109.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.585, allocations: 8 kB / 1.344 GB, free: 109.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.008319/1.593, allocations: 1.042 MB / 1.345 GB, free: 109 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/1.593, allocations: 10.03 kB / 1.345 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/1.593, allocations: 0 / 1.345 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/1.594, allocations: 0 / 1.345 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005312/1.594, allocations: 95.84 kB / 1.346 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/1.594, allocations: 2.344 kB / 1.346 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004048/1.594, allocations: 69.48 kB / 1.346 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/1.595, allocations: 7.984 kB / 1.346 GB, free: 108.8 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 (17): * Single equations (assignments): 17 * 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.0001125/1.595, allocations: 104.9 kB / 1.346 GB, free: 108.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.662e-05/1.595, allocations: 23.72 kB / 1.346 GB, free: 108.7 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003399/1.598, allocations: 0.5301 MB / 1.346 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/1.598, allocations: 3.984 kB / 1.346 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/1.598, allocations: 11.91 kB / 1.346 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.598, allocations: 0 / 1.346 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000282/1.598, allocations: 273.2 kB / 1.347 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.598, allocations: 0 / 1.347 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004272/1.599, allocations: 79.92 kB / 1.347 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/1.599, allocations: 0 / 1.347 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/1.599, allocations: 11.98 kB / 1.347 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/1.599, allocations: 0 / 1.347 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.599, allocations: 0 / 1.347 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003152/1.602, allocations: 0.6068 MB / 1.347 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/1.602, allocations: 123.3 kB / 1.347 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.344e-05/1.602, allocations: 0 / 1.347 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000371/1.603, allocations: 57.36 kB / 1.347 GB, free: 107.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.184e-05/1.603, allocations: 23.44 kB / 1.347 GB, free: 107.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/1.603, allocations: 11.98 kB / 1.347 GB, free: 107.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0001229/1.603, allocations: 168.1 kB / 1.348 GB, free: 107 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003514/1.603, allocations: 71.92 kB / 1.348 GB, free: 106.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.0003032/1.604, allocations: 178.7 kB / 1.348 GB, free: 106.7 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003181/1.604, allocations: 183.4 kB / 1.348 GB, free: 106.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/1.604, allocations: 0 / 1.348 GB, free: 106.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/1.604, allocations: 97.72 kB / 1.348 GB, free: 106.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/1.604, allocations: 25.67 kB / 1.348 GB, free: 106.5 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007034/1.605, allocations: 299.7 kB / 1.348 GB, free: 106.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002995/1.605, allocations: 0.7813 MB / 1.349 GB, free: 105.5 MB / 0.823 GB Notification: Performance of SimCode: time 2.4e-07/1.605, allocations: 0 / 1.349 GB, free: 105.5 MB / 0.823 GB Notification: Performance of Templates: time 0.006393/1.612, allocations: 3.899 MB / 1.353 GB, free: 101.6 MB / 0.823 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)