Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.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.LimPIDWithReset,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",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.222/2.222, allocations: 248.6 MB / 255.9 MB, free: 352 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.001709/0.001709, allocations: 174.7 kB / 315.1 MB, free: 7.762 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.34/2.34, allocations: 205.1 MB / 0.5658 GB, free: 25.66 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.001782/0.001782, allocations: 87.39 kB / 0.67 GB, free: 3.008 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.3104/0.3122, allocations: 112.4 MB / 0.7797 GB, free: 2.508 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5596/0.8719, allocations: 106.2 MB / 0.8835 GB, free: 77.26 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2339/1.106, allocations: 133.6 MB / 1.014 GB, free: 7.469 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/1.106, allocations: 83.95 kB / 1.014 GB, free: 7.387 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.1081/1.214, allocations: 19.25 MB / 1.033 GB, free: 4.074 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/1.215, allocations: 8 kB / 1.033 GB, free: 4.066 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007281/1.215, allocations: 130.4 kB / 1.033 GB, free: 3.938 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002887/1.218, allocations: 0.6529 MB / 1.034 GB, free: 3.242 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.765e-05/1.218, allocations: 32 kB / 1.034 GB, free: 3.211 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002116/1.218, allocations: 56 kB / 1.034 GB, free: 3.156 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002324/1.221, allocations: 0.5351 MB / 1.034 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00279/1.224, allocations: 0.7602 MB / 1.035 GB, free: 1.812 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.4e-05/1.224, allocations: 3.938 kB / 1.035 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/1.224, allocations: 7.984 kB / 1.035 GB, free: 1.801 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.939e-05/1.224, allocations: 27.91 kB / 1.035 GB, free: 1.773 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3381/1.562, allocations: 3.191 MB / 1.038 GB, free: 200.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/1.563, allocations: 388 kB / 1.038 GB, free: 200.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007386/1.564, allocations: 326.7 kB / 1.039 GB, free: 200.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.18e-05/1.564, allocations: 9.062 kB / 1.039 GB, free: 200.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006943/1.565, allocations: 301.7 kB / 1.039 GB, free: 200.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 3.867e-06/1.565, allocations: 0 / 1.039 GB, free: 200.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.001443/1.566, allocations: 0.5138 MB / 1.04 GB, free: 200.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/1.566, allocations: 163.3 kB / 1.04 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009788/1.567, allocations: 0.4911 MB / 1.04 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000158/1.567, allocations: 29.64 kB / 1.04 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/1.568, allocations: 360.2 kB / 1.041 GB, free: 199.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002099/1.568, allocations: 254.6 kB / 1.041 GB, free: 199.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.511e-05/1.568, allocations: 3.281 kB / 1.041 GB, free: 199.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.402e-05/1.568, allocations: 336 kB / 1.041 GB, free: 199.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005495/1.569, allocations: 188.1 kB / 1.041 GB, free: 199.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006351/1.569, allocations: 311.1 kB / 1.042 GB, free: 199.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00061/1.57, allocations: 225.3 kB / 1.042 GB, free: 199.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/1.57, allocations: 0 / 1.042 GB, free: 199.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001595/1.572, allocations: 0.5965 MB / 1.042 GB, free: 199 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001263/1.572, allocations: 451.1 kB / 1.043 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/1.572, allocations: 0 / 1.043 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.682e-05/1.572, allocations: 9.281 kB / 1.043 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/1.573, allocations: 173.2 kB / 1.043 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/1.573, allocations: 6.281 kB / 1.043 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009347/1.574, allocations: 99.72 kB / 1.043 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.394e-05/1.574, allocations: 19.91 kB / 1.043 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/1.574, allocations: 5.875 kB / 1.043 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001265/1.575, allocations: 475.4 kB / 1.044 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/1.576, allocations: 0 / 1.044 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/1.576, allocations: 6.781 kB / 1.044 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/1.577, allocations: 137.5 kB / 1.044 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/1.577, allocations: 7.5 kB / 1.044 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007252/1.577, allocations: 72.75 kB / 1.044 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-05/1.577, allocations: 21.09 kB / 1.044 GB, free: 198.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,greEquThr.y,intWitRes4.trigger_internal,intWitRes3.trigger_internal,intWitRes2.trigger_internal,intWitRes1.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 94 * 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.0002522/1.578, allocations: 116 kB / 1.044 GB, free: 198.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/1.578, allocations: 78.47 kB / 1.044 GB, free: 198.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003302/1.578, allocations: 86.7 kB / 1.044 GB, free: 198.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.659e-06/1.578, allocations: 10.03 kB / 1.044 GB, free: 198.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/1.578, allocations: 3.156 kB / 1.044 GB, free: 198.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/1.578, allocations: 3.609 kB / 1.044 GB, free: 198.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00303/1.581, allocations: 1.428 MB / 1.046 GB, free: 198 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/1.581, allocations: 3.906 kB / 1.046 GB, free: 198 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/1.583, allocations: 147.2 kB / 1.046 GB, free: 198 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-05/1.583, allocations: 7.688 kB / 1.046 GB, free: 198 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.303e-05/1.583, allocations: 3.5 kB / 1.046 GB, free: 198 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.076e-06/1.583, allocations: 6.875 kB / 1.046 GB, free: 198 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/1.583, allocations: 2.438 kB / 1.046 GB, free: 198 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002052/1.585, allocations: 0.9143 MB / 1.047 GB, free: 197.8 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002962/1.588, allocations: 1.578 MB / 1.048 GB, free: 197.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002878/1.588, allocations: 158.8 kB / 1.048 GB, free: 197.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/1.589, allocations: 4.625 kB / 1.048 GB, free: 197.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007692/1.589, allocations: 47.84 kB / 1.048 GB, free: 197.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/1.589, allocations: 44.69 kB / 1.048 GB, free: 197.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.482e-05/1.589, allocations: 16.75 kB / 1.048 GB, free: 197.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0007944/1.59, allocations: 381.9 kB / 1.049 GB, free: 197 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002924/1.593, allocations: 296.1 kB / 1.049 GB, free: 196.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (greEquThr.y,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.0002953/1.594, allocations: 122 kB / 1.049 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002091/1.596, allocations: 0.8148 MB / 1.05 GB, free: 196.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/1.596, allocations: 0 / 1.05 GB, free: 196.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006712/1.596, allocations: 275.2 kB / 1.05 GB, free: 196.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/1.598, allocations: 176.9 kB / 1.05 GB, free: 196.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004052/1.602, allocations: 1.247 MB / 1.052 GB, free: 196.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00128/1.603, allocations: 1.133 MB / 1.053 GB, free: 195.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.343e-06/1.604, allocations: 0 / 1.053 GB, free: 195.7 MB / 0.6823 GB