Running: ./testmodel.py --libraries=/home/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 (/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.1/package.mo): time 2.336/2.336, allocations: 248.6 MB / 255.9 MB, free: 7.152 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002503/0.002503, allocations: 188.3 kB / 315.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.15/2.15, allocations: 205.1 MB / 0.5658 GB, free: 304 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001296/0.001295, allocations: 94.81 kB / 0.67 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.499/0.5003, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.7503, allocations: 106.3 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.346/7.096, allocations: 2.475 GB / 3.358 GB, free: 236.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003793/7.096, allocations: 92.14 kB / 3.358 GB, free: 236.2 MB / 0.8698 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 14.03/21.13, allocations: 2.779 GB / 6.137 GB, free: 76.27 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.785e-05/21.13, allocations: 6.844 kB / 6.137 GB, free: 76.27 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05059/21.18, allocations: 3.222 MB / 6.14 GB, free: 75.45 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1059/21.29, allocations: 18.29 MB / 6.158 GB, free: 73.85 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007962/21.29, allocations: 355.5 kB / 6.158 GB, free: 73.85 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008224/21.3, allocations: 0.6436 MB / 6.159 GB, free: 73.85 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05619/21.35, allocations: 13.13 MB / 6.172 GB, free: 73.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06482/21.42, allocations: 14.47 MB / 6.186 GB, free: 72.16 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00103/21.42, allocations: 37.66 kB / 6.186 GB, free: 72.16 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005908/21.42, allocations: 20.31 kB / 6.186 GB, free: 72.16 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006641/21.42, allocations: 0.5764 MB / 6.187 GB, free: 72.14 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1762/21.6, allocations: 61.91 MB / 6.247 GB, free: 49.07 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0265/21.63, allocations: 8.795 MB / 6.256 GB, free: 48.86 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01422/21.64, allocations: 5.051 MB / 6.261 GB, free: 48.79 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004161/21.65, allocations: 2.393 MB / 6.263 GB, free: 46.34 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01679/21.66, allocations: 5.048 MB / 6.268 GB, free: 46.14 MB / 0.948 GB Notification: Performance of pre-optimization done (n=704): time 1.578e-05/21.66, allocations: 0 / 6.268 GB, free: 46.14 MB / 0.948 GB Notification: Performance of matching and sorting (n=704): time 0.05637/21.72, allocations: 10.46 MB / 6.278 GB, free: 45.41 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001449/21.72, allocations: 359.2 kB / 6.278 GB, free: 45.06 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0336/21.75, allocations: 9.691 MB / 6.288 GB, free: 44.43 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0032/21.76, allocations: 32.58 kB / 6.288 GB, free: 44.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01376/21.77, allocations: 4.311 MB / 6.292 GB, free: 42.08 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0123/21.78, allocations: 2.358 MB / 6.294 GB, free: 40.53 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002408/21.78, allocations: 0 / 6.294 GB, free: 40.53 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.001127/21.79, allocations: 0.659 MB / 6.295 GB, free: 40.21 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01822/21.8, allocations: 4.117 MB / 6.299 GB, free: 40.18 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02297/21.83, allocations: 6.344 MB / 6.305 GB, free: 37.66 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06527/21.89, allocations: 8.226 MB / 6.313 GB, free: 37.57 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001471/21.89, allocations: 18.22 kB / 6.313 GB, free: 37.57 MB / 0.948 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.1001/21.99, allocations: 14.34 MB / 6.327 GB, free: 35.55 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.01155/22, allocations: 35.44 MB / 6.362 GB, free: 14.08 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003422/22, allocations: 62.69 kB / 6.362 GB, free: 14.08 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001472/22.01, allocations: 195.9 kB / 6.362 GB, free: 14.06 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02481/22.03, allocations: 2.36 MB / 6.365 GB, free: 13.96 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003639/22.03, allocations: 1.604 MB / 6.366 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02588/22.06, allocations: 1.265 MB / 6.367 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0035/22.06, allocations: 425.8 kB / 6.368 GB, free: 12 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/22.06, allocations: 3.125 kB / 6.368 GB, free: 12 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09258/22.16, allocations: 13.3 MB / 6.381 GB, free: 3.965 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000251/22.16, allocations: 64 kB / 6.381 GB, free: 3.902 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001835/22.16, allocations: 196.3 kB / 6.381 GB, free: 3.727 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02769/22.19, allocations: 2.358 MB / 6.383 GB, free: 1.895 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003272/22.19, allocations: 1.608 MB / 6.385 GB, free: 16.25 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0242/22.21, allocations: 1.106 MB / 6.386 GB, free: 15.32 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003539/22.22, allocations: 428.5 kB / 6.386 GB, free: 14.96 MB / 0.9792 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.006861/22.22, allocations: 327.4 kB / 6.387 GB, free: 14.63 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006838/22.23, allocations: 1.003 MB / 6.388 GB, free: 13.61 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0864/22.32, allocations: 12.24 MB / 6.4 GB, free: 3.941 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001636/22.32, allocations: 83.03 kB / 6.4 GB, free: 3.867 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.016e-05/22.32, allocations: 0 / 6.4 GB, free: 3.867 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217/23.53, allocations: 10.04 MB / 6.409 GB, free: 103.9 MB / 0.9793 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1427/23.68, allocations: 25.41 MB / 6.434 GB, free: 102.5 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000122/23.68, allocations: 17.19 kB / 6.434 GB, free: 102.5 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03127/23.71, allocations: 1.694 MB / 6.436 GB, free: 102.5 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001693/23.71, allocations: 123.2 kB / 6.436 GB, free: 102.5 MB / 0.9793 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003126/23.71, allocations: 164.3 kB / 6.436 GB, free: 102.5 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004271/23.72, allocations: 1.525 MB / 6.438 GB, free: 101.3 MB / 0.9793 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.702e-05/23.72, allocations: 17.53 kB / 6.438 GB, free: 101.3 MB / 0.9793 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1023/23.82, allocations: 19.57 MB / 6.457 GB, free: 97.13 MB / 0.9793 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.09942/23.92, allocations: 25.94 MB / 6.482 GB, free: 92.34 MB / 0.9793 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01361/23.93, allocations: 2.884 MB / 6.485 GB, free: 91.71 MB / 0.9793 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007451/23.94, allocations: 57.14 kB / 6.485 GB, free: 91.71 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02273/23.96, allocations: 0.6727 MB / 6.486 GB, free: 91.68 MB / 0.9793 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002428/23.97, allocations: 400.7 kB / 6.486 GB, free: 91.67 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003128/23.97, allocations: 348.3 kB / 6.486 GB, free: 91.67 MB / 0.9793 GB Notification: Performance of sort global known variables: time 0.02272/23.99, allocations: 7.432 MB / 6.494 GB, free: 91.38 MB / 0.9793 GB Notification: Performance of remove unused functions: time 0.04753/24.04, allocations: 7.327 MB / 6.501 GB, free: 90.8 MB / 0.9793 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.009087/24.05, allocations: 2.018 MB / 6.503 GB, free: 90.5 MB / 0.9793 GB Notification: Performance of simCode: created initialization part: time 0.04849/24.1, allocations: 15.97 MB / 6.518 GB, free: 90.12 MB / 0.9793 GB Notification: Performance of simCode: created event and clocks part: time 3.474e-05/24.1, allocations: 8.688 kB / 6.518 GB, free: 90.12 MB / 0.9793 GB Notification: Performance of simCode: created simulation system equations: time 0.01761/24.12, allocations: 4.571 MB / 6.523 GB, free: 90 MB / 0.9793 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05022/24.17, allocations: 5.577 MB / 6.528 GB, free: 89.89 MB / 0.9793 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08679/24.25, allocations: 25.44 MB / 6.553 GB, free: 85.53 MB / 0.9793 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02599/24.28, allocations: 9.957 MB / 6.563 GB, free: 84.55 MB / 0.9793 GB Notification: Performance of SimCode: time 1.183e-06/24.28, allocations: 0 / 6.563 GB, free: 84.55 MB / 0.9793 GB