Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [: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.504/1.504, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.001076/0.001076, allocations: 177.3 kB / 361.1 MB, free: 7.082 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.39/1.39, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0008906/0.0008909, allocations: 93.77 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.426e-06/8.446e-06, allocations: 4 kB / 0.8511 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.569/0.569, allocations: 115.3 MB / 0.9637 GB, free: 78.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7903/1.359, allocations: 363.4 MB / 1.319 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/1.36, allocations: 84.69 kB / 1.319 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.02972/1.389, allocations: 11.3 MB / 1.33 GB, free: 180.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.692e-05/1.389, allocations: 3.156 kB / 1.33 GB, free: 180.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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001083/1.391, allocations: 0.6198 MB / 1.33 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/1.391, allocations: 9.219 kB / 1.33 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007774/1.391, allocations: 160.1 kB / 1.33 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009289/1.392, allocations: 338.2 kB / 1.331 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/1.392, allocations: 3.031 kB / 1.331 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.875e-05/1.392, allocations: 5.875 kB / 1.331 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002932/1.393, allocations: 140.4 kB / 1.331 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/1.393, allocations: 144.5 kB / 1.331 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/1.393, allocations: 0 / 1.331 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/1.393, allocations: 0 / 1.331 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/1.393, allocations: 6.781 kB / 1.331 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/1.394, allocations: 0.5552 MB / 1.332 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/1.394, allocations: 98.81 kB / 1.332 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/1.394, allocations: 81.84 kB / 1.332 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000624/1.395, allocations: 0.5224 MB / 1.332 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/1.395, allocations: 37.25 kB / 1.332 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/1.395, allocations: 0 / 1.332 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.003378/1.399, allocations: 0.4962 MB / 1.333 GB, free: 178.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/1.399, allocations: 51.41 kB / 1.333 GB, free: 178.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/1.399, allocations: 217.9 kB / 1.333 GB, free: 178.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/1.399, allocations: 25.7 kB / 1.333 GB, free: 178.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.589e-05/1.399, allocations: 125.1 kB / 1.333 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.267e-05/1.399, allocations: 33.58 kB / 1.333 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.737e-05/1.399, allocations: 0 / 1.333 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.682e-05/1.399, allocations: 342.8 kB / 1.334 GB, free: 177.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/1.399, allocations: 74.58 kB / 1.334 GB, free: 177.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/1.399, allocations: 73.95 kB / 1.334 GB, free: 177.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008097/1.407, allocations: 0.9035 MB / 1.335 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/1.407, allocations: 0 / 1.335 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.008443/1.416, allocations: 1.045 MB / 1.336 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/1.416, allocations: 5.938 kB / 1.336 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/1.416, allocations: 0 / 1.336 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/1.416, allocations: 1.969 kB / 1.336 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005301/1.417, allocations: 99.22 kB / 1.336 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/1.417, allocations: 1.375 kB / 1.336 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00045/1.417, allocations: 62.23 kB / 1.336 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/1.417, allocations: 14.02 kB / 1.336 GB, free: 177.1 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 (17): * Single equations (assignments): 17 * 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 8.887e-05/1.417, allocations: 106.3 kB / 1.336 GB, free: 177 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.049e-05/1.417, allocations: 22.69 kB / 1.336 GB, free: 177 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003337/1.421, allocations: 0.5316 MB / 1.336 GB, free: 176.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/1.421, allocations: 3 kB / 1.336 GB, free: 176.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/1.421, allocations: 3.906 kB / 1.336 GB, free: 176.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/1.421, allocations: 0 / 1.336 GB, free: 176.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000333/1.421, allocations: 278.2 kB / 1.337 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.421, allocations: 0 / 1.337 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004389/1.421, allocations: 79.17 kB / 1.337 GB, free: 176.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/1.421, allocations: 2.562 kB / 1.337 GB, free: 176.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/1.421, allocations: 6.859 kB / 1.337 GB, free: 176.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/1.421, allocations: 0 / 1.337 GB, free: 176.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.422, allocations: 4 kB / 1.337 GB, free: 176.5 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003107/1.425, allocations: 0.602 MB / 1.337 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/1.425, allocations: 122.6 kB / 1.338 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.797e-05/1.425, allocations: 8.688 kB / 1.338 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003763/1.425, allocations: 52.52 kB / 1.338 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.328e-05/1.425, allocations: 25.28 kB / 1.338 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/1.425, allocations: 6.828 kB / 1.338 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0001417/1.426, allocations: 174.7 kB / 1.338 GB, free: 176 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003708/1.426, allocations: 71.89 kB / 1.338 GB, free: 176 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.0003287/1.426, allocations: 189.6 kB / 1.338 GB, free: 175.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003447/1.427, allocations: 174.9 kB / 1.338 GB, free: 175.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.427, allocations: 4 kB / 1.338 GB, free: 175.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001565/1.427, allocations: 96.28 kB / 1.338 GB, free: 175.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/1.427, allocations: 23.27 kB / 1.338 GB, free: 175.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008081/1.428, allocations: 295.5 kB / 1.339 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003397/1.428, allocations: 0.7828 MB / 1.339 GB, free: 174.9 MB / 0.8542 GB Notification: Performance of SimCode: time 3e-07/1.428, allocations: 0 / 1.339 GB, free: 174.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.007501/1.436, allocations: 3.9 MB / 1.343 GB, free: 173 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)