Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.59/1.59, allocations: 289.8 MB / 297.1 MB, free: 6.746 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.001201/0.001202, allocations: 181.2 kB / 366.3 MB, free: 2.031 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.699/1.699, allocations: 205.1 MB / 0.6256 GB, free: 5.859 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.0009615/0.0009613, allocations: 89.75 kB / 0.7396 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.127e-06/9.157e-06, allocations: 4 kB / 0.859 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6978/0.6978, allocations: 116.3 MB / 0.9726 GB, free: 68.01 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.854/1.552, allocations: 363.8 MB / 1.328 GB, free: 126.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/1.552, allocations: 83.86 kB / 1.328 GB, free: 126.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02382/1.576, allocations: 10.5 MB / 1.338 GB, free: 118.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.328e-05/1.576, allocations: 4 kB / 1.338 GB, free: 118.1 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008977/1.577, allocations: 0.5863 MB / 1.339 GB, free: 117.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/1.577, allocations: 8.031 kB / 1.339 GB, free: 117.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.116e-05/1.577, allocations: 28.19 kB / 1.339 GB, free: 117.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005849/1.578, allocations: 281.7 kB / 1.339 GB, free: 117.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/1.578, allocations: 7.906 kB / 1.339 GB, free: 117.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/1.578, allocations: 4 kB / 1.339 GB, free: 117.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002028/1.578, allocations: 87.39 kB / 1.339 GB, free: 117.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/1.578, allocations: 115.1 kB / 1.339 GB, free: 117 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/1.578, allocations: 0.9375 kB / 1.339 GB, free: 117 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/1.578, allocations: 0 / 1.339 GB, free: 117 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/1.578, allocations: 0 / 1.339 GB, free: 117 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007542/1.579, allocations: 471.2 kB / 1.34 GB, free: 116.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/1.579, allocations: 68.31 kB / 1.34 GB, free: 116.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.359e-05/1.579, allocations: 66.25 kB / 1.34 GB, free: 116.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005581/1.58, allocations: 0.514 MB / 1.34 GB, free: 115.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.653e-05/1.58, allocations: 34.55 kB / 1.34 GB, free: 115.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=11): time 1.452e-06/1.58, allocations: 0 / 1.34 GB, free: 115.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=11): time 0.003195/1.583, allocations: 468.5 kB / 1.341 GB, free: 115.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.823e-05/1.583, allocations: 59.34 kB / 1.341 GB, free: 115.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/1.583, allocations: 189.4 kB / 1.341 GB, free: 115.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/1.583, allocations: 25.7 kB / 1.341 GB, free: 115.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.336e-05/1.583, allocations: 111.4 kB / 1.341 GB, free: 115 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/1.583, allocations: 30.86 kB / 1.341 GB, free: 114.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.228e-05/1.583, allocations: 0 / 1.341 GB, free: 114.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.857e-05/1.583, allocations: 343.1 kB / 1.341 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.972e-05/1.583, allocations: 42.25 kB / 1.342 GB, free: 114.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.773e-05/1.583, allocations: 47.2 kB / 1.342 GB, free: 114.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002888/1.586, allocations: 356.2 kB / 1.342 GB, free: 114.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.586, allocations: 4 kB / 1.342 GB, free: 114.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.002993/1.589, allocations: 462.9 kB / 1.342 GB, free: 113.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/1.589, allocations: 4 kB / 1.342 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/1.589, allocations: 0 / 1.342 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/1.589, allocations: 3.938 kB / 1.342 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003469/1.59, allocations: 67.75 kB / 1.342 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/1.59, allocations: 4 kB / 1.342 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/1.59, allocations: 39.88 kB / 1.342 GB, free: 113.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/1.59, allocations: 7.984 kB / 1.342 GB, free: 113.7 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 (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 6.702e-05/1.59, allocations: 104.9 kB / 1.343 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.576e-05/1.59, allocations: 27.7 kB / 1.343 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003136/1.593, allocations: 491.6 kB / 1.343 GB, free: 113.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/1.593, allocations: 3.938 kB / 1.343 GB, free: 113.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.593, allocations: 0 / 1.343 GB, free: 113.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/1.593, allocations: 0 / 1.343 GB, free: 113.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/1.594, allocations: 247.4 kB / 1.343 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.594, allocations: 0 / 1.343 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003178/1.594, allocations: 63.94 kB / 1.343 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/1.594, allocations: 0 / 1.343 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/1.594, allocations: 3.688 kB / 1.343 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/1.594, allocations: 0 / 1.343 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.594, allocations: 4 kB / 1.343 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003062/1.597, allocations: 0.5532 MB / 1.344 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.702e-05/1.597, allocations: 112.3 kB / 1.344 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.415e-05/1.597, allocations: 4 kB / 1.344 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/1.598, allocations: 43.89 kB / 1.344 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.157e-05/1.598, allocations: 11.73 kB / 1.344 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/1.598, allocations: 7.984 kB / 1.344 GB, free: 112.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0001027/1.598, allocations: 155.6 kB / 1.344 GB, free: 112 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003223/1.598, allocations: 67.17 kB / 1.344 GB, free: 112 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 (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.0002936/1.598, allocations: 182.9 kB / 1.344 GB, free: 111.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002598/1.599, allocations: 116.6 kB / 1.345 GB, free: 111.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.599, allocations: 4 kB / 1.345 GB, free: 111.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/1.599, allocations: 68.56 kB / 1.345 GB, free: 111.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/1.599, allocations: 22.83 kB / 1.345 GB, free: 111.6 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006011/1.6, allocations: 245.7 kB / 1.345 GB, free: 111.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002562/1.6, allocations: 0.7658 MB / 1.346 GB, free: 110.6 MB / 0.823 GB Notification: Performance of SimCode: time 2.31e-07/1.6, allocations: 3.938 kB / 1.346 GB, free: 110.6 MB / 0.823 GB Notification: Performance of Templates: time 0.005711/1.606, allocations: 3.083 MB / 1.349 GB, free: 107.6 MB / 0.823 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)