Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.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.Controls.OBC.CDL.Continuous.Validation.MatrixMax,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax",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.17/2.17, allocations: 248.6 MB / 255.9 MB, free: 7.102 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.001588/0.001588, allocations: 184 kB / 315.1 MB, free: 4.254 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.049/2.049, allocations: 205.2 MB / 0.5658 GB, free: 272 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.001273/0.001272, allocations: 85.64 kB / 0.67 GB, free: 5.48 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5234/0.5247, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.7624, allocations: 106.3 MB / 0.8835 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6724/1.435, allocations: 131.2 MB / 1.012 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/1.435, allocations: 70.58 kB / 1.012 GB, free: 8.781 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.009377/1.445, allocations: 2.418 MB / 1.014 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/1.445, allocations: 8 kB / 1.014 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.256e-05/1.445, allocations: 23.72 kB / 1.014 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000529/1.445, allocations: 265.8 kB / 1.014 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/1.445, allocations: 8.75 kB / 1.014 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.106e-05/1.445, allocations: 12 kB / 1.014 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006882/1.446, allocations: 212.2 kB / 1.015 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/1.447, allocations: 315 kB / 1.015 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/1.447, allocations: 0 / 1.015 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.602e-05/1.447, allocations: 4 kB / 1.015 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/1.447, allocations: 8 kB / 1.015 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002821/1.45, allocations: 1.285 MB / 1.016 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/1.45, allocations: 171.6 kB / 1.016 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.402e-05/1.45, allocations: 80.14 kB / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.412e-05/1.45, allocations: 79.28 kB / 1.016 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.614e-05/1.451, allocations: 113.2 kB / 1.017 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 4.378e-06/1.451, allocations: 0 / 1.017 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 0.0001548/1.451, allocations: 37.61 kB / 1.017 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/1.451, allocations: 55.39 kB / 1.017 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005167/1.451, allocations: 233.9 kB / 1.017 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/1.451, allocations: 25.7 kB / 1.017 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/1.452, allocations: 170.2 kB / 1.017 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.627e-06/1.452, allocations: 0 / 1.017 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.414e-05/1.452, allocations: 0 / 1.017 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002067/1.452, allocations: 325.6 kB / 1.017 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/1.452, allocations: 50.45 kB / 1.017 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/1.452, allocations: 85.55 kB / 1.018 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/1.452, allocations: 62.64 kB / 1.018 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/1.452, allocations: 0 / 1.018 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000592/1.453, allocations: 162.1 kB / 1.018 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/1.453, allocations: 15.98 kB / 1.018 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/1.453, allocations: 0 / 1.018 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/1.453, allocations: 7.938 kB / 1.018 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/1.453, allocations: 12 kB / 1.018 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/1.453, allocations: 7.984 kB / 1.018 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/1.454, allocations: 15.91 kB / 1.018 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-05/1.454, allocations: 11.31 kB / 1.018 GB, free: 2.816 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001737/1.454, allocations: 180.2 kB / 1.018 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/1.454, allocations: 124.8 kB / 1.018 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001762/1.454, allocations: 116.9 kB / 1.018 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001101/1.454, allocations: 184.2 kB / 1.018 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001072/1.455, allocations: 176.3 kB / 1.019 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.815e-05/1.455, allocations: 176.3 kB / 1.019 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005466/1.455, allocations: 465.1 kB / 1.019 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.073e-05/1.455, allocations: 105 kB / 1.019 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.912e-05/1.455, allocations: 108.3 kB / 1.019 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001058/1.456, allocations: 184.1 kB / 1.02 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.51e-05/1.456, allocations: 180.3 kB / 1.02 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.396e-05/1.456, allocations: 180.3 kB / 1.02 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.79e-05/1.456, allocations: 184.2 kB / 1.02 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002743/1.456, allocations: 315.8 kB / 1.02 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000493/1.457, allocations: 0.6794 MB / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002181/1.457, allocations: 205.5 kB / 1.021 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/1.457, allocations: 180.2 kB / 1.021 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/1.457, allocations: 116.8 kB / 1.021 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.971e-05/1.457, allocations: 180.3 kB / 1.022 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.045e-05/1.458, allocations: 104.9 kB / 1.022 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.000388/1.458, allocations: 192.7 kB / 1.022 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002086/1.46, allocations: 43.69 kB / 1.022 GB, free: 14.35 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0002764/1.46, allocations: 174.5 kB / 1.022 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003303/1.461, allocations: 59 kB / 1.022 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.461, allocations: 0 / 1.022 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.963e-06/1.461, allocations: 4 kB / 1.022 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007843/1.462, allocations: 0.5379 MB / 1.023 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/1.463, allocations: 330 kB / 1.023 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008942/1.464, allocations: 0.8086 MB / 1.024 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of SimCode: time 1.964e-06/1.464, allocations: 0 / 1.024 GB, free: 12.43 MB / 0.6511 GB