Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.174/2.174, allocations: 284.9 MB / 292.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001669/0.001669, allocations: 181.3 kB / 360.4 MB, free: 7.516 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.722/1.722, allocations: 205.1 MB / 0.6188 GB, free: 12.51 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001238/0.001238, allocations: 99.81 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.616e-06/8.736e-06, allocations: 0 / 0.8503 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.591/0.5911, allocations: 115.2 MB / 0.9628 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9147/1.506, allocations: 362.6 MB / 1.317 GB, free: 186.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/1.506, allocations: 86.36 kB / 1.317 GB, free: 186.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.043/1.549, allocations: 10.5 MB / 1.327 GB, free: 185.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.834e-05/1.549, allocations: 2.688 kB / 1.327 GB, free: 185.3 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.001645/1.551, allocations: 0.5822 MB / 1.328 GB, free: 184.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/1.551, allocations: 13.12 kB / 1.328 GB, free: 184.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.539e-05/1.551, allocations: 26.97 kB / 1.328 GB, free: 184.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009717/1.552, allocations: 268.3 kB / 1.328 GB, free: 184.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/1.552, allocations: 10.72 kB / 1.328 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/1.552, allocations: 2.906 kB / 1.328 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003698/1.552, allocations: 99.02 kB / 1.328 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003132/1.553, allocations: 114.9 kB / 1.328 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/1.553, allocations: 0 / 1.328 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/1.553, allocations: 0 / 1.328 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/1.553, allocations: 2.812 kB / 1.328 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/1.554, allocations: 471.1 kB / 1.329 GB, free: 184.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/1.555, allocations: 79.89 kB / 1.329 GB, free: 184.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/1.555, allocations: 60.66 kB / 1.329 GB, free: 184.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009401/1.556, allocations: 0.5182 MB / 1.329 GB, free: 183.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/1.556, allocations: 34.55 kB / 1.329 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 2.775e-06/1.556, allocations: 0 / 1.329 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.00646/1.562, allocations: 461.3 kB / 1.33 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/1.562, allocations: 57.91 kB / 1.33 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/1.563, allocations: 186.4 kB / 1.33 GB, free: 183.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/1.563, allocations: 25.7 kB / 1.33 GB, free: 183.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.084e-05/1.563, allocations: 115.1 kB / 1.33 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.889e-05/1.563, allocations: 31.05 kB / 1.33 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.964e-05/1.563, allocations: 0 / 1.33 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.59e-05/1.563, allocations: 341.1 kB / 1.331 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/1.563, allocations: 50.17 kB / 1.331 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/1.563, allocations: 46.53 kB / 1.331 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005969/1.569, allocations: 352.8 kB / 1.331 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/1.569, allocations: 0 / 1.331 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.006329/1.576, allocations: 465.6 kB / 1.331 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/1.576, allocations: 7.844 kB / 1.331 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/1.576, allocations: 2.438 kB / 1.331 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/1.576, allocations: 4.219 kB / 1.331 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006047/1.576, allocations: 61.59 kB / 1.332 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/1.576, allocations: 6.969 kB / 1.332 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004646/1.577, allocations: 41.31 kB / 1.332 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/1.577, allocations: 6.953 kB / 1.332 GB, free: 182.4 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.264e-05/1.577, allocations: 112.6 kB / 1.332 GB, free: 182.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.884e-05/1.577, allocations: 24.47 kB / 1.332 GB, free: 182.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006468/1.583, allocations: 480.4 kB / 1.332 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/1.584, allocations: 1.156 kB / 1.332 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/1.584, allocations: 5.031 kB / 1.332 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/1.584, allocations: 0 / 1.332 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004243/1.584, allocations: 242.2 kB / 1.332 GB, free: 181.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/1.584, allocations: 5.375 kB / 1.332 GB, free: 181.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005998/1.585, allocations: 61.45 kB / 1.332 GB, free: 181.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/1.585, allocations: 3.984 kB / 1.332 GB, free: 181.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/1.585, allocations: 5.75 kB / 1.333 GB, free: 181.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/1.585, allocations: 4.938 kB / 1.333 GB, free: 181.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.585, allocations: 0 / 1.333 GB, free: 181.9 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006427/1.591, allocations: 0.5495 MB / 1.333 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/1.591, allocations: 115.1 kB / 1.333 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.32e-05/1.591, allocations: 0 / 1.333 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005115/1.592, allocations: 41.83 kB / 1.333 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.587e-05/1.592, allocations: 16.86 kB / 1.333 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-05/1.592, allocations: 6.672 kB / 1.333 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.000194/1.592, allocations: 152.7 kB / 1.333 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005646/1.593, allocations: 73.73 kB / 1.333 GB, free: 181.4 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.0003793/1.593, allocations: 182.8 kB / 1.334 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004672/1.594, allocations: 114.9 kB / 1.334 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.594, allocations: 0 / 1.334 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002029/1.594, allocations: 74.03 kB / 1.334 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/1.594, allocations: 27.36 kB / 1.334 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000959/1.595, allocations: 241.1 kB / 1.334 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003789/1.596, allocations: 0.7658 MB / 1.335 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.883e-06/1.596, allocations: 0 / 1.335 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.00942/1.605, allocations: 3.069 MB / 1.338 GB, free: 178.8 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)