Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.549/1.549, allocations: 289.8 MB / 297.1 MB, free: 6.652 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.001431/0.00143, allocations: 181.3 kB / 366.3 MB, free: 1.969 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.66/1.66, allocations: 205.1 MB / 0.6256 GB, free: 5.828 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.001045/0.001045, allocations: 91.81 kB / 0.7396 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.947e-06/8.977e-06, allocations: 4 kB / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8123/0.8123, allocations: 116.3 MB / 0.9726 GB, free: 68.6 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.358/6.17, allocations: 2.358 GB / 3.331 GB, free: 94.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/6.171, allocations: 92.77 kB / 3.331 GB, free: 94.71 MB / 0.948 GB Notification: Performance of FrontEnd: time 10.01/16.18, allocations: 2.832 GB / 6.163 GB, free: 120.6 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.002948/16.18, allocations: 371.9 kB / 6.163 GB, free: 120.5 MB / 0.9948 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.04585/16.23, allocations: 12.09 MB / 6.175 GB, free: 116.1 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/16.23, allocations: 9.938 kB / 6.175 GB, free: 116.1 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02327/16.25, allocations: 3.233 MB / 6.178 GB, free: 115.3 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05799/16.31, allocations: 18.38 MB / 6.196 GB, free: 113.7 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008906/16.31, allocations: 359.5 kB / 6.197 GB, free: 113.7 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006202/16.32, allocations: 0.6394 MB / 6.197 GB, free: 113.7 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03491/16.35, allocations: 13.14 MB / 6.21 GB, free: 113.6 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05275/16.4, allocations: 14.66 MB / 6.224 GB, free: 112 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008651/16.41, allocations: 38.3 kB / 6.224 GB, free: 112 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005777/16.41, allocations: 25.81 kB / 6.224 GB, free: 112 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005235/16.41, allocations: 0.5821 MB / 6.225 GB, free: 112 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1387/16.55, allocations: 62.12 MB / 6.286 GB, free: 81.99 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01888/16.57, allocations: 8.791 MB / 6.294 GB, free: 78.94 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009748/16.58, allocations: 5.046 MB / 6.299 GB, free: 77.03 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002948/16.58, allocations: 2.397 MB / 6.302 GB, free: 74.54 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0125/16.59, allocations: 5.161 MB / 6.307 GB, free: 72.73 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=704): time 1.96e-05/16.59, allocations: 2.188 kB / 6.307 GB, free: 72.73 MB / 0.9948 GB Notification: Performance of matching and sorting (n=704): time 0.03515/16.63, allocations: 10.46 MB / 6.317 GB, free: 64.72 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/16.63, allocations: 359.3 kB / 6.317 GB, free: 64.3 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02277/16.65, allocations: 9.696 MB / 6.327 GB, free: 55.9 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.002781/16.66, allocations: 34.31 kB / 6.327 GB, free: 55.86 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.009275/16.67, allocations: 4.321 MB / 6.331 GB, free: 52.13 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.009093/16.67, allocations: 2.357 MB / 6.333 GB, free: 49.95 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001428/16.68, allocations: 0 / 6.333 GB, free: 49.95 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0008106/16.68, allocations: 0.6451 MB / 6.334 GB, free: 49.4 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006761/16.68, allocations: 4.125 MB / 6.338 GB, free: 45.73 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008068/16.69, allocations: 6.349 MB / 6.344 GB, free: 39.01 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03275/16.72, allocations: 8.222 MB / 6.352 GB, free: 32.71 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000122/16.72, allocations: 24 kB / 6.352 GB, free: 32.68 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.05103/16.78, allocations: 14.33 MB / 6.366 GB, free: 19.91 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.5455/17.32, allocations: 35.43 MB / 6.401 GB, free: 201.4 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002397/17.32, allocations: 65.31 kB / 6.401 GB, free: 201.4 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/17.32, allocations: 198.1 kB / 6.401 GB, free: 201.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01444/17.34, allocations: 2.357 MB / 6.403 GB, free: 201.4 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/17.34, allocations: 1.604 MB / 6.405 GB, free: 200.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0176/17.36, allocations: 1.267 MB / 6.406 GB, free: 200.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003679/17.36, allocations: 425.8 kB / 6.406 GB, free: 200.1 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/17.36, allocations: 9.25 kB / 6.406 GB, free: 200.1 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04651/17.41, allocations: 13.3 MB / 6.419 GB, free: 200 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001739/17.41, allocations: 63.84 kB / 6.42 GB, free: 200 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006757/17.41, allocations: 194.1 kB / 6.42 GB, free: 200 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0128/17.42, allocations: 2.354 MB / 6.422 GB, free: 200 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001902/17.42, allocations: 1.616 MB / 6.424 GB, free: 198.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01681/17.44, allocations: 1.097 MB / 6.425 GB, free: 198.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003376/17.44, allocations: 429.9 kB / 6.425 GB, free: 198.8 MB / 1.01 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.004912/17.45, allocations: 338.8 kB / 6.425 GB, free: 198.7 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005637/17.45, allocations: 1.011 MB / 6.426 GB, free: 198.7 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04045/17.49, allocations: 12.25 MB / 6.438 GB, free: 198.3 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.659e-05/17.49, allocations: 71.16 kB / 6.438 GB, free: 198.3 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/17.49, allocations: 0 / 6.438 GB, free: 198.3 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03026/17.52, allocations: 9.914 MB / 6.448 GB, free: 197.8 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07153/17.6, allocations: 25.56 MB / 6.473 GB, free: 196.4 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.569e-05/17.6, allocations: 10.62 kB / 6.473 GB, free: 196.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01082/17.61, allocations: 1.695 MB / 6.475 GB, free: 196.4 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007235/17.61, allocations: 116 kB / 6.475 GB, free: 196.4 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002766/17.61, allocations: 168 kB / 6.475 GB, free: 196.4 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001951/17.61, allocations: 1.518 MB / 6.476 GB, free: 195.2 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-05/17.61, allocations: 18.53 kB / 6.476 GB, free: 195.2 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04761/17.66, allocations: 19.58 MB / 6.496 GB, free: 190.5 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01562/17.68, allocations: 2.956 MB / 6.499 GB, free: 189.9 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008093/17.68, allocations: 56.55 kB / 6.499 GB, free: 189.9 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01681/17.7, allocations: 0.6689 MB / 6.499 GB, free: 189.9 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002271/17.7, allocations: 408.3 kB / 6.5 GB, free: 189.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003091/17.71, allocations: 376 kB / 6.5 GB, free: 189.9 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.02009/17.73, allocations: 7.433 MB / 6.507 GB, free: 189.6 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.03999/17.77, allocations: 6.848 MB / 6.514 GB, free: 189 MB / 1.01 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.00713/17.77, allocations: 2.03 MB / 6.516 GB, free: 188.7 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.03823/17.81, allocations: 15.97 MB / 6.531 GB, free: 188.3 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-05/17.81, allocations: 11.36 kB / 6.531 GB, free: 188.3 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.01123/17.82, allocations: 4.577 MB / 6.536 GB, free: 188.2 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0352/17.86, allocations: 5.577 MB / 6.541 GB, free: 188 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0799/17.94, allocations: 25.38 MB / 6.566 GB, free: 183.7 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02291/17.96, allocations: 9.881 MB / 6.576 GB, free: 182.7 MB / 1.01 GB Notification: Performance of SimCode: time 1.323e-06/17.96, allocations: 1.281 kB / 6.576 GB, free: 182.7 MB / 1.01 GB Notification: Performance of Templates: time 0.9914/18.95, allocations: 290.4 MB / 6.859 GB, free: 186.5 MB / 1.01 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1)