Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.Concentrating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating") translateModel(Buildings.Fluid.SolarCollectors.Examples.Concentrating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.482/1.482, allocations: 285.5 MB / 292.8 MB, free: 10.49 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.001081, allocations: 181.2 kB / 361.1 MB, free: 7.094 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205.1 MB / 0.6195 GB, free: 11.96 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009941/0.0009949, allocations: 86.77 kB / 0.7326 GB, free: 44.44 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.546e-06/8.566e-06, allocations: 4 kB / 0.8511 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7986/0.7986, allocations: 115.3 MB / 0.9637 GB, free: 78.1 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.336/5.135, allocations: 2.357 GB / 3.32 GB, free: 123.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/5.135, allocations: 92.45 kB / 3.32 GB, free: 123.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.145/8.28, allocations: 0.9257 GB / 4.246 GB, free: 171 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004359/8.28, allocations: 128.8 kB / 4.246 GB, free: 170.9 MB / 0.948 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.009114/8.29, allocations: 4.283 MB / 4.25 GB, free: 169.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/8.29, allocations: 14.72 kB / 4.25 GB, free: 169.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007238/8.297, allocations: 1.237 MB / 4.252 GB, free: 169.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01204/8.309, allocations: 5.407 MB / 4.257 GB, free: 168.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/8.309, allocations: 118.5 kB / 4.257 GB, free: 168.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008483/8.31, allocations: 217.6 kB / 4.257 GB, free: 168.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007193/8.317, allocations: 4.385 MB / 4.261 GB, free: 168.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007285/8.324, allocations: 4.559 MB / 4.266 GB, free: 168 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001067/8.325, allocations: 17 kB / 4.266 GB, free: 168 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000539/8.325, allocations: 10.5 kB / 4.266 GB, free: 168 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001624/8.325, allocations: 177.7 kB / 4.266 GB, free: 168 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03473/8.36, allocations: 19.19 MB / 4.285 GB, free: 161.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004571/8.365, allocations: 3.011 MB / 4.288 GB, free: 161.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00206/8.367, allocations: 1.622 MB / 4.289 GB, free: 161.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001869/8.369, allocations: 1.865 MB / 4.291 GB, free: 159.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002609/8.371, allocations: 1.771 MB / 4.293 GB, free: 159 MB / 0.948 GB Notification: Performance of pre-optimization done (n=266): time 5.29e-06/8.371, allocations: 0 / 4.293 GB, free: 159 MB / 0.948 GB Notification: Performance of matching and sorting (n=266): time 0.01127/8.383, allocations: 3.681 MB / 4.296 GB, free: 158.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/8.383, allocations: 285.7 kB / 4.297 GB, free: 158.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005418/8.388, allocations: 3.023 MB / 4.3 GB, free: 158.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007372/8.389, allocations: 31.73 kB / 4.3 GB, free: 158.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0017/8.391, allocations: 1.373 MB / 4.301 GB, free: 157.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001473/8.392, allocations: 0.8717 MB / 4.302 GB, free: 156.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/8.392, allocations: 0 / 4.302 GB, free: 156.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001617/8.392, allocations: 424.6 kB / 4.302 GB, free: 156.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001912/8.394, allocations: 1.302 MB / 4.304 GB, free: 156.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00222/8.397, allocations: 1.967 MB / 4.305 GB, free: 155.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007392/8.404, allocations: 2.317 MB / 4.308 GB, free: 155.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.922e-05/8.404, allocations: 7.062 kB / 4.308 GB, free: 155.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=367) (initialization): time 0.01214/8.416, allocations: 4.365 MB / 4.312 GB, free: 155.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001312/8.418, allocations: 7.288 MB / 4.319 GB, free: 147.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/8.418, allocations: 18.47 kB / 4.319 GB, free: 147.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006826/8.418, allocations: 110.5 kB / 4.319 GB, free: 147.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004128/8.422, allocations: 0.792 MB / 4.32 GB, free: 147.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/8.425, allocations: 2.105 MB / 4.322 GB, free: 146.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004926/8.43, allocations: 408.6 kB / 4.322 GB, free: 146 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004134/8.43, allocations: 140.2 kB / 4.323 GB, free: 146 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.307e-06/8.43, allocations: 3.812 kB / 4.323 GB, free: 146 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.012/8.442, allocations: 4 MB / 4.327 GB, free: 145.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-05/8.442, allocations: 17.66 kB / 4.327 GB, free: 145.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006534/8.443, allocations: 122.4 kB / 4.327 GB, free: 145.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004163/8.447, allocations: 0.7807 MB / 4.327 GB, free: 145.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001781/8.449, allocations: 1.506 MB / 4.329 GB, free: 144.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004943/8.454, allocations: 375.3 kB / 4.329 GB, free: 144.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006503/8.454, allocations: 139.5 kB / 4.329 GB, free: 144.5 MB / 0.948 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.001201/8.456, allocations: 184.5 kB / 4.33 GB, free: 144.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001433/8.457, allocations: 354.8 kB / 4.33 GB, free: 144.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01393/8.471, allocations: 4.515 MB / 4.334 GB, free: 144 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.452e-05/8.471, allocations: 28.72 kB / 4.334 GB, free: 144 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.66e-05/8.471, allocations: 0 / 4.334 GB, free: 144 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01071/8.482, allocations: 3.615 MB / 4.338 GB, free: 143.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02602/8.508, allocations: 8.658 MB / 4.346 GB, free: 143.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/8.508, allocations: 0 / 4.346 GB, free: 143.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003904/8.512, allocations: 0.6265 MB / 4.347 GB, free: 143.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006059/8.512, allocations: 95.02 kB / 4.347 GB, free: 143.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004477/8.513, allocations: 60.7 kB / 4.347 GB, free: 143.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001986/8.515, allocations: 2.084 MB / 4.349 GB, free: 141.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/8.515, allocations: 2.406 kB / 4.349 GB, free: 141.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01661/8.532, allocations: 5.989 MB / 4.355 GB, free: 139 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003774/8.535, allocations: 1.049 MB / 4.356 GB, free: 138.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0018/8.537, allocations: 10.81 kB / 4.356 GB, free: 138.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005292/8.542, allocations: 281.5 kB / 4.356 GB, free: 138.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006092/8.543, allocations: 151 kB / 4.356 GB, free: 138.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007221/8.544, allocations: 130.5 kB / 4.357 GB, free: 138.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.005451/8.549, allocations: 2.338 MB / 4.359 GB, free: 137.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01059/8.56, allocations: 2.306 MB / 4.361 GB, free: 137 MB / 0.948 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.003812/8.564, allocations: 1.61 MB / 4.363 GB, free: 136.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01054/8.574, allocations: 5.398 MB / 4.368 GB, free: 134.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/8.574, allocations: 4.578 kB / 4.368 GB, free: 134.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003232/8.578, allocations: 1.701 MB / 4.37 GB, free: 134.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009852/8.588, allocations: 1.678 MB / 4.371 GB, free: 133.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02632/8.614, allocations: 7.901 MB / 4.379 GB, free: 131.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008534/8.622, allocations: 3.552 MB / 4.382 GB, free: 130.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.072e-06/8.622, allocations: 0 / 4.382 GB, free: 130.1 MB / 0.948 GB Notification: Performance of Templates: time 0.1615/8.784, allocations: 101.2 MB / 4.481 GB, free: 62.91 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe 2>&1)