Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.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.LimPID,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPID",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.32/2.32, allocations: 248.6 MB / 255.9 MB, free: 7.125 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: 190.7 kB / 315.1 MB, free: 4.293 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.059/2.059, allocations: 205.1 MB / 0.5658 GB, free: 400 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.001294/0.001293, allocations: 87.08 kB / 0.67 GB, free: 5.609 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4457/0.447, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.6482, allocations: 106.2 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6194/1.268, allocations: 134.6 MB / 1.015 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/1.268, allocations: 81.7 kB / 1.015 GB, free: 5.555 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.09677/1.365, allocations: 22.79 MB / 1.037 GB, free: 2.418 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/1.365, allocations: 12 kB / 1.037 GB, free: 2.406 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007731/1.366, allocations: 153.9 kB / 1.037 GB, free: 2.258 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00265/1.368, allocations: 0.7832 MB / 1.038 GB, free: 1.562 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.43e-05/1.368, allocations: 36 kB / 1.038 GB, free: 1.527 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002548/1.369, allocations: 68 kB / 1.038 GB, free: 1.461 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002284/1.371, allocations: 0.6398 MB / 1.039 GB, free: 1.074 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002561/1.374, allocations: 0.8517 MB / 1.04 GB, free: 392 kB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.579e-05/1.374, allocations: 0 / 1.04 GB, free: 392 kB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001223/1.374, allocations: 4 kB / 1.04 GB, free: 388 kB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.943e-05/1.374, allocations: 24 kB / 1.04 GB, free: 364 kB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009422/1.383, allocations: 3.71 MB / 1.043 GB, free: 13.26 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00308/1.386, allocations: 0.8125 MB / 1.044 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/1.388, allocations: 353.2 kB / 1.045 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 7.668e-05/1.388, allocations: 12.77 kB / 1.045 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009735/1.389, allocations: 328.3 kB / 1.045 GB, free: 12.24 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=88): time 4.197e-06/1.389, allocations: 0 / 1.045 GB, free: 12.24 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88): time 0.001989/1.391, allocations: 0.6152 MB / 1.045 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002221/1.391, allocations: 218.4 kB / 1.046 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/1.392, allocations: 0.6124 MB / 1.046 GB, free: 11.06 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002513/1.393, allocations: 29.7 kB / 1.046 GB, free: 11.03 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004514/1.393, allocations: 392 kB / 1.047 GB, free: 10.69 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004279/1.394, allocations: 289.5 kB / 1.047 GB, free: 10.44 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-05/1.394, allocations: 0 / 1.047 GB, free: 10.44 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001748/1.394, allocations: 339.6 kB / 1.047 GB, free: 10.11 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007735/1.395, allocations: 231.9 kB / 1.047 GB, free: 9.984 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009215/1.396, allocations: 389.8 kB / 1.048 GB, free: 9.672 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008453/1.397, allocations: 274.8 kB / 1.048 GB, free: 9.512 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/1.397, allocations: 0 / 1.048 GB, free: 9.512 MB / 0.6667 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002238/1.399, allocations: 0.7241 MB / 1.049 GB, free: 8.977 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002542/1.399, allocations: 453 kB / 1.049 GB, free: 8.508 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/1.399, allocations: 0 / 1.049 GB, free: 8.508 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.132e-05/1.399, allocations: 12 kB / 1.049 GB, free: 8.496 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001918/1.401, allocations: 218.6 kB / 1.049 GB, free: 8.289 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.878e-05/1.401, allocations: 4 kB / 1.049 GB, free: 8.285 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/1.403, allocations: 147.2 kB / 1.05 GB, free: 8.141 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/1.403, allocations: 27.88 kB / 1.05 GB, free: 8.121 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/1.403, allocations: 4 kB / 1.05 GB, free: 8.117 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001715/1.405, allocations: 0.5516 MB / 1.05 GB, free: 7.738 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/1.405, allocations: 4 kB / 1.05 GB, free: 7.734 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/1.405, allocations: 7.938 kB / 1.05 GB, free: 7.727 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/1.406, allocations: 174.2 kB / 1.05 GB, free: 7.562 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/1.406, allocations: 4 kB / 1.05 GB, free: 7.559 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/1.407, allocations: 98.33 kB / 1.05 GB, free: 7.465 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.522e-05/1.407, allocations: 34.36 kB / 1.05 GB, free: 7.438 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,noLimPID.I.trigger_internal,limPI.I.trigger_internal,limPIDOri.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * 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.0003471/1.408, allocations: 128.7 kB / 1.051 GB, free: 7.305 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002655/1.408, allocations: 94.78 kB / 1.051 GB, free: 7.211 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003898/1.408, allocations: 100.3 kB / 1.051 GB, free: 7.156 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/1.408, allocations: 12 kB / 1.051 GB, free: 7.145 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/1.409, allocations: 3.906 kB / 1.051 GB, free: 7.141 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/1.409, allocations: 3.984 kB / 1.051 GB, free: 7.137 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/1.41, allocations: 0.8493 MB / 1.052 GB, free: 6.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/1.41, allocations: 0 / 1.052 GB, free: 6.48 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001783/1.412, allocations: 195 kB / 1.052 GB, free: 6.297 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.09e-05/1.412, allocations: 3.906 kB / 1.052 GB, free: 6.293 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/1.412, allocations: 7.984 kB / 1.052 GB, free: 6.285 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.008e-05/1.412, allocations: 4 kB / 1.052 GB, free: 6.281 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.241e-06/1.412, allocations: 3.984 kB / 1.052 GB, free: 6.277 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00285/1.415, allocations: 1.012 MB / 1.053 GB, free: 5.582 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003858/1.419, allocations: 1.716 MB / 1.054 GB, free: 4.336 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004313/1.419, allocations: 178.9 kB / 1.055 GB, free: 4.148 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000223/1.42, allocations: 7.625 kB / 1.055 GB, free: 4.145 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/1.421, allocations: 79.92 kB / 1.055 GB, free: 4.066 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/1.421, allocations: 56.36 kB / 1.055 GB, free: 4.02 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.509e-05/1.421, allocations: 19 kB / 1.055 GB, free: 4.004 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001029/1.422, allocations: 470.6 kB / 1.055 GB, free: 3.68 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003434/1.426, allocations: 350.1 kB / 1.056 GB, free: 3.336 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003945/1.426, allocations: 131.6 kB / 1.056 GB, free: 3.203 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002917/1.429, allocations: 0.9723 MB / 1.057 GB, free: 2.559 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/1.429, allocations: 4 kB / 1.057 GB, free: 2.555 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0009029/1.43, allocations: 317.9 kB / 1.057 GB, free: 2.34 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002/1.432, allocations: 210.2 kB / 1.057 GB, free: 2.172 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004802/1.437, allocations: 1.38 MB / 1.059 GB, free: 0.9258 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001681/1.439, allocations: 1.201 MB / 1.06 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.803e-06/1.439, allocations: 0 / 1.06 GB, free: 15.7 MB / 0.6823 GB