Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.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.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") [: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.08/2.08, allocations: 253.1 MB / 260.4 MB, free: 7.605 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.001766/0.001765, allocations: 185.2 kB / 319.6 MB, free: 3.316 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.943/1.943, allocations: 205.4 MB / 0.5704 GB, free: 15.06 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.00128/0.00128, allocations: 92.97 kB / 0.6746 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.468e-06/9.949e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2396, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.66/6.899, allocations: 2.475 GB / 3.363 GB, free: 228.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/6.9, allocations: 89.89 kB / 3.363 GB, free: 228.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.701/11.6, allocations: 0.9059 GB / 4.269 GB, free: 99.27 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0009535/11.6, allocations: 129.1 kB / 4.269 GB, free: 99.25 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.01986/11.62, allocations: 4.318 MB / 4.273 GB, free: 97.89 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/11.62, allocations: 14.19 kB / 4.273 GB, free: 97.89 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01527/11.64, allocations: 1.358 MB / 4.274 GB, free: 97.61 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02522/11.66, allocations: 5.437 MB / 4.28 GB, free: 96.99 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003088/11.66, allocations: 118.1 kB / 4.28 GB, free: 96.99 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002177/11.66, allocations: 213.4 kB / 4.28 GB, free: 96.99 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01668/11.68, allocations: 4.434 MB / 4.284 GB, free: 96.97 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01913/11.7, allocations: 4.528 MB / 4.289 GB, free: 96.45 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002137/11.7, allocations: 10.94 kB / 4.289 GB, free: 96.45 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001524/11.7, allocations: 7.906 kB / 4.289 GB, free: 96.45 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002105/11.7, allocations: 176.7 kB / 4.289 GB, free: 96.44 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05857/11.76, allocations: 19.06 MB / 4.307 GB, free: 89.88 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009226/11.77, allocations: 2.964 MB / 4.31 GB, free: 89.83 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004687/11.78, allocations: 1.619 MB / 4.312 GB, free: 89.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003217/11.78, allocations: 1.874 MB / 4.314 GB, free: 87.83 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005683/11.78, allocations: 1.747 MB / 4.315 GB, free: 87.71 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=264): time 7.434e-06/11.78, allocations: 0 / 4.315 GB, free: 87.71 MB / 0.8855 GB Notification: Performance of matching and sorting (n=264): time 0.02153/11.81, allocations: 3.685 MB / 4.319 GB, free: 87.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/11.81, allocations: 288.9 kB / 4.319 GB, free: 87.09 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009766/11.82, allocations: 3.047 MB / 4.322 GB, free: 86.82 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001073/11.82, allocations: 29.39 kB / 4.322 GB, free: 86.79 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002729/11.82, allocations: 1.397 MB / 4.324 GB, free: 86.03 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.002435/11.82, allocations: 0.8671 MB / 4.325 GB, free: 85.45 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003814/11.82, allocations: 0 / 4.325 GB, free: 85.45 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002753/11.82, allocations: 424.5 kB / 4.325 GB, free: 85.14 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003857/11.83, allocations: 1.324 MB / 4.326 GB, free: 85.14 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004842/11.83, allocations: 2.006 MB / 4.328 GB, free: 84.42 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02564/11.86, allocations: 2.883 MB / 4.331 GB, free: 84.38 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.114e-05/11.86, allocations: 3.625 kB / 4.331 GB, free: 84.38 MB / 0.8855 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.03421/11.89, allocations: 4.97 MB / 4.336 GB, free: 84.08 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001787/11.89, allocations: 7.27 MB / 4.343 GB, free: 76.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.668e-05/11.89, allocations: 22.33 kB / 4.343 GB, free: 76.59 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001317/11.89, allocations: 116.2 kB / 4.343 GB, free: 76.58 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008565/11.9, allocations: 0.809 MB / 4.344 GB, free: 76.58 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003026/11.91, allocations: 1.503 MB / 4.345 GB, free: 75.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008925/11.92, allocations: 444.9 kB / 4.346 GB, free: 75.21 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00126/11.92, allocations: 147.3 kB / 4.346 GB, free: 75.21 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/11.92, allocations: 3.969 kB / 4.346 GB, free: 75.21 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03259/11.95, allocations: 4.596 MB / 4.35 GB, free: 75.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.61e-05/11.95, allocations: 19.41 kB / 4.35 GB, free: 75.12 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/11.95, allocations: 115.1 kB / 4.351 GB, free: 75.11 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008584/11.96, allocations: 0.7993 MB / 4.351 GB, free: 75.11 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002949/11.96, allocations: 1.508 MB / 4.353 GB, free: 73.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008521/11.97, allocations: 398.2 kB / 4.353 GB, free: 73.77 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001187/11.97, allocations: 145.4 kB / 4.353 GB, free: 73.76 MB / 0.8855 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 (371): * Single equations (assignments): 370 * 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: 1 * Mixed (continuous/discrete) equation systems: 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.001213/11.97, allocations: 182.2 kB / 4.354 GB, free: 73.64 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001661/11.98, allocations: 352 kB / 4.354 GB, free: 73.46 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02478/12, allocations: 4.527 MB / 4.358 GB, free: 73.27 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.901e-05/12, allocations: 30.7 kB / 4.358 GB, free: 73.27 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/12, allocations: 6.156 kB / 4.358 GB, free: 73.26 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01927/12.02, allocations: 3.617 MB / 4.362 GB, free: 72.92 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04058/12.06, allocations: 8.921 MB / 4.371 GB, free: 72.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.335e-05/12.06, allocations: 3.062 kB / 4.371 GB, free: 72.05 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007753/12.07, allocations: 0.6329 MB / 4.371 GB, free: 72.05 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001099/12.07, allocations: 91.77 kB / 4.371 GB, free: 72.04 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001019/12.07, allocations: 66.47 kB / 4.371 GB, free: 72.04 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002861/12.07, allocations: 1.512 MB / 4.373 GB, free: 70.81 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-05/12.07, allocations: 5.062 kB / 4.373 GB, free: 70.81 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0274/12.1, allocations: 6.366 MB / 4.379 GB, free: 69.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004835/12.11, allocations: 1.045 MB / 4.38 GB, free: 69.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002481/12.11, allocations: 14.78 kB / 4.38 GB, free: 69.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008613/12.12, allocations: 270.8 kB / 4.38 GB, free: 69.36 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001083/12.12, allocations: 155.2 kB / 4.38 GB, free: 69.36 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007297/12.12, allocations: 127.2 kB / 4.381 GB, free: 69.36 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.00727/12.13, allocations: 2.349 MB / 4.383 GB, free: 69.21 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01481/12.14, allocations: 2.33 MB / 4.385 GB, free: 68.79 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (283): * Single equations (assignments): 274 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 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.004832/12.15, allocations: 1.609 MB / 4.387 GB, free: 68.52 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01818/12.16, allocations: 5.46 MB / 4.392 GB, free: 68.23 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.025e-05/12.16, allocations: 3.625 kB / 4.392 GB, free: 68.23 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.006176/12.17, allocations: 1.707 MB / 4.394 GB, free: 68.12 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01659/12.19, allocations: 1.659 MB / 4.395 GB, free: 68.09 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03076/12.22, allocations: 7.946 MB / 4.403 GB, free: 66.57 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0091/12.23, allocations: 3.57 MB / 4.407 GB, free: 65.79 MB / 0.8855 GB Notification: Performance of SimCode: time 1.563e-06/12.23, allocations: 0 / 4.407 GB, free: 65.79 MB / 0.8855 GB Notification: Performance of Templates: time 0.2765/12.5, allocations: 101.3 MB / 4.506 GB, free: 47.91 MB / 0.8855 GB