Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.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.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") [: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.203/2.203, allocations: 253.1 MB / 260.4 MB, free: 7.441 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.001689/0.001688, allocations: 173.3 kB / 319.6 MB, free: 3.301 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 2.007/2.007, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001367/0.001366, allocations: 96.31 kB / 0.6746 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.699e-06/9.798e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2634, allocations: 106.3 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.822/7.086, allocations: 2.475 GB / 3.363 GB, free: 227.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003738/7.086, allocations: 90.08 kB / 3.363 GB, free: 227.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 13.87/20.96, allocations: 2.766 GB / 6.129 GB, free: 95.98 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.003236/20.96, allocations: 383 kB / 6.13 GB, free: 95.92 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2944 * Number of variables: 2944 Notification: Performance of Generate backend data structure: time 0.05705/21.02, allocations: 12.07 MB / 6.142 GB, free: 91.5 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/21.02, allocations: 6.25 kB / 6.142 GB, free: 91.5 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03378/21.05, allocations: 3.222 MB / 6.145 GB, free: 90.68 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08027/21.13, allocations: 18.3 MB / 6.163 GB, free: 89.08 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009106/21.14, allocations: 355.5 kB / 6.163 GB, free: 89.08 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006072/21.14, allocations: 0.6445 MB / 6.164 GB, free: 89.07 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04814/21.19, allocations: 13.13 MB / 6.176 GB, free: 89.03 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06285/21.25, allocations: 14.47 MB / 6.191 GB, free: 87.39 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001074/21.25, allocations: 39.81 kB / 6.191 GB, free: 87.39 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006489/21.26, allocations: 26.05 kB / 6.191 GB, free: 87.39 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009401/21.26, allocations: 0.5756 MB / 6.191 GB, free: 87.36 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1844/21.45, allocations: 61.9 MB / 6.252 GB, free: 51.44 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03082/21.48, allocations: 8.79 MB / 6.26 GB, free: 45.18 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01446/21.49, allocations: 5.053 MB / 6.265 GB, free: 40.61 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004405/21.5, allocations: 2.391 MB / 6.268 GB, free: 37.89 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01705/21.51, allocations: 5.053 MB / 6.272 GB, free: 33.86 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=704): time 1.555e-05/21.51, allocations: 0 / 6.272 GB, free: 33.86 MB / 0.9167 GB Notification: Performance of matching and sorting (n=704): time 0.05823/21.57, allocations: 10.46 MB / 6.283 GB, free: 25.1 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001479/21.57, allocations: 357.4 kB / 6.283 GB, free: 24.68 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03363/21.6, allocations: 9.688 MB / 6.292 GB, free: 16.29 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.002995/21.61, allocations: 33.7 kB / 6.292 GB, free: 16.25 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01446/21.62, allocations: 4.314 MB / 6.297 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.01241/21.63, allocations: 2.356 MB / 6.299 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002555/21.64, allocations: 0 / 6.299 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.001291/21.64, allocations: 0.6538 MB / 6.3 GB, free: 9.781 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01363/21.65, allocations: 4.119 MB / 6.304 GB, free: 6.047 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01697/21.67, allocations: 6.349 MB / 6.31 GB, free: 14.73 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0645/21.73, allocations: 8.221 MB / 6.318 GB, free: 6.488 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001143/21.73, allocations: 20 kB / 6.318 GB, free: 6.469 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.5704/22.3, allocations: 14.33 MB / 6.332 GB, free: 188.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.007819/22.31, allocations: 35.43 MB / 6.367 GB, free: 152.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003298/22.31, allocations: 64.78 kB / 6.367 GB, free: 152.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001391/22.31, allocations: 196.3 kB / 6.367 GB, free: 152.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02367/22.34, allocations: 2.355 MB / 6.369 GB, free: 152.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003181/22.34, allocations: 1.611 MB / 6.371 GB, free: 150.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02581/22.37, allocations: 1.268 MB / 6.372 GB, free: 150.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003425/22.37, allocations: 423.4 kB / 6.372 GB, free: 150.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/22.37, allocations: 3.75 kB / 6.372 GB, free: 150.9 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08307/22.45, allocations: 13.31 MB / 6.385 GB, free: 150.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002504/22.45, allocations: 65.97 kB / 6.385 GB, free: 150.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/22.46, allocations: 195.2 kB / 6.386 GB, free: 150.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0238/22.48, allocations: 2.353 MB / 6.388 GB, free: 150.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003169/22.48, allocations: 1.607 MB / 6.389 GB, free: 149.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02408/22.51, allocations: 1.105 MB / 6.39 GB, free: 149.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003343/22.51, allocations: 425.8 kB / 6.391 GB, free: 149.5 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 293 * 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 (1095): * Single equations (assignments): 1094 * 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.004941/22.51, allocations: 336.1 kB / 6.391 GB, free: 149.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006269/22.52, allocations: 1.007 MB / 6.392 GB, free: 149 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06735/22.59, allocations: 12.25 MB / 6.404 GB, free: 148.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.856e-05/22.59, allocations: 71.5 kB / 6.404 GB, free: 148.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.785e-05/22.59, allocations: 3 kB / 6.404 GB, free: 148.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05215/22.64, allocations: 9.911 MB / 6.414 GB, free: 148.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1115/22.75, allocations: 25.41 MB / 6.439 GB, free: 146.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.311e-05/22.75, allocations: 13.69 kB / 6.439 GB, free: 146.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02028/22.77, allocations: 1.693 MB / 6.44 GB, free: 146.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001125/22.77, allocations: 128.3 kB / 6.44 GB, free: 146.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002433/22.78, allocations: 174.1 kB / 6.441 GB, free: 146.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002708/22.78, allocations: 1.52 MB / 6.442 GB, free: 145.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.658e-05/22.78, allocations: 15.75 kB / 6.442 GB, free: 145.3 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07286/22.85, allocations: 19.57 MB / 6.461 GB, free: 140.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01353/22.87, allocations: 2.898 MB / 6.464 GB, free: 140 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006835/22.87, allocations: 51.53 kB / 6.464 GB, free: 140 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02276/22.9, allocations: 0.6709 MB / 6.465 GB, free: 139.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002421/22.9, allocations: 400.8 kB / 6.465 GB, free: 139.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0034/22.9, allocations: 348 kB / 6.466 GB, free: 139.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.03549/22.94, allocations: 7.436 MB / 6.473 GB, free: 139.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.05775/22.99, allocations: 6.832 MB / 6.479 GB, free: 139 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * Number of states: 40 (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,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol1.vol[4].dynBal.U,solCol1.vol[5].dynBal.U,solCol1.vol[6].dynBal.U,solCol1.vol[7].dynBal.U,solCol1.vol[8].dynBal.U,solCol1.vol[9].dynBal.U,solCol1.vol[10].dynBal.U,solCol1.vol[11].dynBal.U,solCol1.vol[12].dynBal.U,solCol1.vol[13].dynBal.U,solCol1.vol[14].dynBal.U,solCol1.vol[15].dynBal.U,solCol1.vol[16].dynBal.U,solCol1.vol[17].dynBal.U,solCol1.vol[18].dynBal.U,solCol1.vol[19].dynBal.U,solCol1.vol[20].dynBal.U,solCol1.vol[21].dynBal.U,solCol1.vol[22].dynBal.U,solCol1.vol[23].dynBal.U,solCol1.vol[24].dynBal.U,solCol1.vol[25].dynBal.U,solCol1.vol[26].dynBal.U,solCol1.vol[27].dynBal.U,TOut1.T,TIn1.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 (729): * Single equations (assignments): 716 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.01062/23.01, allocations: 2.031 MB / 6.481 GB, free: 138.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.05485/23.06, allocations: 15.97 MB / 6.497 GB, free: 138.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.203e-05/23.06, allocations: 11.25 kB / 6.497 GB, free: 138.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01431/23.07, allocations: 4.57 MB / 6.501 GB, free: 138.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05374/23.13, allocations: 5.567 MB / 6.507 GB, free: 138 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1029/23.23, allocations: 25.38 MB / 6.532 GB, free: 133.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03226/23.26, allocations: 9.871 MB / 6.541 GB, free: 132.2 MB / 0.9323 GB Notification: Performance of SimCode: time 1.773e-06/23.26, allocations: 3.281 kB / 6.541 GB, free: 132.2 MB / 0.9323 GB Notification: Performance of Templates: time 1.295/24.56, allocations: 288.2 MB / 6.823 GB, free: 173.2 MB / 0.9323 GB