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.LimPIDWithReset.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.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") [: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.169/2.169, allocations: 253.1 MB / 260.4 MB, free: 7.465 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.002137/0.002137, allocations: 185.3 kB / 319.6 MB, free: 3.289 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 2.159/2.159, allocations: 205.4 MB / 0.5704 GB, free: 15.03 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.001363/0.001362, allocations: 93.77 kB / 0.6746 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.482e-05/1.497e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2487, allocations: 106.3 MB / 0.8881 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7287/0.9775, allocations: 134.6 MB / 1.02 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003499/0.978, allocations: 77.77 kB / 1.02 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.08107/1.059, allocations: 18.09 MB / 1.037 GB, free: 4.617 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001142/1.059, allocations: 23.94 kB / 1.037 GB, free: 4.594 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.003787/1.063, allocations: 1.141 MB / 1.038 GB, free: 3.477 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/1.063, allocations: 8.031 kB / 1.038 GB, free: 3.469 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007474/1.064, allocations: 130.4 kB / 1.039 GB, free: 3.34 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002235/1.066, allocations: 0.648 MB / 1.039 GB, free: 2.758 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.292e-05/1.066, allocations: 36 kB / 1.039 GB, free: 2.723 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002642/1.067, allocations: 63.12 kB / 1.039 GB, free: 2.664 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002228/1.069, allocations: 0.5366 MB / 1.04 GB, free: 2.34 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002683/1.072, allocations: 0.7584 MB / 1.041 GB, free: 1.742 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.964e-05/1.072, allocations: 7.984 kB / 1.041 GB, free: 1.734 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/1.072, allocations: 3.375 kB / 1.041 GB, free: 1.734 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.975e-05/1.072, allocations: 27.91 kB / 1.041 GB, free: 1.707 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008612/1.08, allocations: 3.193 MB / 1.044 GB, free: 15 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/1.082, allocations: 395.3 kB / 1.044 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009198/1.083, allocations: 320 kB / 1.044 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 7.542e-05/1.083, allocations: 8.656 kB / 1.044 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008571/1.084, allocations: 291.3 kB / 1.045 GB, free: 14.33 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=76): time 6.122e-06/1.084, allocations: 0 / 1.045 GB, free: 14.33 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76): time 0.001755/1.086, allocations: 0.5143 MB / 1.045 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/1.086, allocations: 174.1 kB / 1.045 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/1.087, allocations: 0.4919 MB / 1.046 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002457/1.087, allocations: 29.7 kB / 1.046 GB, free: 13.33 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003811/1.088, allocations: 359.9 kB / 1.046 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004241/1.088, allocations: 249.9 kB / 1.046 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.978e-05/1.088, allocations: 0 / 1.046 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002028/1.088, allocations: 335 kB / 1.047 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006536/1.089, allocations: 184.6 kB / 1.047 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00076/1.09, allocations: 313.8 kB / 1.047 GB, free: 12.13 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000691/1.091, allocations: 231.4 kB / 1.047 GB, free: 11.99 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/1.091, allocations: 0 / 1.047 GB, free: 11.99 MB / 0.6667 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001941/1.093, allocations: 0.5959 MB / 1.048 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003319/1.093, allocations: 459.8 kB / 1.048 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/1.093, allocations: 0 / 1.048 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.444e-05/1.093, allocations: 4 kB / 1.048 GB, free: 11.06 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/1.095, allocations: 175.5 kB / 1.049 GB, free: 10.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.375e-05/1.095, allocations: 4 kB / 1.049 GB, free: 10.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/1.096, allocations: 99.39 kB / 1.049 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/1.096, allocations: 23.8 kB / 1.049 GB, free: 10.78 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/1.096, allocations: 4 kB / 1.049 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001444/1.098, allocations: 474.1 kB / 1.049 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/1.098, allocations: 4.125 kB / 1.049 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/1.098, allocations: 11.94 kB / 1.049 GB, free: 10.44 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/1.099, allocations: 135.5 kB / 1.049 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/1.099, allocations: 4 kB / 1.049 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008477/1.1, allocations: 67.41 kB / 1.049 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.267e-05/1.1, allocations: 19.81 kB / 1.049 GB, free: 10.23 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: 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.0002962/1.1, allocations: 116.7 kB / 1.05 GB, free: 10.11 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/1.1, allocations: 82.97 kB / 1.05 GB, free: 10.03 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003556/1.101, allocations: 85.06 kB / 1.05 GB, free: 9.977 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/1.101, allocations: 8 kB / 1.05 GB, free: 9.969 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/1.101, allocations: 0 / 1.05 GB, free: 9.969 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/1.101, allocations: 7.984 kB / 1.05 GB, free: 9.961 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003832/1.105, allocations: 1.424 MB / 1.051 GB, free: 8.906 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.507e-06/1.105, allocations: 0 / 1.051 GB, free: 8.906 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001519/1.106, allocations: 151.7 kB / 1.051 GB, free: 8.762 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.547e-05/1.106, allocations: 4 kB / 1.051 GB, free: 8.758 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/1.106, allocations: 3.938 kB / 1.051 GB, free: 8.754 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.879e-06/1.107, allocations: 4 kB / 1.051 GB, free: 8.75 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/1.107, allocations: 3.906 kB / 1.051 GB, free: 8.746 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002489/1.109, allocations: 0.9174 MB / 1.052 GB, free: 8.086 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003611/1.109, allocations: 167.2 kB / 1.052 GB, free: 7.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/1.11, allocations: 4 kB / 1.052 GB, free: 7.906 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000777/1.11, allocations: 47.95 kB / 1.052 GB, free: 7.859 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/1.111, allocations: 30.73 kB / 1.052 GB, free: 7.836 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.867e-05/1.111, allocations: 23.3 kB / 1.052 GB, free: 7.816 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0008516/1.112, allocations: 382.3 kB / 1.053 GB, free: 7.547 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001521/1.113, allocations: 298.2 kB / 1.053 GB, free: 7.254 MB / 0.6667 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.0003278/1.113, allocations: 121.6 kB / 1.053 GB, free: 7.129 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002452/1.116, allocations: 0.8114 MB / 1.054 GB, free: 6.582 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/1.116, allocations: 3.938 kB / 1.054 GB, free: 6.578 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007581/1.117, allocations: 270.8 kB / 1.054 GB, free: 6.395 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/1.119, allocations: 171.6 kB / 1.054 GB, free: 6.262 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004649/1.123, allocations: 1.245 MB / 1.056 GB, free: 5.129 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001419/1.125, allocations: 1.108 MB / 1.057 GB, free: 3.992 MB / 0.6667 GB Notification: Performance of SimCode: time 1.893e-06/1.125, allocations: 0 / 1.057 GB, free: 3.992 MB / 0.6667 GB Notification: Performance of Templates: time 0.04012/1.165, allocations: 10.99 MB / 1.067 GB, free: 9.078 MB / 0.6823 GB