Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.241/2.241, allocations: 284.9 MB / 292.2 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001647/0.001646, allocations: 181.2 kB / 360.4 MB, free: 7.531 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.795/1.795, allocations: 205.1 MB / 0.6188 GB, free: 12.44 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001229/0.001228, allocations: 94.62 kB / 0.7318 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.043e-05/1.061e-05, allocations: 0 / 0.8502 GB, free: 3.902 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6263/0.6263, allocations: 115.2 MB / 0.9628 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.325/5.952, allocations: 2.357 GB / 3.32 GB, free: 32.14 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/5.952, allocations: 87.17 kB / 3.32 GB, free: 32.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 13.11/19.07, allocations: 2.832 GB / 6.152 GB, free: 113.2 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.00303/19.07, allocations: 380.4 kB / 6.153 GB, free: 113.1 MB / 0.9792 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.05515/19.12, allocations: 12.08 MB / 6.164 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/19.13, allocations: 9.75 kB / 6.164 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0333/19.16, allocations: 3.229 MB / 6.168 GB, free: 102.8 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0761/19.23, allocations: 18.38 MB / 6.185 GB, free: 84.73 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007716/19.24, allocations: 364 kB / 6.186 GB, free: 84.37 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005405/19.24, allocations: 0.6443 MB / 6.186 GB, free: 83.73 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04631/19.29, allocations: 13.12 MB / 6.199 GB, free: 70.59 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1007/19.39, allocations: 14.66 MB / 6.214 GB, free: 55.41 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008318/19.39, allocations: 47.53 kB / 6.214 GB, free: 55.37 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005363/19.39, allocations: 20 kB / 6.214 GB, free: 55.35 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005851/19.39, allocations: 0.5794 MB / 6.214 GB, free: 54.77 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1874/19.58, allocations: 62.13 MB / 6.275 GB, free: 7.246 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4677/20.05, allocations: 8.787 MB / 6.283 GB, free: 217.7 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01404/20.06, allocations: 5.049 MB / 6.288 GB, free: 217.6 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004175/20.07, allocations: 2.397 MB / 6.291 GB, free: 215.2 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0167/20.09, allocations: 5.156 MB / 6.296 GB, free: 215 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=704): time 1.56e-05/20.09, allocations: 0 / 6.296 GB, free: 215 MB / 0.9948 GB Notification: Performance of matching and sorting (n=704): time 0.05648/20.14, allocations: 10.47 MB / 6.306 GB, free: 214.8 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001562/20.14, allocations: 361.6 kB / 6.306 GB, free: 214.4 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03092/20.17, allocations: 9.693 MB / 6.316 GB, free: 213.9 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.002677/20.18, allocations: 37.11 kB / 6.316 GB, free: 213.9 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01321/20.19, allocations: 4.315 MB / 6.32 GB, free: 212.8 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.01221/20.2, allocations: 2.351 MB / 6.322 GB, free: 211.6 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002326/20.2, allocations: 0 / 6.322 GB, free: 211.6 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.001243/20.2, allocations: 0.6503 MB / 6.323 GB, free: 211.2 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01324/20.22, allocations: 4.124 MB / 6.327 GB, free: 211.2 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01552/20.23, allocations: 6.341 MB / 6.333 GB, free: 208.7 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06008/20.29, allocations: 8.226 MB / 6.341 GB, free: 208.6 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001143/20.29, allocations: 17.25 kB / 6.341 GB, free: 208.6 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.08718/20.38, allocations: 14.33 MB / 6.355 GB, free: 207.9 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00753/20.39, allocations: 35.44 MB / 6.39 GB, free: 171 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003812/20.39, allocations: 65.34 kB / 6.39 GB, free: 171 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001458/20.39, allocations: 195.8 kB / 6.39 GB, free: 171 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02405/20.41, allocations: 2.367 MB / 6.392 GB, free: 171 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003375/20.42, allocations: 1.601 MB / 6.394 GB, free: 169.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02505/20.44, allocations: 1.27 MB / 6.395 GB, free: 169.4 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003212/20.45, allocations: 421.8 kB / 6.396 GB, free: 169.4 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/20.45, allocations: 3.688 kB / 6.396 GB, free: 169.4 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08331/20.53, allocations: 13.3 MB / 6.409 GB, free: 169.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000231/20.53, allocations: 63.81 kB / 6.409 GB, free: 169.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/20.53, allocations: 201.8 kB / 6.409 GB, free: 169.2 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02368/20.55, allocations: 2.352 MB / 6.411 GB, free: 169.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003103/20.56, allocations: 1.619 MB / 6.413 GB, free: 168 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02373/20.58, allocations: 1.098 MB / 6.414 GB, free: 167.6 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003449/20.59, allocations: 430.1 kB / 6.414 GB, free: 167.6 MB / 0.9948 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.005754/20.59, allocations: 334.7 kB / 6.415 GB, free: 167.5 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006501/20.6, allocations: 1.013 MB / 6.416 GB, free: 166.9 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06763/20.67, allocations: 12.24 MB / 6.427 GB, free: 166.6 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001077/20.67, allocations: 75.27 kB / 6.428 GB, free: 166.6 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-05/20.67, allocations: 0 / 6.428 GB, free: 166.6 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05135/20.72, allocations: 9.91 MB / 6.437 GB, free: 166 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1071/20.82, allocations: 25.56 MB / 6.462 GB, free: 164.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.246e-05/20.82, allocations: 9.969 kB / 6.462 GB, free: 164.3 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02018/20.84, allocations: 1.697 MB / 6.464 GB, free: 164.3 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001138/20.85, allocations: 121 kB / 6.464 GB, free: 164.3 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002375/20.85, allocations: 162 kB / 6.464 GB, free: 164.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002782/20.85, allocations: 1.529 MB / 6.466 GB, free: 163.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.957e-05/20.85, allocations: 13.62 kB / 6.466 GB, free: 163.1 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07169/20.92, allocations: 19.58 MB / 6.485 GB, free: 158.4 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02165/20.94, allocations: 2.952 MB / 6.488 GB, free: 157.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008536/20.95, allocations: 50.91 kB / 6.488 GB, free: 157.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02261/20.98, allocations: 0.6817 MB / 6.488 GB, free: 157.6 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002412/20.98, allocations: 402.7 kB / 6.489 GB, free: 157.6 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002115/20.98, allocations: 384.1 kB / 6.489 GB, free: 157.6 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.02457/21, allocations: 7.428 MB / 6.496 GB, free: 157.3 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0417/21.05, allocations: 6.842 MB / 6.503 GB, free: 156.2 MB / 0.9948 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.007505/21.05, allocations: 2.035 MB / 6.505 GB, free: 155.8 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.05436/21.11, allocations: 15.96 MB / 6.521 GB, free: 155 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.066e-05/21.11, allocations: 14.52 kB / 6.521 GB, free: 155 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.01785/21.13, allocations: 4.571 MB / 6.525 GB, free: 154.8 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06092/21.19, allocations: 5.572 MB / 6.531 GB, free: 154.7 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1014/21.29, allocations: 25.4 MB / 6.555 GB, free: 145.2 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0331/21.32, allocations: 9.877 MB / 6.565 GB, free: 137.9 MB / 0.9948 GB Notification: Performance of SimCode: time 1.813e-06/21.32, allocations: 0 / 6.565 GB, free: 137.9 MB / 0.9948 GB Notification: Performance of Templates: time 1.182/22.5, allocations: 290.4 MB / 6.849 GB, free: 204.6 MB / 0.9948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1)