Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_Disable.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.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_Disable,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_Disable",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.326/2.326, allocations: 248.6 MB / 255.9 MB, free: 364 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001696/0.001696, allocations: 176.5 kB / 315.1 MB, free: 7.77 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.234/2.234, allocations: 205.1 MB / 0.5658 GB, free: 25.47 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002015/0.002015, allocations: 90.31 kB / 0.67 GB, free: 2.953 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2896/0.2916, allocations: 112.5 MB / 0.7798 GB, free: 2.371 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5445/0.8362, allocations: 106.2 MB / 0.8836 GB, free: 77.25 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2305/1.067, allocations: 133 MB / 1.013 GB, free: 8.066 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/1.067, allocations: 79.94 kB / 1.014 GB, free: 7.988 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.05297/1.12, allocations: 11.15 MB / 1.024 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/1.12, allocations: 12 kB / 1.024 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003528/1.121, allocations: 102.7 kB / 1.025 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001921/1.122, allocations: 0.5918 MB / 1.025 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.101e-05/1.123, allocations: 28 kB / 1.025 GB, free: 12 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/1.123, allocations: 44 kB / 1.025 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001869/1.125, allocations: 0.5078 MB / 1.026 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/1.127, allocations: 0.5307 MB / 1.026 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/1.127, allocations: 0 / 1.026 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.642e-05/1.127, allocations: 3.984 kB / 1.026 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.899e-05/1.127, allocations: 23.94 kB / 1.026 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007239/1.134, allocations: 1.855 MB / 1.028 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008165/1.135, allocations: 242.8 kB / 1.028 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003994/1.135, allocations: 141.5 kB / 1.028 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.921e-05/1.135, allocations: 7.984 kB / 1.028 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/1.135, allocations: 34.34 kB / 1.028 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=41): time 2.655e-06/1.135, allocations: 0 / 1.028 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of matching and sorting (n=41): time 0.001017/1.136, allocations: 304.7 kB / 1.029 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/1.137, allocations: 55.41 kB / 1.029 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008814/1.137, allocations: 412.9 kB / 1.029 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.94e-05/1.138, allocations: 25.7 kB / 1.029 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000315/1.138, allocations: 350.9 kB / 1.03 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/1.138, allocations: 134 kB / 1.03 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/1.138, allocations: 3.938 kB / 1.03 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001995/1.138, allocations: 362.8 kB / 1.03 GB, free: 6.883 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004111/1.139, allocations: 121.3 kB / 1.03 GB, free: 6.766 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005145/1.139, allocations: 216.8 kB / 1.03 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004334/1.14, allocations: 140.7 kB / 1.03 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/1.14, allocations: 0 / 1.03 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00131/1.141, allocations: 418.4 kB / 1.031 GB, free: 5.957 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/1.141, allocations: 8.375 kB / 1.031 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/1.141, allocations: 4 kB / 1.031 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.239e-05/1.141, allocations: 8 kB / 1.031 GB, free: 5.938 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/1.142, allocations: 115.8 kB / 1.031 GB, free: 5.824 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.864e-05/1.142, allocations: 11.92 kB / 1.031 GB, free: 5.812 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007557/1.143, allocations: 67.5 kB / 1.031 GB, free: 5.746 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.69e-05/1.143, allocations: 23.91 kB / 1.031 GB, free: 5.723 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 9 (damLim1.and3.y,damLim2.and3.y,damLim3.and3.y,damLim3.and3.u3,damLim3.and3.u2,damLim2.and3.u3,damLim2.and3.u2,damLim1.and3.u3,damLim1.and3.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * 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.0001786/1.143, allocations: 121.5 kB / 1.031 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/1.143, allocations: 51.34 kB / 1.031 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/1.145, allocations: 366.8 kB / 1.032 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/1.145, allocations: 4 kB / 1.032 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.145, allocations: 0 / 1.032 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/1.145, allocations: 3.984 kB / 1.032 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00315/1.148, allocations: 1.304 MB / 1.033 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/1.148, allocations: 4 kB / 1.033 GB, free: 3.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007039/1.149, allocations: 84.2 kB / 1.033 GB, free: 3.668 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.457e-05/1.149, allocations: 8 kB / 1.033 GB, free: 3.66 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.475e-05/1.149, allocations: 4 kB / 1.033 GB, free: 3.656 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.349e-05/1.149, allocations: 11.94 kB / 1.033 GB, free: 3.645 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/1.149, allocations: 3.984 kB / 1.033 GB, free: 3.641 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001226/1.15, allocations: 0.6275 MB / 1.034 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001314/1.151, allocations: 1.001 MB / 1.035 GB, free: 1.754 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002466/1.152, allocations: 144.3 kB / 1.035 GB, free: 1.594 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/1.152, allocations: 7.984 kB / 1.035 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005609/1.152, allocations: 31.89 kB / 1.035 GB, free: 1.555 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/1.153, allocations: 35.95 kB / 1.035 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.873e-05/1.153, allocations: 12 kB / 1.035 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005664/1.153, allocations: 291 kB / 1.035 GB, free: 1.227 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001602/1.155, allocations: 127.3 kB / 1.035 GB, free: 1.102 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (damLim3.and3.y,damLim2.and3.y,damLim1.and3.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * 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.0002254/1.155, allocations: 115.1 kB / 1.035 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001031/1.156, allocations: 329.8 kB / 1.036 GB, free: 0.6562 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.156, allocations: 0 / 1.036 GB, free: 0.6562 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004781/1.157, allocations: 155.8 kB / 1.036 GB, free: 0.5039 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002022/1.159, allocations: 259.5 kB / 1.036 GB, free: 264 kB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.343/1.502, allocations: 0.7993 MB / 1.037 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008487/1.503, allocations: 0.9912 MB / 1.038 GB, free: 204.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.232e-06/1.503, allocations: 3.406 kB / 1.038 GB, free: 204.5 MB / 0.6823 GB