Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.469/1.469, allocations: 285.5 MB / 292.8 MB, free: 10.41 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.001086/0.001086, allocations: 185.2 kB / 361.1 MB, free: 7.062 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.241/1.241, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0008515/0.0008515, allocations: 101.4 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.858e-06/1.012e-05, allocations: 4 kB / 0.8511 GB, free: 2.957 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6033/0.6033, allocations: 115.3 MB / 0.9637 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7919/1.395, allocations: 362.3 MB / 1.317 GB, free: 237.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/1.396, allocations: 88.92 kB / 1.318 GB, free: 237.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.02118/1.417, allocations: 9.175 MB / 1.327 GB, free: 228.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.339e-05/1.417, allocations: 0 / 1.327 GB, free: 228.2 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.0007041/1.418, allocations: 466.5 kB / 1.327 GB, free: 227.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/1.418, allocations: 12.53 kB / 1.327 GB, free: 227.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.195e-05/1.418, allocations: 19.81 kB / 1.327 GB, free: 227.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005016/1.418, allocations: 246.8 kB / 1.327 GB, free: 227.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/1.418, allocations: 0 / 1.327 GB, free: 227.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/1.418, allocations: 4 kB / 1.327 GB, free: 227.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001668/1.418, allocations: 75.97 kB / 1.327 GB, free: 227.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/1.419, allocations: 109.6 kB / 1.327 GB, free: 227.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/1.419, allocations: 0 / 1.327 GB, free: 227.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/1.419, allocations: 0 / 1.327 GB, free: 227.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.84e-05/1.419, allocations: 17.97 kB / 1.327 GB, free: 227.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007722/1.419, allocations: 441 kB / 1.328 GB, free: 226.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/1.42, allocations: 126.5 kB / 1.328 GB, free: 226.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/1.42, allocations: 84.83 kB / 1.328 GB, free: 226.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/1.42, allocations: 4 kB / 1.328 GB, free: 226.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/1.42, allocations: 34.56 kB / 1.328 GB, free: 226.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.984e-06/1.42, allocations: 1.219 kB / 1.328 GB, free: 226.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0006483/1.421, allocations: 201.1 kB / 1.328 GB, free: 226.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/1.421, allocations: 59.41 kB / 1.328 GB, free: 226.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/1.421, allocations: 175.9 kB / 1.328 GB, free: 226 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/1.421, allocations: 33.7 kB / 1.329 GB, free: 226 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.657e-05/1.421, allocations: 100 kB / 1.329 GB, free: 225.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.959e-05/1.421, allocations: 35.45 kB / 1.329 GB, free: 225.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-05/1.421, allocations: 0 / 1.329 GB, free: 225.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.163e-05/1.421, allocations: 338.7 kB / 1.329 GB, free: 225.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.509e-05/1.421, allocations: 47.98 kB / 1.329 GB, free: 225.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.297e-05/1.421, allocations: 47.98 kB / 1.329 GB, free: 225.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003409/1.422, allocations: 91.89 kB / 1.329 GB, free: 225.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/1.422, allocations: 4 kB / 1.329 GB, free: 225.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005059/1.422, allocations: 202.6 kB / 1.329 GB, free: 225.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/1.422, allocations: 4 kB / 1.329 GB, free: 225.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/1.422, allocations: 0 / 1.329 GB, free: 225.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/1.422, allocations: 0 / 1.329 GB, free: 225.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000325/1.422, allocations: 53.78 kB / 1.329 GB, free: 225.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/1.422, allocations: 0 / 1.329 GB, free: 225.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/1.423, allocations: 23.83 kB / 1.329 GB, free: 225 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/1.423, allocations: 7.984 kB / 1.329 GB, free: 225 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 6.962e-05/1.423, allocations: 105 kB / 1.33 GB, free: 224.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.928e-05/1.423, allocations: 19.72 kB / 1.33 GB, free: 224.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.702e-05/1.423, allocations: 29.77 kB / 1.33 GB, free: 224.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/1.423, allocations: 0 / 1.33 GB, free: 224.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/1.423, allocations: 0 / 1.33 GB, free: 224.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/1.423, allocations: 0 / 1.33 GB, free: 224.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/1.423, allocations: 239.2 kB / 1.33 GB, free: 224.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.423, allocations: 0 / 1.33 GB, free: 224.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002824/1.424, allocations: 43.91 kB / 1.33 GB, free: 224.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/1.424, allocations: 0 / 1.33 GB, free: 224.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/1.424, allocations: 7.984 kB / 1.33 GB, free: 224.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/1.424, allocations: 5.5 kB / 1.33 GB, free: 224.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.424, allocations: 3.906 kB / 1.33 GB, free: 224.5 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005741/1.424, allocations: 287.2 kB / 1.33 GB, free: 224.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.32e-05/1.424, allocations: 116.8 kB / 1.33 GB, free: 224.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.621e-05/1.424, allocations: 3.984 kB / 1.33 GB, free: 224.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/1.425, allocations: 15.98 kB / 1.33 GB, free: 224.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.545e-05/1.425, allocations: 15.97 kB / 1.33 GB, free: 224.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/1.425, allocations: 4 kB / 1.33 GB, free: 224.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.058e-05/1.425, allocations: 158.1 kB / 1.33 GB, free: 223.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002787/1.425, allocations: 39.91 kB / 1.33 GB, free: 223.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.0002169/1.425, allocations: 150.2 kB / 1.331 GB, free: 223.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002194/1.425, allocations: 124 kB / 1.331 GB, free: 223.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.425, allocations: 4 kB / 1.331 GB, free: 223.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.284e-05/1.426, allocations: 75.91 kB / 1.331 GB, free: 223.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/1.426, allocations: 24.28 kB / 1.331 GB, free: 223.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005129/1.426, allocations: 243 kB / 1.331 GB, free: 223.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/1.427, allocations: 0.7551 MB / 1.332 GB, free: 222.5 MB / 0.8542 GB Notification: Performance of SimCode: time 2.61e-07/1.427, allocations: 0 / 1.332 GB, free: 222.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.004935/1.432, allocations: 2.329 MB / 1.334 GB, free: 220.2 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)