Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.498/1.498, allocations: 285.5 MB / 292.8 MB, free: 10.39 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.001262/0.001262, allocations: 193.2 kB / 361.1 MB, free: 7.086 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.298/1.298, allocations: 205.1 MB / 0.6195 GB, free: 10.26 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.0008965, allocations: 88.45 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.863e-06/6.862e-06, allocations: 0 / 0.8511 GB, free: 2.941 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5948/0.5949, allocations: 115.3 MB / 0.9637 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7792/1.374, allocations: 362.2 MB / 1.317 GB, free: 204.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/1.374, allocations: 83.97 kB / 1.317 GB, free: 204.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.02087/1.395, allocations: 9.037 MB / 1.326 GB, free: 197.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.229e-05/1.395, allocations: 4 kB / 1.326 GB, free: 197.8 MB / 0.8542 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.0005872/1.396, allocations: 464.8 kB / 1.327 GB, free: 197.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/1.396, allocations: 9.094 kB / 1.327 GB, free: 197.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.4e-05/1.396, allocations: 23.8 kB / 1.327 GB, free: 197.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003972/1.396, allocations: 240 kB / 1.327 GB, free: 197 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/1.396, allocations: 0 / 1.327 GB, free: 197 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/1.397, allocations: 9.484 kB / 1.327 GB, free: 197 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001438/1.397, allocations: 71.84 kB / 1.327 GB, free: 196.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/1.397, allocations: 106.6 kB / 1.327 GB, free: 196.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/1.397, allocations: 0 / 1.327 GB, free: 196.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/1.397, allocations: 4 kB / 1.327 GB, free: 196.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/1.397, allocations: 8 kB / 1.327 GB, free: 196.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006817/1.398, allocations: 431 kB / 1.328 GB, free: 196.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/1.398, allocations: 119.2 kB / 1.328 GB, free: 196.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/1.398, allocations: 78.14 kB / 1.328 GB, free: 196.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/1.398, allocations: 11.3 kB / 1.328 GB, free: 196.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/1.398, allocations: 30.56 kB / 1.328 GB, free: 196.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.874e-06/1.398, allocations: 0 / 1.328 GB, free: 196.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0006203/1.399, allocations: 200.1 kB / 1.328 GB, free: 196.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.968e-05/1.399, allocations: 55.41 kB / 1.328 GB, free: 196 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/1.399, allocations: 176.8 kB / 1.328 GB, free: 195.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/1.399, allocations: 25.7 kB / 1.328 GB, free: 195.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.692e-05/1.399, allocations: 103.2 kB / 1.328 GB, free: 195.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/1.399, allocations: 42.67 kB / 1.328 GB, free: 195.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-06/1.399, allocations: 0 / 1.328 GB, free: 195.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.063e-05/1.399, allocations: 329.6 kB / 1.329 GB, free: 195.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.265e-05/1.399, allocations: 46.77 kB / 1.329 GB, free: 195.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.604e-05/1.399, allocations: 41.92 kB / 1.329 GB, free: 195.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/1.399, allocations: 93.7 kB / 1.329 GB, free: 195.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.399, allocations: 3.906 kB / 1.329 GB, free: 195.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004037/1.4, allocations: 190.5 kB / 1.329 GB, free: 195 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/1.4, allocations: 4 kB / 1.329 GB, free: 195 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/1.4, allocations: 3.938 kB / 1.329 GB, free: 195 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/1.4, allocations: 0.9375 kB / 1.329 GB, free: 195 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/1.4, allocations: 49.58 kB / 1.329 GB, free: 195 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/1.4, allocations: 0 / 1.329 GB, free: 195 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/1.4, allocations: 19.89 kB / 1.329 GB, free: 195 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/1.4, allocations: 4 kB / 1.329 GB, free: 195 MB / 0.8542 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.898e-05/1.4, allocations: 108.9 kB / 1.329 GB, free: 194.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/1.401, allocations: 19.72 kB / 1.329 GB, free: 194.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.521e-05/1.401, allocations: 24.89 kB / 1.329 GB, free: 194.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/1.401, allocations: 4 kB / 1.329 GB, free: 194.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/1.401, allocations: 0 / 1.329 GB, free: 194.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/1.401, allocations: 5.156 kB / 1.329 GB, free: 194.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/1.401, allocations: 229.7 kB / 1.329 GB, free: 194.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/1.401, allocations: 0 / 1.329 GB, free: 194.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002254/1.401, allocations: 39.97 kB / 1.33 GB, free: 194.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/1.401, allocations: 0 / 1.33 GB, free: 194.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/1.401, allocations: 5.688 kB / 1.33 GB, free: 194.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/1.401, allocations: 0 / 1.33 GB, free: 194.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.401, allocations: 6.328 kB / 1.33 GB, free: 194.5 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004537/1.402, allocations: 295.2 kB / 1.33 GB, free: 194.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.403e-05/1.402, allocations: 112.2 kB / 1.33 GB, free: 194.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.846e-05/1.402, allocations: 0 / 1.33 GB, free: 194.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/1.402, allocations: 15.98 kB / 1.33 GB, free: 194.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/1.402, allocations: 11.92 kB / 1.33 GB, free: 194.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/1.402, allocations: 9.016 kB / 1.33 GB, free: 194.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.467e-05/1.402, allocations: 145.2 kB / 1.33 GB, free: 194 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002723/1.402, allocations: 39.73 kB / 1.33 GB, free: 193.9 MB / 0.8542 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.0002269/1.403, allocations: 155.8 kB / 1.33 GB, free: 193.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002117/1.403, allocations: 117.8 kB / 1.33 GB, free: 193.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1.403, allocations: 4 kB / 1.33 GB, free: 193.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.106e-05/1.403, allocations: 65.84 kB / 1.33 GB, free: 193.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/1.403, allocations: 24.25 kB / 1.33 GB, free: 193.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005327/1.404, allocations: 227.5 kB / 1.331 GB, free: 193.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002322/1.404, allocations: 0.7596 MB / 1.331 GB, free: 192.6 MB / 0.8542 GB Notification: Performance of SimCode: time 3.5e-07/1.404, allocations: 0 / 1.331 GB, free: 192.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.004858/1.409, allocations: 2.205 MB / 1.334 GB, free: 190.5 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)