Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput") [: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.524/1.524, allocations: 289.8 MB / 297.1 MB, free: 6.695 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.001047/0.001047, allocations: 176.8 kB / 366.3 MB, free: 1.98 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.309/1.309, allocations: 205.1 MB / 0.6256 GB, free: 5.816 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008998/0.0008998, allocations: 97.23 kB / 0.7396 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.155e-06/8.275e-06, allocations: 4 kB / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5883/0.5883, allocations: 116.3 MB / 0.9726 GB, free: 68.05 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1771/0.7654, allocations: 141.8 MB / 1.111 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.7657, allocations: 89.05 kB / 1.111 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02088/0.7866, allocations: 8.092 MB / 1.119 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.572e-05/0.7867, allocations: 12 kB / 1.119 GB, free: 14.46 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.00112/0.7879, allocations: 0.6389 MB / 1.12 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.7879, allocations: 8.031 kB / 1.12 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001781/0.7881, allocations: 55.34 kB / 1.12 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007723/0.7889, allocations: 395.3 kB / 1.12 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.7889, allocations: 12 kB / 1.12 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.539e-05/0.789, allocations: 24 kB / 1.12 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004417/0.7894, allocations: 221.5 kB / 1.12 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005073/0.79, allocations: 320 kB / 1.121 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.79, allocations: 3.906 kB / 1.121 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.79, allocations: 0 / 1.121 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.79, allocations: 12 kB / 1.121 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001998/0.792, allocations: 1.35 MB / 1.122 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007312/0.7928, allocations: 266.5 kB / 1.122 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.793, allocations: 108.5 kB / 1.122 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.793, allocations: 4.75 kB / 1.122 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002165/0.7932, allocations: 157.4 kB / 1.123 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.7933, allocations: 0 / 1.123 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of matching and sorting (n=26): time 0.0004441/0.7937, allocations: 221.2 kB / 1.123 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/0.7938, allocations: 132.5 kB / 1.123 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/0.7941, allocations: 286.1 kB / 1.123 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.7942, allocations: 25.7 kB / 1.123 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.7943, allocations: 207.8 kB / 1.123 GB, free: 9.836 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.837e-05/0.7944, allocations: 86.67 kB / 1.123 GB, free: 9.75 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.298e-05/0.7944, allocations: 0 / 1.123 GB, free: 9.75 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.7945, allocations: 346.8 kB / 1.124 GB, free: 9.402 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.7947, allocations: 75.98 kB / 1.124 GB, free: 9.328 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.7949, allocations: 152.2 kB / 1.124 GB, free: 9.152 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.7951, allocations: 98.48 kB / 1.124 GB, free: 9.059 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.7951, allocations: 0 / 1.124 GB, free: 9.059 MB / 0.7292 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004427/0.7955, allocations: 277.1 kB / 1.124 GB, free: 8.781 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002009/0.7957, allocations: 449 kB / 1.125 GB, free: 8.309 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.7957, allocations: 4 kB / 1.125 GB, free: 8.305 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.7958, allocations: 0 / 1.125 GB, free: 8.305 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/0.7961, allocations: 76.47 kB / 1.125 GB, free: 8.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.7961, allocations: 0 / 1.125 GB, free: 8.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/0.7963, allocations: 51.66 kB / 1.125 GB, free: 8.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.7964, allocations: 8 kB / 1.125 GB, free: 8.172 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/0.7964, allocations: 7.938 kB / 1.125 GB, free: 8.164 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003932/0.7968, allocations: 204.1 kB / 1.125 GB, free: 7.969 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-06/0.7968, allocations: 0.9375 kB / 1.125 GB, free: 7.969 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.101e-06/0.7968, allocations: 4 kB / 1.125 GB, free: 7.965 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.797, allocations: 55.92 kB / 1.125 GB, free: 7.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.7971, allocations: 0 / 1.125 GB, free: 7.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.7972, allocations: 35.83 kB / 1.125 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.7973, allocations: 4 kB / 1.125 GB, free: 7.871 MB / 0.7292 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 (35): * Single equations (assignments): 35 * 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.0001034/0.7974, allocations: 108.9 kB / 1.125 GB, free: 7.758 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.095e-05/0.7974, allocations: 39.52 kB / 1.125 GB, free: 7.719 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.093e-05/0.7975, allocations: 43.05 kB / 1.125 GB, free: 7.672 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.7975, allocations: 0 / 1.125 GB, free: 7.672 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.7975, allocations: 4.562 kB / 1.125 GB, free: 7.668 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.7976, allocations: 0 / 1.125 GB, free: 7.668 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.7987, allocations: 0.8716 MB / 1.126 GB, free: 6.727 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.7988, allocations: 7.984 kB / 1.126 GB, free: 6.719 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/0.799, allocations: 55.95 kB / 1.126 GB, free: 6.664 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.799, allocations: 7.984 kB / 1.126 GB, free: 6.656 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.7991, allocations: 4.75 kB / 1.126 GB, free: 6.652 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.7991, allocations: 4 kB / 1.126 GB, free: 6.648 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.7991, allocations: 4.094 kB / 1.126 GB, free: 6.645 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006929/0.7998, allocations: 0.6692 MB / 1.127 GB, free: 5.871 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.838e-05/0.7999, allocations: 120.6 kB / 1.127 GB, free: 5.734 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.721e-05/0.7999, allocations: 4 kB / 1.127 GB, free: 5.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/0.8002, allocations: 31.97 kB / 1.127 GB, free: 5.699 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.8003, allocations: 19.95 kB / 1.127 GB, free: 5.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/0.8003, allocations: 12.56 kB / 1.127 GB, free: 5.668 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002444/0.8006, allocations: 224.5 kB / 1.127 GB, free: 5.449 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005648/0.8011, allocations: 123.4 kB / 1.128 GB, free: 5.328 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (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.0002026/0.8013, allocations: 115.2 kB / 1.128 GB, free: 5.207 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006016/0.8019, allocations: 329.7 kB / 1.128 GB, free: 4.887 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.802, allocations: 0 / 1.128 GB, free: 4.887 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.8021, allocations: 97.08 kB / 1.128 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005616/0.8027, allocations: 83.75 kB / 1.128 GB, free: 4.719 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.8043, allocations: 0.5811 MB / 1.129 GB, free: 4.078 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000536/0.8049, allocations: 0.8655 MB / 1.13 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of SimCode: time 4.11e-07/0.8049, allocations: 0 / 1.13 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of Templates: time 0.009315/0.8142, allocations: 4.692 MB / 1.134 GB, free: 14.55 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.makefile (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.sim & ./Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe 2>&1)