Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.085/2.085, allocations: 253.1 MB / 260.4 MB, free: 7.59 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001727/0.001726, allocations: 189 kB / 319.6 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.88/1.88, allocations: 205.4 MB / 0.5704 GB, free: 15.04 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001334/0.001333, allocations: 103.5 kB / 0.6746 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.108e-05/1.124e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2264, allocations: 106.3 MB / 0.888 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9381/1.165, allocations: 355.6 MB / 1.235 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000308/1.165, allocations: 81.95 kB / 1.235 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.03779/1.203, allocations: 9.008 MB / 1.244 GB, free: 7.16 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.75e-05/1.203, allocations: 4 kB / 1.244 GB, free: 7.156 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.001029/1.204, allocations: 461.2 kB / 1.245 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/1.204, allocations: 8.031 kB / 1.245 GB, free: 6.664 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.085e-05/1.204, allocations: 23.53 kB / 1.245 GB, free: 6.645 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007107/1.205, allocations: 241.5 kB / 1.245 GB, free: 6.379 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/1.205, allocations: 0 / 1.245 GB, free: 6.379 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.317e-05/1.205, allocations: 7.984 kB / 1.245 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002527/1.205, allocations: 68.36 kB / 1.245 GB, free: 6.328 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000294/1.205, allocations: 114.8 kB / 1.245 GB, free: 6.234 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/1.205, allocations: 3.984 kB / 1.245 GB, free: 6.23 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/1.205, allocations: 4 kB / 1.245 GB, free: 6.227 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.392e-05/1.205, allocations: 11.94 kB / 1.245 GB, free: 6.215 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/1.207, allocations: 446.5 kB / 1.245 GB, free: 5.797 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003491/1.207, allocations: 131.8 kB / 1.246 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002143/1.207, allocations: 75.77 kB / 1.246 GB, free: 5.641 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/1.207, allocations: 6.609 kB / 1.246 GB, free: 5.637 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.327e-05/1.207, allocations: 45.56 kB / 1.246 GB, free: 5.586 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 2.775e-06/1.207, allocations: 0 / 1.246 GB, free: 5.586 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0009613/1.208, allocations: 197.4 kB / 1.246 GB, free: 5.422 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/1.208, allocations: 55.41 kB / 1.246 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/1.209, allocations: 179.7 kB / 1.246 GB, free: 5.199 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/1.209, allocations: 25.7 kB / 1.246 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.447e-05/1.209, allocations: 103.1 kB / 1.246 GB, free: 5.07 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.666e-05/1.209, allocations: 43.17 kB / 1.246 GB, free: 5.031 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.664e-05/1.209, allocations: 0 / 1.246 GB, free: 5.031 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.209, allocations: 333.3 kB / 1.247 GB, free: 4.707 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/1.209, allocations: 50.59 kB / 1.247 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/1.209, allocations: 51.86 kB / 1.247 GB, free: 4.641 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000541/1.21, allocations: 93.77 kB / 1.247 GB, free: 4.566 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/1.21, allocations: 0 / 1.247 GB, free: 4.566 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000815/1.211, allocations: 200.9 kB / 1.247 GB, free: 4.398 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/1.211, allocations: 4 kB / 1.247 GB, free: 4.395 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/1.211, allocations: 4 kB / 1.247 GB, free: 4.391 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/1.211, allocations: 8 kB / 1.247 GB, free: 4.383 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005319/1.211, allocations: 39.95 kB / 1.247 GB, free: 4.344 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/1.212, allocations: 0 / 1.247 GB, free: 4.344 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/1.212, allocations: 23.92 kB / 1.247 GB, free: 4.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/1.212, allocations: 7.906 kB / 1.247 GB, free: 4.312 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 0.0001075/1.212, allocations: 101 kB / 1.247 GB, free: 4.207 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.027e-05/1.212, allocations: 23.73 kB / 1.247 GB, free: 4.184 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.308e-05/1.212, allocations: 32.5 kB / 1.247 GB, free: 4.164 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/1.212, allocations: 0 / 1.247 GB, free: 4.164 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/1.212, allocations: 0 / 1.247 GB, free: 4.164 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/1.212, allocations: 3.984 kB / 1.247 GB, free: 4.16 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003987/1.213, allocations: 238.5 kB / 1.247 GB, free: 3.922 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/1.213, allocations: 0 / 1.247 GB, free: 3.922 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004658/1.213, allocations: 39.95 kB / 1.248 GB, free: 3.883 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/1.213, allocations: 0 / 1.248 GB, free: 3.883 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/1.213, allocations: 4 kB / 1.248 GB, free: 3.879 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/1.213, allocations: 0 / 1.248 GB, free: 3.879 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/1.213, allocations: 4 kB / 1.248 GB, free: 3.875 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009016/1.214, allocations: 297.6 kB / 1.248 GB, free: 3.605 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/1.214, allocations: 121.5 kB / 1.248 GB, free: 3.477 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.754e-05/1.214, allocations: 3.906 kB / 1.248 GB, free: 3.473 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003873/1.215, allocations: 19.98 kB / 1.248 GB, free: 3.453 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.925e-05/1.215, allocations: 11.97 kB / 1.248 GB, free: 3.441 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/1.215, allocations: 4 kB / 1.248 GB, free: 3.438 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0002007/1.215, allocations: 146.7 kB / 1.248 GB, free: 3.312 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004455/1.216, allocations: 39.31 kB / 1.248 GB, free: 3.277 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.000314/1.216, allocations: 147.2 kB / 1.248 GB, free: 3.125 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004406/1.216, allocations: 137.2 kB / 1.248 GB, free: 3.027 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/1.216, allocations: 0 / 1.248 GB, free: 3.027 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001982/1.217, allocations: 60.3 kB / 1.248 GB, free: 2.984 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/1.217, allocations: 23.42 kB / 1.248 GB, free: 2.969 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009469/1.218, allocations: 246.3 kB / 1.249 GB, free: 2.73 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005575/1.219, allocations: 0.7496 MB / 1.249 GB, free: 1.957 MB / 0.8542 GB Notification: Performance of SimCode: time 1.142e-06/1.219, allocations: 0 / 1.249 GB, free: 1.957 MB / 0.8542 GB Notification: Performance of Templates: time 0.3218/1.54, allocations: 2.341 MB / 1.252 GB, free: 414.6 MB / 0.8542 GB