Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.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.Validation.ExtremeAmbientConditions,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions",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.358/2.358, allocations: 248.6 MB / 255.9 MB, free: 7.18 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.002465/0.002465, allocations: 182.7 kB / 315.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.886/1.886, allocations: 205.1 MB / 0.5658 GB, free: 316 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.001303/0.001302, allocations: 87.08 kB / 0.67 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5162/0.5176, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.7448, allocations: 106.2 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.454/2.199, allocations: 411.1 MB / 1.285 GB, free: 245.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004208/2.2, allocations: 94.45 kB / 1.285 GB, free: 245.6 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 733 * Number of variables: 733 Notification: Performance of Generate backend data structure: time 3.632/5.831, allocations: 0.7602 GB / 2.045 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/5.831, allocations: 7.719 kB / 2.045 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03063/5.862, allocations: 1.725 MB / 2.047 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02498/5.887, allocations: 4.104 MB / 2.051 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003387/5.887, allocations: 88.22 kB / 2.051 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002251/5.89, allocations: 165.3 kB / 2.051 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01842/5.908, allocations: 3.401 MB / 2.055 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01871/5.927, allocations: 3.546 MB / 2.058 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000261/5.927, allocations: 15.19 kB / 2.058 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001638/5.929, allocations: 3.281 kB / 2.058 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003136/5.929, allocations: 127.9 kB / 2.058 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0543/5.984, allocations: 16.3 MB / 2.074 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006387/5.99, allocations: 1.925 MB / 2.076 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003791/5.994, allocations: 1.229 MB / 2.077 GB, free: 145 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002554/5.997, allocations: 1.639 MB / 2.079 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.447e-05/5.997, allocations: 54.31 kB / 2.079 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=164): time 5.11e-06/5.997, allocations: 0 / 2.079 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=164): time 0.02465/6.021, allocations: 3.017 MB / 2.082 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/6.022, allocations: 123.8 kB / 2.082 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008272/6.03, allocations: 2.408 MB / 2.084 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0008079/6.031, allocations: 27.86 kB / 2.084 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001968/6.033, allocations: 1.172 MB / 2.085 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001618/6.034, allocations: 0.5419 MB / 2.086 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005794/6.035, allocations: 3.5 kB / 2.086 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003013/6.035, allocations: 391 kB / 2.086 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004057/6.039, allocations: 1.062 MB / 2.087 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004823/6.044, allocations: 1.518 MB / 2.089 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03105/6.075, allocations: 2.66 MB / 2.091 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.663e-05/6.075, allocations: 3.469 kB / 2.091 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.03875/6.114, allocations: 4.291 MB / 2.096 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001199/6.115, allocations: 4.748 MB / 2.1 GB, free: 131.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.666e-05/6.116, allocations: 11.97 kB / 2.1 GB, free: 131.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001079/6.116, allocations: 26.19 kB / 2.1 GB, free: 131.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008852/6.125, allocations: 0.6887 MB / 2.101 GB, free: 131.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-05/6.125, allocations: 27.39 kB / 2.101 GB, free: 131.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009041/6.134, allocations: 411.4 kB / 2.101 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00109/6.135, allocations: 116.2 kB / 2.101 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/6.135, allocations: 4.125 kB / 2.101 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03667/6.172, allocations: 3.986 MB / 2.105 GB, free: 129.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.944e-05/6.172, allocations: 12.09 kB / 2.105 GB, free: 129.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.462e-05/6.172, allocations: 24.66 kB / 2.105 GB, free: 129.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008842/6.181, allocations: 0.6843 MB / 2.106 GB, free: 129.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.631e-05/6.181, allocations: 32.2 kB / 2.106 GB, free: 129.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008344/6.189, allocations: 350.9 kB / 2.106 GB, free: 129.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001113/6.19, allocations: 119.5 kB / 2.107 GB, free: 129.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (274): * Single equations (assignments): 274 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001259/6.192, allocations: 154.4 kB / 2.107 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001446/6.193, allocations: 270.5 kB / 2.107 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02802/6.221, allocations: 3.627 MB / 2.11 GB, free: 127.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.128e-05/6.221, allocations: 19.91 kB / 2.111 GB, free: 127.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/6.221, allocations: 2.875 kB / 2.111 GB, free: 127.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02737/6.249, allocations: 2.906 MB / 2.113 GB, free: 125.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05053/6.299, allocations: 7.822 MB / 2.121 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.822e-05/6.299, allocations: 4 kB / 2.121 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009643/6.309, allocations: 481 kB / 2.121 GB, free: 117.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.526e-05/6.309, allocations: 12 kB / 2.121 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007825/6.31, allocations: 39.94 kB / 2.122 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.756e-05/6.31, allocations: 15.94 kB / 2.122 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.156e-05/6.31, allocations: 4 kB / 2.122 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03036/6.34, allocations: 4.96 MB / 2.126 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02988/6.37, allocations: 6.773 MB / 2.133 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003352/6.374, allocations: 0.8014 MB / 2.134 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001581/6.375, allocations: 11.98 kB / 2.134 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007529/6.383, allocations: 238.6 kB / 2.134 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008856/6.384, allocations: 101 kB / 2.134 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000809/6.385, allocations: 79.92 kB / 2.134 GB, free: 104 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.009091/6.394, allocations: 1.936 MB / 2.136 GB, free: 102.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01543/6.409, allocations: 1.959 MB / 2.138 GB, free: 100.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 6 (solAsh.vol[1].dynBal.U,solAsh.vol[2].dynBal.U,solAsh.vol[3].dynBal.U,solEn.vol[1].dynBal.U,solEn.vol[2].dynBal.U,solEn.vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002563/6.412, allocations: 0.7601 MB / 2.139 GB, free: 99.44 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01287/6.425, allocations: 3.992 MB / 2.143 GB, free: 95.45 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.87e-05/6.425, allocations: 4 kB / 2.143 GB, free: 95.45 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003536/6.429, allocations: 1.082 MB / 2.144 GB, free: 94.37 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01197/6.441, allocations: 1.152 MB / 2.145 GB, free: 93.27 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02119/6.462, allocations: 5.617 MB / 2.15 GB, free: 87.58 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01231/6.474, allocations: 2.838 MB / 2.153 GB, free: 84.71 MB / 0.8698 GB Notification: Performance of SimCode: time 1.714e-06/6.474, allocations: 0 / 2.153 GB, free: 84.71 MB / 0.8698 GB