Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") [: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.0.1-maint.8.0.x/package.mo): time 1.492/1.492, allocations: 285.5 MB / 292.8 MB, free: 10.42 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.001408/0.001409, allocations: 185.2 kB / 361.1 MB, free: 7.07 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.665/1.665, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0009224/0.0009228, allocations: 87.17 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.135e-05/1.138e-05, allocations: 4 kB / 0.8511 GB, free: 2.941 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7042/0.7042, allocations: 115.3 MB / 0.9637 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1828/0.8871, allocations: 140.9 MB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.8874, allocations: 92.91 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02007/0.9075, allocations: 7.776 MB / 1.109 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.581e-05/0.9075, allocations: 12 kB / 1.109 GB, free: 7.355 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001151/0.9087, allocations: 0.662 MB / 1.11 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.9088, allocations: 8.531 kB / 1.11 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001742/0.9089, allocations: 63.25 kB / 1.11 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007283/0.9097, allocations: 359.7 kB / 1.11 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.9097, allocations: 12 kB / 1.11 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.982e-05/0.9098, allocations: 24 kB / 1.11 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005011/0.9103, allocations: 230 kB / 1.11 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005823/0.9109, allocations: 336.6 kB / 1.111 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.9109, allocations: 1.406 kB / 1.111 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.355e-05/0.911, allocations: 3.906 kB / 1.111 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.911, allocations: 12 kB / 1.111 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/0.9131, allocations: 1.229 MB / 1.112 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007904/0.9139, allocations: 272.2 kB / 1.112 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.9141, allocations: 108.9 kB / 1.112 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.9141, allocations: 4 kB / 1.112 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002321/0.9144, allocations: 162.6 kB / 1.112 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=28): time 1.613e-06/0.9144, allocations: 0 / 1.112 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of matching and sorting (n=28): time 0.0004668/0.9149, allocations: 221.1 kB / 1.113 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.238e-05/0.9149, allocations: 136.5 kB / 1.113 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003411/0.9153, allocations: 278.1 kB / 1.113 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.9153, allocations: 29.69 kB / 1.113 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.9155, allocations: 213 kB / 1.113 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.941e-05/0.9156, allocations: 90.66 kB / 1.113 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.504e-05/0.9156, allocations: 0 / 1.113 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.9157, allocations: 350.6 kB / 1.114 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.9159, allocations: 77.25 kB / 1.114 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.9161, allocations: 161.5 kB / 1.114 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.9163, allocations: 100.1 kB / 1.114 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.9163, allocations: 4 kB / 1.114 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004566/0.9168, allocations: 282.2 kB / 1.114 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002316/0.917, allocations: 0.5292 MB / 1.115 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.917, allocations: 0.6562 kB / 1.115 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.9171, allocations: 7.984 kB / 1.115 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/0.9174, allocations: 71.91 kB / 1.115 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.9174, allocations: 7.938 kB / 1.115 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.9177, allocations: 43.81 kB / 1.115 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.9177, allocations: 15.91 kB / 1.115 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.9177, allocations: 4 kB / 1.115 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003617/0.9181, allocations: 199.5 kB / 1.115 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.9181, allocations: 4 kB / 1.115 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.049e-06/0.9181, allocations: 0 / 1.115 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.9183, allocations: 51.92 kB / 1.115 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.768e-06/0.9183, allocations: 12.06 kB / 1.115 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.9185, allocations: 33.45 kB / 1.115 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.9185, allocations: 12 kB / 1.115 GB, free: 0.7148 MB / 0.7136 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 ($whenCondition1,$whenCondition2) * 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.0001263/0.9187, allocations: 116.8 kB / 1.115 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.701e-05/0.9187, allocations: 35.62 kB / 1.115 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.202e-05/0.9188, allocations: 43 kB / 1.115 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.9189, allocations: 7.906 kB / 1.115 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.9189, allocations: 0 / 1.115 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.9189, allocations: 0 / 1.115 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/0.9202, allocations: 0.8728 MB / 1.116 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.9202, allocations: 0 / 1.116 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002949/0.9205, allocations: 61.59 kB / 1.116 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/0.9205, allocations: 8 kB / 1.116 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.9206, allocations: 8 kB / 1.116 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.195e-06/0.9206, allocations: 9.5 kB / 1.116 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.9206, allocations: 0 / 1.116 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008125/0.9214, allocations: 0.6795 MB / 1.117 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.9215, allocations: 120.7 kB / 1.117 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.207e-05/0.9216, allocations: 4 kB / 1.117 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002757/0.9219, allocations: 31.91 kB / 1.117 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.9219, allocations: 15.98 kB / 1.117 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.9219, allocations: 11.98 kB / 1.117 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002512/0.9222, allocations: 224.6 kB / 1.117 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005649/0.9228, allocations: 131.3 kB / 1.117 GB, free: 14.15 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (limPI.I.y,limPID.I.y,limPID.D.x) * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.0001965/0.923, allocations: 118.9 kB / 1.118 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006107/0.9236, allocations: 337.7 kB / 1.118 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.9236, allocations: 0.75 kB / 1.118 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.9238, allocations: 108.7 kB / 1.118 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005384/0.9243, allocations: 64.11 kB / 1.118 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.9258, allocations: 0.5757 MB / 1.119 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005726/0.9264, allocations: 0.8706 MB / 1.119 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of SimCode: time 2.414e-06/0.9264, allocations: 0 / 1.119 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of Templates: time 0.01118/0.9376, allocations: 4.68 MB / 1.124 GB, free: 7.422 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1)