Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [: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.483/1.483, allocations: 289.8 MB / 297.1 MB, free: 6.703 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.001101/0.001101, allocations: 173.3 kB / 366.3 MB, free: 2.012 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.396/1.396, allocations: 205.1 MB / 0.6256 GB, free: 5.848 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.000998/0.000998, allocations: 89.19 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.243e-06/7.393e-06, allocations: 0 / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7029/0.7029, allocations: 116.3 MB / 0.9726 GB, free: 68.18 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8225/1.526, allocations: 363.3 MB / 1.327 GB, free: 127 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/1.526, allocations: 91.39 kB / 1.327 GB, free: 127 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02078/1.547, allocations: 9.167 MB / 1.336 GB, free: 119.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.271e-05/1.547, allocations: 0 / 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.0006017/1.547, allocations: 473 kB / 1.337 GB, free: 119.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/1.547, allocations: 8.031 kB / 1.337 GB, free: 119.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.612e-05/1.547, allocations: 15.81 kB / 1.337 GB, free: 119.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004164/1.548, allocations: 248.9 kB / 1.337 GB, free: 118.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/1.548, allocations: 0 / 1.337 GB, free: 118.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/1.548, allocations: 8 kB / 1.337 GB, free: 118.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000139/1.548, allocations: 70.09 kB / 1.337 GB, free: 118.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/1.548, allocations: 108.2 kB / 1.337 GB, free: 118.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/1.548, allocations: 3.938 kB / 1.337 GB, free: 118.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/1.548, allocations: 0 / 1.337 GB, free: 118.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.611e-05/1.548, allocations: 19.7 kB / 1.337 GB, free: 118.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006445/1.549, allocations: 433.7 kB / 1.338 GB, free: 118.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/1.549, allocations: 139.4 kB / 1.338 GB, free: 118.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/1.549, allocations: 79.77 kB / 1.338 GB, free: 118.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/1.549, allocations: 0 / 1.338 GB, free: 118.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/1.549, allocations: 41.88 kB / 1.338 GB, free: 118.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=13): time 2.044e-06/1.549, allocations: 0 / 1.338 GB, free: 118.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=13): time 0.000547/1.55, allocations: 193.4 kB / 1.338 GB, free: 117.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.027e-05/1.55, allocations: 58.78 kB / 1.338 GB, free: 117.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/1.55, allocations: 178.5 kB / 1.338 GB, free: 117.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/1.55, allocations: 29.7 kB / 1.338 GB, free: 117.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.311e-05/1.55, allocations: 98.91 kB / 1.338 GB, free: 117.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/1.55, allocations: 35.08 kB / 1.338 GB, free: 117.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-06/1.55, allocations: 0 / 1.338 GB, free: 117.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.89e-05/1.55, allocations: 337.7 kB / 1.339 GB, free: 117.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.882e-05/1.55, allocations: 49.48 kB / 1.339 GB, free: 117.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.063e-05/1.55, allocations: 53.59 kB / 1.339 GB, free: 117.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/1.551, allocations: 93.62 kB / 1.339 GB, free: 117.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/1.551, allocations: 0 / 1.339 GB, free: 117.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004121/1.551, allocations: 201.9 kB / 1.339 GB, free: 116.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/1.551, allocations: 4 kB / 1.339 GB, free: 116.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/1.551, allocations: 3.938 kB / 1.339 GB, free: 116.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/1.551, allocations: 4 kB / 1.339 GB, free: 116.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/1.551, allocations: 43.59 kB / 1.339 GB, free: 116.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/1.551, allocations: 2.344 kB / 1.339 GB, free: 116.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/1.552, allocations: 27.81 kB / 1.339 GB, free: 116.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/1.552, allocations: 7.938 kB / 1.339 GB, free: 116.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 (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 6.016e-05/1.552, allocations: 108.9 kB / 1.339 GB, free: 116.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.314e-05/1.552, allocations: 19.72 kB / 1.339 GB, free: 116.7 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.883e-05/1.552, allocations: 28.83 kB / 1.339 GB, free: 116.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/1.552, allocations: 0 / 1.339 GB, free: 116.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/1.552, allocations: 0 / 1.339 GB, free: 116.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/1.552, allocations: 3.984 kB / 1.339 GB, free: 116.7 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/1.552, allocations: 239.3 kB / 1.34 GB, free: 116.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/1.552, allocations: 0 / 1.34 GB, free: 116.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/1.552, allocations: 39.97 kB / 1.34 GB, free: 116.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/1.552, allocations: 3.984 kB / 1.34 GB, free: 116.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/1.552, allocations: 4 kB / 1.34 GB, free: 116.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/1.552, allocations: 4 kB / 1.34 GB, free: 116.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.552, allocations: 3.906 kB / 1.34 GB, free: 116.4 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004392/1.553, allocations: 302.3 kB / 1.34 GB, free: 116.1 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-05/1.553, allocations: 119.9 kB / 1.34 GB, free: 116 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.907e-05/1.553, allocations: 0 / 1.34 GB, free: 116 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/1.553, allocations: 15.98 kB / 1.34 GB, free: 116 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/1.553, allocations: 7.984 kB / 1.34 GB, free: 116 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/1.553, allocations: 11.98 kB / 1.34 GB, free: 115.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.323e-05/1.553, allocations: 142.7 kB / 1.34 GB, free: 115.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002674/1.554, allocations: 39.53 kB / 1.34 GB, free: 115.8 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.0002271/1.554, allocations: 143.2 kB / 1.34 GB, free: 115.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002186/1.554, allocations: 140.5 kB / 1.341 GB, free: 115.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/1.554, allocations: 0 / 1.341 GB, free: 115.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.341e-05/1.554, allocations: 65.84 kB / 1.341 GB, free: 115.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/1.554, allocations: 23.55 kB / 1.341 GB, free: 115.5 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000564/1.555, allocations: 236.7 kB / 1.341 GB, free: 115.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002356/1.555, allocations: 0.7577 MB / 1.342 GB, free: 114.5 MB / 0.823 GB Notification: Performance of SimCode: time 2.41e-07/1.555, allocations: 0 / 1.342 GB, free: 114.5 MB / 0.823 GB Notification: Performance of Templates: time 0.004948/1.56, allocations: 2.33 MB / 1.344 GB, free: 112.2 MB / 0.823 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)