Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Concentrating.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.Examples.Concentrating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Concentrating") [: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.072/2.072, allocations: 253.1 MB / 260.4 MB, free: 7.414 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.001685/0.001684, allocations: 185.2 kB / 319.6 MB, free: 3.324 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.889/1.889, 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.001362/0.001362, allocations: 87.39 kB / 0.6746 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.306e-06/8.455e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2177, allocations: 106.3 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.772/6.99, allocations: 2.474 GB / 3.362 GB, free: 225.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/6.99, allocations: 96.61 kB / 3.362 GB, free: 225.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.698/11.69, allocations: 0.9044 GB / 4.267 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0009288/11.69, allocations: 128.4 kB / 4.267 GB, free: 124.8 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 965 * Number of variables: 965 Notification: Performance of Generate backend data structure: time 0.01966/11.71, allocations: 4.276 MB / 4.271 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/11.71, allocations: 14.34 kB / 4.271 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01413/11.72, allocations: 1.239 MB / 4.272 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02397/11.75, allocations: 5.382 MB / 4.278 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002992/11.75, allocations: 115.2 kB / 4.278 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001963/11.75, allocations: 218.8 kB / 4.278 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01596/11.77, allocations: 4.384 MB / 4.282 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01928/11.78, allocations: 4.52 MB / 4.287 GB, free: 122 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002259/11.79, allocations: 15.67 kB / 4.287 GB, free: 122 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001966/11.79, allocations: 3.969 kB / 4.287 GB, free: 122 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002212/11.79, allocations: 177 kB / 4.287 GB, free: 122 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05636/11.84, allocations: 19.15 MB / 4.305 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009527/11.85, allocations: 3.007 MB / 4.308 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00489/11.86, allocations: 1.625 MB / 4.31 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003296/11.86, allocations: 1.871 MB / 4.312 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005747/11.87, allocations: 1.75 MB / 4.313 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=266): time 8.095e-06/11.87, allocations: 0 / 4.313 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=266): time 0.02133/11.89, allocations: 3.671 MB / 4.317 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/11.89, allocations: 289.4 kB / 4.317 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008248/11.9, allocations: 3.024 MB / 4.32 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001145/11.9, allocations: 33.48 kB / 4.32 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00245/11.9, allocations: 1.373 MB / 4.322 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002568/11.9, allocations: 0.8736 MB / 4.323 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003686/11.9, allocations: 0 / 4.323 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002737/11.9, allocations: 424.9 kB / 4.323 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003707/11.91, allocations: 1.303 MB / 4.324 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004659/11.91, allocations: 1.971 MB / 4.326 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01412/11.93, allocations: 2.315 MB / 4.328 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.81e-05/11.93, allocations: 7.844 kB / 4.328 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=367) (initialization): time 0.02243/11.95, allocations: 4.36 MB / 4.333 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001824/11.95, allocations: 7.283 MB / 4.34 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.122e-05/11.95, allocations: 19.53 kB / 4.34 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/11.95, allocations: 110.9 kB / 4.34 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008701/11.96, allocations: 0.8023 MB / 4.341 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003545/11.97, allocations: 2.093 MB / 4.343 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008616/11.97, allocations: 416.9 kB / 4.343 GB, free: 99.98 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001196/11.98, allocations: 140.4 kB / 4.343 GB, free: 99.98 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/11.98, allocations: 3.906 kB / 4.343 GB, free: 99.98 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02106/12, allocations: 4.001 MB / 4.347 GB, free: 99.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.844e-05/12, allocations: 16.5 kB / 4.347 GB, free: 99.89 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/12, allocations: 114.2 kB / 4.347 GB, free: 99.88 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008546/12.01, allocations: 0.7828 MB / 4.348 GB, free: 99.88 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003106/12.01, allocations: 1.497 MB / 4.35 GB, free: 98.65 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008642/12.02, allocations: 379.3 kB / 4.35 GB, free: 98.53 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001229/12.02, allocations: 145.4 kB / 4.35 GB, free: 98.53 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (365): * Single equations (assignments): 363 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001282/12.02, allocations: 186.2 kB / 4.35 GB, free: 98.41 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001685/12.02, allocations: 353.2 kB / 4.351 GB, free: 98.23 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02434/12.05, allocations: 4.514 MB / 4.355 GB, free: 98.03 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.81e-05/12.05, allocations: 30.45 kB / 4.355 GB, free: 98.03 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/12.05, allocations: 2.875 kB / 4.355 GB, free: 98.03 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01882/12.07, allocations: 3.613 MB / 4.358 GB, free: 97.69 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03727/12.1, allocations: 8.621 MB / 4.367 GB, free: 97.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.237e-05/12.1, allocations: 3.719 kB / 4.367 GB, free: 97.09 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007504/12.11, allocations: 0.6147 MB / 4.368 GB, free: 97.09 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001075/12.11, allocations: 93.03 kB / 4.368 GB, free: 97.08 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008365/12.11, allocations: 53.17 kB / 4.368 GB, free: 97.08 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003061/12.12, allocations: 2.095 MB / 4.37 GB, free: 95.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/12.12, allocations: 0 / 4.37 GB, free: 95.27 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02588/12.14, allocations: 5.984 MB / 4.376 GB, free: 94.68 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004641/12.15, allocations: 1.035 MB / 4.377 GB, free: 94.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001883/12.15, allocations: 15.19 kB / 4.377 GB, free: 94.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008057/12.16, allocations: 275.8 kB / 4.377 GB, free: 94.35 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009153/12.16, allocations: 151.1 kB / 4.377 GB, free: 94.34 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006295/12.16, allocations: 131.9 kB / 4.377 GB, free: 94.34 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.006564/12.16, allocations: 2.33 MB / 4.379 GB, free: 94.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01925/12.18, allocations: 2.307 MB / 4.382 GB, free: 93.77 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 11 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 275 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00636/12.19, allocations: 1.599 MB / 4.383 GB, free: 93.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02348/12.21, allocations: 5.399 MB / 4.388 GB, free: 93.21 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-05/12.21, allocations: 4.656 kB / 4.388 GB, free: 93.21 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.007667/12.22, allocations: 1.71 MB / 4.39 GB, free: 93.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02313/12.24, allocations: 1.663 MB / 4.392 GB, free: 93.07 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03485/12.28, allocations: 7.909 MB / 4.399 GB, free: 91.65 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009982/12.29, allocations: 3.549 MB / 4.403 GB, free: 90.88 MB / 0.8698 GB Notification: Performance of SimCode: time 2.093e-06/12.29, allocations: 0 / 4.403 GB, free: 90.88 MB / 0.8698 GB Notification: Performance of Templates: time 0.2699/12.56, allocations: 100.6 MB / 4.501 GB, free: 63.1 MB / 0.8698 GB