Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.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.LimPIDInitialState,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState",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.289/2.289, allocations: 248.6 MB / 255.9 MB, free: 7.141 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.002362/0.002362, allocations: 187.8 kB / 315.1 MB, free: 4.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.977/1.977, allocations: 205.1 MB / 0.5658 GB, free: 296 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.001465/0.001465, allocations: 93.73 kB / 0.67 GB, free: 5.496 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.545/0.5465, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.7772, allocations: 106.2 MB / 0.8835 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.694/1.471, allocations: 134 MB / 1.014 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/1.472, allocations: 80.81 kB / 1.014 GB, free: 6.105 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.03976/1.511, allocations: 8.332 MB / 1.023 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/1.511, allocations: 8 kB / 1.023 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/1.512, allocations: 55.28 kB / 1.023 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/1.513, allocations: 382.5 kB / 1.023 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/1.513, allocations: 12 kB / 1.023 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.055e-05/1.513, allocations: 24 kB / 1.023 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009371/1.514, allocations: 224 kB / 1.023 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008477/1.515, allocations: 338.3 kB / 1.024 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/1.515, allocations: 4 kB / 1.024 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.591e-05/1.515, allocations: 0 / 1.024 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/1.515, allocations: 8 kB / 1.024 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003203/1.518, allocations: 1.532 MB / 1.025 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/1.519, allocations: 266.1 kB / 1.025 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003188/1.52, allocations: 114.7 kB / 1.025 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.388e-05/1.52, allocations: 4 kB / 1.025 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/1.52, allocations: 30.56 kB / 1.026 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=26): time 2.335e-06/1.52, allocations: 0 / 1.026 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of matching and sorting (n=26): time 0.000726/1.52, allocations: 228.2 kB / 1.026 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.312e-05/1.521, allocations: 106.8 kB / 1.026 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000569/1.521, allocations: 288.9 kB / 1.026 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/1.521, allocations: 25.7 kB / 1.026 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/1.521, allocations: 204.4 kB / 1.026 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.484e-05/1.522, allocations: 84.66 kB / 1.026 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.23e-05/1.522, allocations: 4 kB / 1.026 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001832/1.522, allocations: 344.1 kB / 1.027 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002521/1.522, allocations: 77.19 kB / 1.027 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000339/1.522, allocations: 159.5 kB / 1.027 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003004/1.523, allocations: 98.47 kB / 1.027 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/1.523, allocations: 0 / 1.027 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008233/1.524, allocations: 280.4 kB / 1.027 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002517/1.524, allocations: 0.5338 MB / 1.028 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/1.524, allocations: 3.984 kB / 1.028 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.636e-05/1.524, allocations: 4 kB / 1.028 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006768/1.525, allocations: 75.22 kB / 1.028 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/1.525, allocations: 7.938 kB / 1.028 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004952/1.525, allocations: 51.66 kB / 1.028 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.761e-05/1.525, allocations: 14.81 kB / 1.028 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/1.525, allocations: 4 kB / 1.028 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006495/1.526, allocations: 206.2 kB / 1.028 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.259e-06/1.526, allocations: 0 / 1.028 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/1.526, allocations: 4 kB / 1.028 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004688/1.526, allocations: 56.03 kB / 1.028 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/1.526, allocations: 11.91 kB / 1.028 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003798/1.527, allocations: 19.84 kB / 1.028 GB, free: 10 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/1.527, allocations: 10.81 kB / 1.028 GB, free: 9.996 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (limPI.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0001855/1.527, allocations: 115.7 kB / 1.028 GB, free: 9.879 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/1.527, allocations: 35.53 kB / 1.028 GB, free: 9.84 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/1.527, allocations: 43.72 kB / 1.028 GB, free: 9.809 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/1.527, allocations: 4 kB / 1.028 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.527, allocations: 0 / 1.028 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/1.527, allocations: 0 / 1.028 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/1.529, allocations: 0.7719 MB / 1.029 GB, free: 9.121 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/1.529, allocations: 0 / 1.029 GB, free: 9.121 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005696/1.53, allocations: 66.98 kB / 1.029 GB, free: 9.059 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.289e-05/1.53, allocations: 8 kB / 1.029 GB, free: 9.051 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/1.53, allocations: 4 kB / 1.029 GB, free: 9.047 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.972e-06/1.53, allocations: 0 / 1.029 GB, free: 9.047 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/1.53, allocations: 7.938 kB / 1.029 GB, free: 9.039 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001102/1.531, allocations: 0.5765 MB / 1.03 GB, free: 8.48 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001475/1.532, allocations: 1.052 MB / 1.031 GB, free: 7.496 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/1.533, allocations: 115.6 kB / 1.031 GB, free: 7.367 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.301e-05/1.533, allocations: 7.984 kB / 1.031 GB, free: 7.359 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004276/1.533, allocations: 23.98 kB / 1.031 GB, free: 7.336 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/1.533, allocations: 19.17 kB / 1.031 GB, free: 7.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/1.533, allocations: 18.97 kB / 1.031 GB, free: 7.305 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003795/1.534, allocations: 221.2 kB / 1.031 GB, free: 7.137 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002669/1.536, allocations: 127.4 kB / 1.031 GB, free: 7.012 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.0002271/1.537, allocations: 119 kB / 1.032 GB, free: 6.887 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009246/1.538, allocations: 333.5 kB / 1.032 GB, free: 6.672 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/1.538, allocations: 0.5 kB / 1.032 GB, free: 6.672 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002408/1.538, allocations: 107.1 kB / 1.032 GB, free: 6.598 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007689/1.539, allocations: 79.09 kB / 1.032 GB, free: 6.535 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002085/1.541, allocations: 0.557 MB / 1.033 GB, free: 5.973 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007105/1.541, allocations: 0.8691 MB / 1.033 GB, free: 5.078 MB / 0.6511 GB Notification: Performance of SimCode: time 1.122e-06/1.542, allocations: 0 / 1.033 GB, free: 5.078 MB / 0.6511 GB