Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.355/2.355, allocations: 253.1 MB / 260.4 MB, free: 7.582 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002253/0.002253, allocations: 185.2 kB / 319.6 MB, free: 3.32 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.871/1.871, allocations: 205.4 MB / 0.5704 GB, free: 15.05 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001268/0.001268, allocations: 98.39 kB / 0.6746 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.697e-05/1.735e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2684, allocations: 106.2 MB / 0.8881 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7247/0.9932, allocations: 134.6 MB / 1.019 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/0.9935, allocations: 77.52 kB / 1.02 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.1157/1.109, allocations: 21.43 MB / 1.04 GB, free: 1.871 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002187/1.11, allocations: 32 kB / 1.041 GB, free: 1.84 MB / 0.6511 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.006574/1.116, allocations: 1.325 MB / 1.042 GB, free: 0.543 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 8.236e-05/1.116, allocations: 12.03 kB / 1.042 GB, free: 0.5312 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/1.118, allocations: 158.1 kB / 1.042 GB, free: 384 kB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005031/1.123, allocations: 0.7803 MB / 1.043 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/1.123, allocations: 32 kB / 1.043 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006795/1.124, allocations: 67.98 kB / 1.043 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004668/1.129, allocations: 0.6348 MB / 1.043 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00574/1.134, allocations: 0.8511 MB / 1.044 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000114/1.135, allocations: 0 / 1.044 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003781/1.135, allocations: 7.984 kB / 1.044 GB, free: 14.51 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.854e-05/1.135, allocations: 24 kB / 1.044 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01465/1.15, allocations: 3.708 MB / 1.048 GB, free: 11.37 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004309/1.154, allocations: 0.8132 MB / 1.049 GB, free: 10.81 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001384/1.156, allocations: 347.9 kB / 1.049 GB, free: 10.6 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/1.156, allocations: 12.78 kB / 1.049 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001271/1.157, allocations: 332.9 kB / 1.049 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=88): time 4.949e-06/1.157, allocations: 4 kB / 1.049 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88): time 0.001953/1.159, allocations: 0.6116 MB / 1.05 GB, free: 9.898 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001768/1.159, allocations: 222.3 kB / 1.05 GB, free: 9.633 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00205/1.161, allocations: 0.6073 MB / 1.051 GB, free: 9.18 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002987/1.162, allocations: 25.7 kB / 1.051 GB, free: 9.148 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007279/1.162, allocations: 394.5 kB / 1.051 GB, free: 8.809 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000745/1.163, allocations: 293.6 kB / 1.051 GB, free: 8.555 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/1.163, allocations: 3.938 kB / 1.051 GB, free: 8.551 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002815/1.164, allocations: 337.3 kB / 1.052 GB, free: 8.227 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/1.165, allocations: 235.4 kB / 1.052 GB, free: 8.098 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001775/1.167, allocations: 387.6 kB / 1.052 GB, free: 7.789 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001606/1.168, allocations: 270.8 kB / 1.053 GB, free: 7.629 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.762e-05/1.169, allocations: 4 kB / 1.053 GB, free: 7.625 MB / 0.6667 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003895/1.172, allocations: 0.7231 MB / 1.053 GB, free: 7.09 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004065/1.173, allocations: 457.5 kB / 1.054 GB, free: 6.613 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/1.173, allocations: 0 / 1.054 GB, free: 6.613 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.684e-05/1.173, allocations: 4 kB / 1.054 GB, free: 6.609 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002839/1.176, allocations: 225.4 kB / 1.054 GB, free: 6.398 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.027e-05/1.176, allocations: 7.984 kB / 1.054 GB, free: 6.391 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002304/1.178, allocations: 151.1 kB / 1.054 GB, free: 6.242 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002941/1.179, allocations: 25.88 kB / 1.054 GB, free: 6.223 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/1.179, allocations: 4 kB / 1.054 GB, free: 6.219 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00267/1.181, allocations: 0.5616 MB / 1.055 GB, free: 5.836 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/1.181, allocations: 0 / 1.055 GB, free: 5.836 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.088e-05/1.182, allocations: 8 kB / 1.055 GB, free: 5.828 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002378/1.184, allocations: 163.1 kB / 1.055 GB, free: 5.676 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-05/1.184, allocations: 4 kB / 1.055 GB, free: 5.672 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/1.186, allocations: 103.4 kB / 1.055 GB, free: 5.57 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001942/1.186, allocations: 26.5 kB / 1.055 GB, free: 5.551 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.0004951/1.187, allocations: 120.7 kB / 1.055 GB, free: 5.426 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004558/1.187, allocations: 102.8 kB / 1.055 GB, free: 5.32 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000522/1.188, allocations: 102.7 kB / 1.055 GB, free: 5.266 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/1.188, allocations: 8 kB / 1.055 GB, free: 5.258 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.677e-05/1.188, allocations: 7.906 kB / 1.055 GB, free: 5.25 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.937e-05/1.188, allocations: 7.984 kB / 1.055 GB, free: 5.242 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002567/1.19, allocations: 0.8487 MB / 1.056 GB, free: 4.586 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.526e-05/1.19, allocations: 0 / 1.056 GB, free: 4.586 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002941/1.193, allocations: 185.5 kB / 1.056 GB, free: 4.41 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.804e-05/1.193, allocations: 15.84 kB / 1.056 GB, free: 4.395 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001585/1.194, allocations: 7.984 kB / 1.056 GB, free: 4.387 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.481e-05/1.194, allocations: 8 kB / 1.056 GB, free: 4.379 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/1.194, allocations: 0 / 1.056 GB, free: 4.379 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004614/1.198, allocations: 0.9948 MB / 1.057 GB, free: 3.703 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005781/1.199, allocations: 182.3 kB / 1.058 GB, free: 3.512 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003614/1.199, allocations: 7.438 kB / 1.058 GB, free: 3.508 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00188/1.201, allocations: 75.94 kB / 1.058 GB, free: 3.434 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000292/1.202, allocations: 46.7 kB / 1.058 GB, free: 3.395 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001353/1.202, allocations: 34.61 kB / 1.058 GB, free: 3.367 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001576/1.203, allocations: 472.5 kB / 1.058 GB, free: 3.039 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002146/1.205, allocations: 350.1 kB / 1.058 GB, free: 2.695 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.0003939/1.206, allocations: 115.1 kB / 1.059 GB, free: 2.574 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004249/1.21, allocations: 0.9875 MB / 1.06 GB, free: 1.91 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/1.21, allocations: 0 / 1.06 GB, free: 1.91 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001437/1.212, allocations: 316.4 kB / 1.06 GB, free: 1.699 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003285/1.215, allocations: 212.5 kB / 1.06 GB, free: 1.531 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007213/1.222, allocations: 1.371 MB / 1.061 GB, free: 300 kB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002387/1.225, allocations: 1.194 MB / 1.063 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of SimCode: time 1.483e-06/1.225, allocations: 3.938 kB / 1.063 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of Templates: time 0.07069/1.296, allocations: 14.04 MB / 1.076 GB, free: 1.133 MB / 0.6823 GB