Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [: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.454/1.454, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.001212/0.001212, allocations: 179.4 kB / 361.1 MB, free: 7.133 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.278/1.278, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.000854/0.000854, allocations: 94.02 kB / 0.7326 GB, free: 44.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.915e-06/7.935e-06, allocations: 0 / 0.8511 GB, free: 3.023 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6019/0.6019, allocations: 115.3 MB / 0.9637 GB, free: 78.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7353/1.337, allocations: 362.8 MB / 1.318 GB, free: 237.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/1.338, allocations: 87.3 kB / 1.318 GB, free: 237 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.02652/1.364, allocations: 10.5 MB / 1.328 GB, free: 226.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.286e-05/1.364, allocations: 4 kB / 1.328 GB, free: 226.6 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009237/1.365, allocations: 0.5797 MB / 1.329 GB, free: 226 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/1.365, allocations: 9.375 kB / 1.329 GB, free: 225.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.193e-05/1.365, allocations: 31.61 kB / 1.329 GB, free: 225.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000567/1.366, allocations: 278.2 kB / 1.329 GB, free: 225.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/1.366, allocations: 5.094 kB / 1.329 GB, free: 225.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/1.366, allocations: 4 kB / 1.329 GB, free: 225.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001968/1.366, allocations: 92.31 kB / 1.329 GB, free: 225.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/1.366, allocations: 116.5 kB / 1.329 GB, free: 225.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/1.366, allocations: 0 / 1.329 GB, free: 225.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/1.366, allocations: 0 / 1.329 GB, free: 225.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/1.366, allocations: 5.344 kB / 1.329 GB, free: 225.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007465/1.367, allocations: 469 kB / 1.33 GB, free: 224.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/1.367, allocations: 72.86 kB / 1.33 GB, free: 224.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.137e-05/1.367, allocations: 68.69 kB / 1.33 GB, free: 224.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005473/1.368, allocations: 0.5181 MB / 1.33 GB, free: 224.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/1.368, allocations: 30.56 kB / 1.33 GB, free: 224.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/1.368, allocations: 0 / 1.33 GB, free: 224.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.00318/1.371, allocations: 469.1 kB / 1.331 GB, free: 223.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.97e-05/1.371, allocations: 55.41 kB / 1.331 GB, free: 223.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/1.371, allocations: 189.1 kB / 1.331 GB, free: 223.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/1.371, allocations: 25.7 kB / 1.331 GB, free: 223.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.281e-05/1.371, allocations: 108 kB / 1.331 GB, free: 223.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/1.371, allocations: 31.55 kB / 1.331 GB, free: 223.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.143e-05/1.371, allocations: 0 / 1.331 GB, free: 223.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.402e-05/1.371, allocations: 340.6 kB / 1.332 GB, free: 222.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.99e-05/1.372, allocations: 48.55 kB / 1.332 GB, free: 222.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.584e-05/1.372, allocations: 47.98 kB / 1.332 GB, free: 222.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00287/1.374, allocations: 353.2 kB / 1.332 GB, free: 222.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.374, allocations: 0 / 1.332 GB, free: 222.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.003325/1.378, allocations: 468.9 kB / 1.333 GB, free: 221.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/1.378, allocations: 4 kB / 1.333 GB, free: 221.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/1.378, allocations: 2.188 kB / 1.333 GB, free: 221.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.264e-05/1.378, allocations: 0 / 1.333 GB, free: 221.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/1.378, allocations: 59.94 kB / 1.333 GB, free: 221.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/1.378, allocations: 4 kB / 1.333 GB, free: 221.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/1.379, allocations: 43.88 kB / 1.333 GB, free: 221.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/1.379, allocations: 10.56 kB / 1.333 GB, free: 221.8 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 (11): * Single equations (assignments): 11 * 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.204e-05/1.379, allocations: 112.9 kB / 1.333 GB, free: 221.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.847e-05/1.379, allocations: 23.72 kB / 1.333 GB, free: 221.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003362/1.382, allocations: 485.6 kB / 1.333 GB, free: 221.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/1.382, allocations: 0 / 1.333 GB, free: 221.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/1.382, allocations: 3.938 kB / 1.333 GB, free: 221.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/1.382, allocations: 0 / 1.333 GB, free: 221.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003312/1.383, allocations: 246 kB / 1.333 GB, free: 220.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/1.383, allocations: 5.625 kB / 1.333 GB, free: 220.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003245/1.383, allocations: 63.94 kB / 1.334 GB, free: 220.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/1.383, allocations: 0 / 1.334 GB, free: 220.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/1.383, allocations: 3.938 kB / 1.334 GB, free: 220.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/1.383, allocations: 3.984 kB / 1.334 GB, free: 220.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/1.383, allocations: 4 kB / 1.334 GB, free: 220.8 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003081/1.386, allocations: 0.5456 MB / 1.334 GB, free: 220.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/1.386, allocations: 114.4 kB / 1.334 GB, free: 220.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-05/1.386, allocations: 4 kB / 1.334 GB, free: 220.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002835/1.387, allocations: 35.97 kB / 1.334 GB, free: 220.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.034e-05/1.387, allocations: 19.91 kB / 1.334 GB, free: 220.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/1.387, allocations: 4 kB / 1.334 GB, free: 220.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.000143/1.387, allocations: 153.2 kB / 1.334 GB, free: 219.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003483/1.387, allocations: 67.86 kB / 1.334 GB, free: 219.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 (11): * Single equations (assignments): 11 * 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.000323/1.387, allocations: 192.1 kB / 1.335 GB, free: 219.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002682/1.388, allocations: 118.2 kB / 1.335 GB, free: 219.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/1.388, allocations: 0 / 1.335 GB, free: 219.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/1.388, allocations: 67.92 kB / 1.335 GB, free: 219.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/1.388, allocations: 33.22 kB / 1.335 GB, free: 219.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006268/1.389, allocations: 239.9 kB / 1.335 GB, free: 219.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000267/1.389, allocations: 0.7668 MB / 1.336 GB, free: 218.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.393e-06/1.389, allocations: 0 / 1.336 GB, free: 218.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.005599/1.395, allocations: 3.071 MB / 1.339 GB, free: 215.4 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)