Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") [: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 8.1.4-maint.8.1.x/package.mo): time 1.371/1.371, allocations: 289.8 MB / 297.1 MB, free: 9.008 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009357/0.0009357, allocations: 196.7 kB / 366.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.122/1.122, allocations: 205.1 MB / 0.6256 GB, free: 11.45 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008241/0.000824, allocations: 86.64 kB / 0.7396 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 7.975e-06/7.995e-06, allocations: 4 kB / 0.859 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1602, allocations: 116.3 MB / 0.9726 GB, free: 31.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4292/0.5893, allocations: 139.1 MB / 1.108 GB, free: 16.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000184/0.5896, allocations: 69.59 kB / 1.109 GB, free: 16.25 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.0156/0.6052, allocations: 6.189 MB / 1.115 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.007e-05/0.6052, allocations: 8.625 kB / 1.115 GB, free: 15.85 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0007515/0.606, allocations: 0.61 MB / 1.115 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.606, allocations: 9.156 kB / 1.115 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.473e-05/0.6061, allocations: 46.53 kB / 1.115 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000583/0.6067, allocations: 378.3 kB / 1.116 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.6068, allocations: 10.41 kB / 1.116 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.703e-05/0.6068, allocations: 29.61 kB / 1.116 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003513/0.6072, allocations: 199.8 kB / 1.116 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004041/0.6076, allocations: 278.5 kB / 1.116 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.6076, allocations: 5.125 kB / 1.116 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.6076, allocations: 0 / 1.116 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.6076, allocations: 8.844 kB / 1.116 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.609, allocations: 1.097 MB / 1.117 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003585/0.6094, allocations: 192.5 kB / 1.117 GB, free: 14.53 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.6096, allocations: 100.2 kB / 1.117 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.6096, allocations: 2.562 kB / 1.117 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.6098, allocations: 136.4 kB / 1.118 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=22): time 1.272e-06/0.6098, allocations: 0 / 1.118 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of matching and sorting (n=22): time 0.0003414/0.6101, allocations: 189.3 kB / 1.118 GB, free: 14.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.6102, allocations: 140.7 kB / 1.118 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.6104, allocations: 259.7 kB / 1.118 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.6104, allocations: 26.7 kB / 1.118 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.752e-05/0.6105, allocations: 190.2 kB / 1.118 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.6106, allocations: 69.95 kB / 1.118 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.094e-05/0.6106, allocations: 0 / 1.118 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.153e-05/0.6107, allocations: 343.4 kB / 1.119 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.6108, allocations: 74.48 kB / 1.119 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.6109, allocations: 140.3 kB / 1.119 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.6111, allocations: 84.09 kB / 1.119 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6111, allocations: 0 / 1.119 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003794/0.6115, allocations: 252.9 kB / 1.119 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/0.6116, allocations: 450.8 kB / 1.12 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.6116, allocations: 1.703 kB / 1.12 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.6116, allocations: 2.812 kB / 1.12 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/0.6119, allocations: 62.3 kB / 1.12 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.6119, allocations: 2.094 kB / 1.12 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.6121, allocations: 41.56 kB / 1.12 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.6122, allocations: 15.22 kB / 1.12 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.732e-06/0.6122, allocations: 7.406 kB / 1.12 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003058/0.6125, allocations: 183.1 kB / 1.12 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.6125, allocations: 1.797 kB / 1.12 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.578e-06/0.6125, allocations: 6.5 kB / 1.12 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.6127, allocations: 46.64 kB / 1.12 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.6128, allocations: 3.016 kB / 1.12 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.6129, allocations: 32.95 kB / 1.12 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.6129, allocations: 10.34 kB / 1.12 GB, free: 12.93 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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 7.812e-05/0.613, allocations: 109 kB / 1.12 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/0.6131, allocations: 29.44 kB / 1.12 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.262e-05/0.6132, allocations: 32.47 kB / 1.12 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.6132, allocations: 4.203 kB / 1.12 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.6132, allocations: 0 / 1.12 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.6132, allocations: 2.875 kB / 1.12 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.6142, allocations: 0.7846 MB / 1.121 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.6142, allocations: 2.344 kB / 1.121 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.6145, allocations: 55.28 kB / 1.121 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.6145, allocations: 3.5 kB / 1.121 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.6145, allocations: 4.828 kB / 1.121 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.6145, allocations: 2.656 kB / 1.121 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.6145, allocations: 7.031 kB / 1.121 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000446/0.615, allocations: 0.5955 MB / 1.122 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.082e-05/0.615, allocations: 112.9 kB / 1.122 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.219e-05/0.6151, allocations: 5.016 kB / 1.122 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.6153, allocations: 24.72 kB / 1.122 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.6154, allocations: 21.5 kB / 1.122 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.6154, allocations: 12.77 kB / 1.122 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001783/0.6156, allocations: 201.3 kB / 1.122 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004608/0.616, allocations: 111.2 kB / 1.122 GB, free: 11.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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.00015/0.6162, allocations: 108.4 kB / 1.122 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004346/0.6166, allocations: 293.2 kB / 1.123 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.6167, allocations: 1.062 kB / 1.123 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.6168, allocations: 87.22 kB / 1.123 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/0.6172, allocations: 60.5 kB / 1.123 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.6183, allocations: 0.5181 MB / 1.123 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004872/0.6188, allocations: 0.8389 MB / 1.124 GB, free: 26.61 MB / 0.698 GB Notification: Performance of SimCode: time 3.1e-07/0.6188, allocations: 0.9375 kB / 1.124 GB, free: 26.61 MB / 0.698 GB Notification: Performance of Templates: time 0.008305/0.6271, allocations: 4.104 MB / 1.128 GB, free: 26.27 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1)