Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.491/2.491, allocations: 253.1 MB / 260.4 MB, free: 7.449 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.001665/0.001664, allocations: 192.9 kB / 319.6 MB, free: 3.289 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.888/1.888, allocations: 205.4 MB / 0.5704 GB, free: 15.02 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.00135/0.00135, allocations: 95 kB / 0.6746 GB, free: 4.383 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.957e-06/9.157e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2294, allocations: 106.3 MB / 0.888 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9736/1.203, allocations: 356.1 MB / 1.236 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/1.203, allocations: 86.95 kB / 1.236 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.04935/1.253, allocations: 10.34 MB / 1.246 GB, free: 5.531 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.878e-05/1.253, allocations: 8 kB / 1.246 GB, free: 5.523 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.001729/1.255, allocations: 0.5819 MB / 1.247 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/1.255, allocations: 8.031 kB / 1.247 GB, free: 4.902 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.602e-05/1.255, allocations: 27.72 kB / 1.247 GB, free: 4.875 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/1.256, allocations: 277 kB / 1.247 GB, free: 4.57 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/1.256, allocations: 4 kB / 1.247 GB, free: 4.566 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.372e-05/1.256, allocations: 4 kB / 1.247 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003805/1.256, allocations: 90.84 kB / 1.247 GB, free: 4.504 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003264/1.257, allocations: 113.3 kB / 1.247 GB, free: 4.41 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/1.257, allocations: 0 / 1.247 GB, free: 4.41 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.875e-05/1.257, allocations: 0 / 1.247 GB, free: 4.41 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/1.257, allocations: 7.938 kB / 1.247 GB, free: 4.402 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/1.258, allocations: 468.8 kB / 1.247 GB, free: 3.969 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/1.258, allocations: 75.12 kB / 1.248 GB, free: 3.906 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/1.258, allocations: 62.09 kB / 1.248 GB, free: 3.863 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001035/1.26, allocations: 0.5176 MB / 1.248 GB, free: 3.238 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/1.26, allocations: 34.31 kB / 1.248 GB, free: 3.199 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 4.548e-06/1.26, allocations: 4 kB / 1.248 GB, free: 3.195 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.006444/1.266, allocations: 456.9 kB / 1.249 GB, free: 2.793 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/1.266, allocations: 51.62 kB / 1.249 GB, free: 2.73 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003495/1.266, allocations: 189.9 kB / 1.249 GB, free: 2.57 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/1.267, allocations: 33.62 kB / 1.249 GB, free: 2.531 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.413e-05/1.267, allocations: 110.2 kB / 1.249 GB, free: 2.43 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.157e-05/1.267, allocations: 38.95 kB / 1.249 GB, free: 2.395 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.988e-05/1.267, allocations: 0 / 1.249 GB, free: 2.395 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.267, allocations: 334.2 kB / 1.249 GB, free: 2.07 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/1.267, allocations: 43.42 kB / 1.249 GB, free: 2.043 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/1.267, allocations: 49.48 kB / 1.249 GB, free: 2.012 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005973/1.273, allocations: 361.6 kB / 1.25 GB, free: 1.695 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/1.273, allocations: 0 / 1.25 GB, free: 1.695 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00629/1.28, allocations: 462.6 kB / 1.25 GB, free: 1.289 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/1.28, allocations: 11.94 kB / 1.25 GB, free: 1.277 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/1.28, allocations: 0 / 1.25 GB, free: 1.277 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/1.28, allocations: 0 / 1.25 GB, free: 1.277 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006415/1.28, allocations: 59.94 kB / 1.25 GB, free: 1.219 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/1.28, allocations: 0 / 1.25 GB, free: 1.219 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004842/1.281, allocations: 46.94 kB / 1.25 GB, free: 1.176 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/1.281, allocations: 7.984 kB / 1.25 GB, free: 1.168 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 0.0001155/1.281, allocations: 108.9 kB / 1.25 GB, free: 1.055 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.876e-05/1.281, allocations: 23.72 kB / 1.25 GB, free: 1.031 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006503/1.288, allocations: 481.5 kB / 1.251 GB, free: 0.6133 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/1.288, allocations: 8 kB / 1.251 GB, free: 0.6055 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/1.288, allocations: 3.906 kB / 1.251 GB, free: 0.6016 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/1.288, allocations: 0 / 1.251 GB, free: 0.6016 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004383/1.288, allocations: 233.7 kB / 1.251 GB, free: 376 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/1.288, allocations: 4 kB / 1.251 GB, free: 372 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006247/1.289, allocations: 70.28 kB / 1.251 GB, free: 304 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/1.289, allocations: 4 kB / 1.251 GB, free: 300 kB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/1.289, allocations: 3.938 kB / 1.251 GB, free: 296 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/1.289, allocations: 0 / 1.251 GB, free: 296 kB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.289, allocations: 3.984 kB / 1.251 GB, free: 292 kB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.3073/1.596, allocations: 0.5464 MB / 1.252 GB, free: 414.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/1.596, allocations: 111.1 kB / 1.252 GB, free: 414 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.488e-05/1.597, allocations: 3.906 kB / 1.252 GB, free: 414 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005195/1.597, allocations: 40.73 kB / 1.252 GB, free: 414 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.882e-05/1.597, allocations: 13.11 kB / 1.252 GB, free: 414 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.889e-05/1.597, allocations: 10.22 kB / 1.252 GB, free: 414 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.000179/1.597, allocations: 155.6 kB / 1.252 GB, free: 413.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005437/1.598, allocations: 61.55 kB / 1.252 GB, free: 413.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 (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.000365/1.598, allocations: 190.6 kB / 1.252 GB, free: 413.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004401/1.599, allocations: 121.3 kB / 1.252 GB, free: 413.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.599, allocations: 0 / 1.252 GB, free: 413.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002029/1.599, allocations: 64.88 kB / 1.252 GB, free: 413.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004481/1.599, allocations: 26.25 kB / 1.253 GB, free: 413.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009715/1.6, allocations: 243.9 kB / 1.253 GB, free: 413.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003792/1.601, allocations: 0.7663 MB / 1.254 GB, free: 413.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.303e-06/1.601, allocations: 0 / 1.254 GB, free: 413.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.01057/1.611, allocations: 3.078 MB / 1.257 GB, free: 413 MB / 0.8542 GB