Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.049/2.049, allocations: 253.1 MB / 260.4 MB, free: 7.457 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.001603/0.001603, allocations: 185.2 kB / 319.6 MB, free: 3.293 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.875/1.875, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.00134/0.00134, allocations: 109.2 kB / 0.6746 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.074e-05/1.087e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2142, allocations: 106.2 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9867/1.201, allocations: 356.7 MB / 1.236 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003583/1.201, allocations: 86.2 kB / 1.237 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.04933/1.251, allocations: 11.13 MB / 1.247 GB, free: 4.176 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.199e-05/1.251, allocations: 4 kB / 1.247 GB, free: 4.172 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.00195/1.253, allocations: 0.6155 MB / 1.248 GB, free: 3.523 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/1.253, allocations: 8.031 kB / 1.248 GB, free: 3.516 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/1.254, allocations: 155.4 kB / 1.248 GB, free: 3.363 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001696/1.256, allocations: 341 kB / 1.248 GB, free: 3.004 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/1.256, allocations: 4 kB / 1.248 GB, free: 3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.883e-05/1.256, allocations: 7.906 kB / 1.248 GB, free: 2.992 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005408/1.257, allocations: 138.8 kB / 1.249 GB, free: 2.91 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004261/1.257, allocations: 151.6 kB / 1.249 GB, free: 2.789 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/1.257, allocations: 0 / 1.249 GB, free: 2.789 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/1.257, allocations: 0 / 1.249 GB, free: 2.789 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/1.257, allocations: 4 kB / 1.249 GB, free: 2.785 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/1.259, allocations: 0.5541 MB / 1.249 GB, free: 2.277 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002979/1.259, allocations: 104.4 kB / 1.249 GB, free: 2.199 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/1.26, allocations: 83.03 kB / 1.249 GB, free: 2.148 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001122/1.261, allocations: 0.5141 MB / 1.25 GB, free: 1.527 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/1.261, allocations: 34.38 kB / 1.25 GB, free: 1.488 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 3.346e-06/1.261, allocations: 4 kB / 1.25 GB, free: 1.484 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.006782/1.268, allocations: 0.4974 MB / 1.251 GB, free: 1.051 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/1.268, allocations: 55.41 kB / 1.251 GB, free: 0.9844 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003798/1.268, allocations: 215 kB / 1.251 GB, free: 0.8047 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.157e-05/1.268, allocations: 25.7 kB / 1.251 GB, free: 0.7734 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.971e-05/1.268, allocations: 120.7 kB / 1.251 GB, free: 0.6641 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.238e-05/1.268, allocations: 42.86 kB / 1.251 GB, free: 0.625 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/1.269, allocations: 3.938 kB / 1.251 GB, free: 0.6211 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001382/1.269, allocations: 334.4 kB / 1.251 GB, free: 304 kB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/1.269, allocations: 75.48 kB / 1.251 GB, free: 260 kB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/1.269, allocations: 72.23 kB / 1.251 GB, free: 220 kB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3281/1.597, allocations: 0.9059 MB / 1.252 GB, free: 413.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/1.597, allocations: 0 / 1.252 GB, free: 413.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.01716/1.615, allocations: 1.051 MB / 1.253 GB, free: 413 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/1.615, allocations: 2.969 kB / 1.253 GB, free: 413 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.615, allocations: 0 / 1.253 GB, free: 413 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.733e-05/1.615, allocations: 3.562 kB / 1.253 GB, free: 413 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000929/1.616, allocations: 92.34 kB / 1.253 GB, free: 413 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/1.616, allocations: 4.625 kB / 1.253 GB, free: 413 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007367/1.616, allocations: 64.22 kB / 1.253 GB, free: 413 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-05/1.617, allocations: 6.969 kB / 1.253 GB, free: 413 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 0.0001235/1.617, allocations: 108.9 kB / 1.254 GB, free: 412.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.576e-05/1.617, allocations: 26.69 kB / 1.254 GB, free: 412.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006598/1.623, allocations: 0.5232 MB / 1.254 GB, free: 412.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/1.623, allocations: 7.781 kB / 1.254 GB, free: 412.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/1.623, allocations: 0 / 1.254 GB, free: 412.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/1.623, allocations: 3.797 kB / 1.254 GB, free: 412.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005058/1.624, allocations: 272.3 kB / 1.254 GB, free: 412.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/1.624, allocations: 0 / 1.254 GB, free: 412.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/1.625, allocations: 80.3 kB / 1.254 GB, free: 412.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/1.625, allocations: 0 / 1.254 GB, free: 412.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.45e-05/1.625, allocations: 14.62 kB / 1.254 GB, free: 412.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.134e-06/1.625, allocations: 5.219 kB / 1.254 GB, free: 412.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.625, allocations: 0 / 1.254 GB, free: 412.7 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01058/1.636, allocations: 0.593 MB / 1.255 GB, free: 412.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003109/1.636, allocations: 126.4 kB / 1.255 GB, free: 412.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/1.637, allocations: 0 / 1.255 GB, free: 412.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/1.638, allocations: 55.97 kB / 1.255 GB, free: 412.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/1.638, allocations: 22.38 kB / 1.255 GB, free: 412.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.85e-05/1.638, allocations: 3.844 kB / 1.255 GB, free: 412.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0003238/1.638, allocations: 169.8 kB / 1.255 GB, free: 412.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006623/1.639, allocations: 76.22 kB / 1.256 GB, free: 412.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 (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.0003991/1.639, allocations: 187 kB / 1.256 GB, free: 412.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006171/1.64, allocations: 181.9 kB / 1.256 GB, free: 412.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/1.64, allocations: 0 / 1.256 GB, free: 412.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002787/1.64, allocations: 94.59 kB / 1.256 GB, free: 412.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004874/1.641, allocations: 32.67 kB / 1.256 GB, free: 412.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/1.642, allocations: 290.1 kB / 1.256 GB, free: 412.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004864/1.642, allocations: 0.7857 MB / 1.257 GB, free: 411.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.232e-06/1.643, allocations: 0 / 1.257 GB, free: 411.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.01118/1.654, allocations: 3.902 MB / 1.261 GB, free: 411.3 MB / 0.8542 GB