Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.282/2.282, allocations: 284.9 MB / 292.2 MB, free: 1.355 MB / 227.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001591/0.001591, allocations: 184 kB / 360.4 MB, free: 15.66 MB / 291.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.715/1.715, allocations: 205.1 MB / 0.6188 GB, free: 6.684 MB / 467.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001738/0.001738, allocations: 89.14 kB / 0.7318 GB, free: 46.76 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 8.265e-06/8.356e-06, allocations: 0 / 0.8503 GB, free: 13.69 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6068/0.6068, allocations: 115.2 MB / 0.9628 GB, free: 86.43 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2316/0.8385, allocations: 140.7 MB / 1.1 GB, free: 9.652 MB / 0.7061 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003405/0.8389, allocations: 88.86 kB / 1.1 GB, free: 9.566 MB / 0.7061 GB Notification: Performance of FrontEnd: time 0.03187/0.8708, allocations: 7.781 MB / 1.108 GB, free: 1.855 MB / 0.7061 GB Notification: Performance of Transformations before backend: time 4.251e-05/0.8709, allocations: 8 kB / 1.108 GB, free: 1.848 MB / 0.7061 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.001474/0.8724, allocations: 0.6591 MB / 1.109 GB, free: 1.141 MB / 0.7061 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.8725, allocations: 8.031 kB / 1.109 GB, free: 1.133 MB / 0.7061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.8727, allocations: 59.25 kB / 1.109 GB, free: 1.074 MB / 0.7061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009147/0.8736, allocations: 367.7 kB / 1.109 GB, free: 0.6758 MB / 0.7061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/0.8737, allocations: 12 kB / 1.109 GB, free: 0.6641 MB / 0.7061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.994e-05/0.8738, allocations: 24 kB / 1.109 GB, free: 0.6406 MB / 0.7061 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008067/0.8746, allocations: 238 kB / 1.109 GB, free: 420 kB / 0.7061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008587/0.8755, allocations: 322.1 kB / 1.109 GB, free: 84 kB / 0.7061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.8755, allocations: 0.6562 kB / 1.11 GB, free: 84 kB / 0.7061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.837e-05/0.8756, allocations: 11.84 kB / 1.11 GB, free: 72 kB / 0.7061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.8756, allocations: 8 kB / 1.11 GB, free: 64 kB / 0.7061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003114/0.8787, allocations: 1.237 MB / 1.111 GB, free: 14.78 MB / 0.7217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.8799, allocations: 267.4 kB / 1.111 GB, free: 14.5 MB / 0.7217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003115/0.8802, allocations: 115.5 kB / 1.111 GB, free: 14.39 MB / 0.7217 GB Notification: Performance of preOpt evalFunc (simulation): time 3.848e-05/0.8803, allocations: 3.984 kB / 1.111 GB, free: 14.39 MB / 0.7217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003469/0.8807, allocations: 158.7 kB / 1.111 GB, free: 14.21 MB / 0.7217 GB Notification: Performance of pre-optimization done (n=28): time 2.725e-06/0.8807, allocations: 0 / 1.111 GB, free: 14.21 MB / 0.7217 GB Notification: Performance of matching and sorting (n=28): time 0.0007047/0.8814, allocations: 225.1 kB / 1.111 GB, free: 13.98 MB / 0.7217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.254e-05/0.8815, allocations: 132.5 kB / 1.112 GB, free: 13.82 MB / 0.7217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000513/0.882, allocations: 282.1 kB / 1.112 GB, free: 13.55 MB / 0.7217 GB Notification: Performance of collectPreVariables (initialization): time 4.567e-05/0.8821, allocations: 25.7 kB / 1.112 GB, free: 13.52 MB / 0.7217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.8822, allocations: 208 kB / 1.112 GB, free: 13.31 MB / 0.7217 GB Notification: Performance of collectInitialBindings (initialization): time 9.858e-05/0.8824, allocations: 94.66 kB / 1.112 GB, free: 13.21 MB / 0.7217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.181e-05/0.8824, allocations: 0 / 1.112 GB, free: 13.21 MB / 0.7217 GB Notification: Performance of setup shared object (initialization): time 0.0002319/0.8826, allocations: 350.7 kB / 1.113 GB, free: 12.86 MB / 0.7217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/0.8829, allocations: 80 kB / 1.113 GB, free: 12.79 MB / 0.7217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003309/0.8832, allocations: 161.5 kB / 1.113 GB, free: 12.6 MB / 0.7217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.8836, allocations: 100 kB / 1.113 GB, free: 12.51 MB / 0.7217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.8836, allocations: 0 / 1.113 GB, free: 12.51 MB / 0.7217 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008072/0.8844, allocations: 281.1 kB / 1.113 GB, free: 12.23 MB / 0.7217 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002314/0.8846, allocations: 0.5297 MB / 1.114 GB, free: 11.66 MB / 0.7217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.8847, allocations: 4 kB / 1.114 GB, free: 11.65 MB / 0.7217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/0.8847, allocations: 0 / 1.114 GB, free: 11.65 MB / 0.7217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006299/0.8853, allocations: 71.91 kB / 1.114 GB, free: 11.58 MB / 0.7217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.8854, allocations: 5.875 kB / 1.114 GB, free: 11.58 MB / 0.7217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004451/0.8858, allocations: 43.81 kB / 1.114 GB, free: 11.54 MB / 0.7217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.923e-05/0.8859, allocations: 13.72 kB / 1.114 GB, free: 11.52 MB / 0.7217 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.8859, allocations: 5.719 kB / 1.114 GB, free: 11.52 MB / 0.7217 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006198/0.8865, allocations: 207.8 kB / 1.114 GB, free: 11.32 MB / 0.7217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.8866, allocations: 4 kB / 1.114 GB, free: 11.32 MB / 0.7217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.8866, allocations: 4 kB / 1.114 GB, free: 11.31 MB / 0.7217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004525/0.8871, allocations: 55.92 kB / 1.114 GB, free: 11.26 MB / 0.7217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.8871, allocations: 3.984 kB / 1.114 GB, free: 11.25 MB / 0.7217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003322/0.8874, allocations: 31.91 kB / 1.114 GB, free: 11.22 MB / 0.7217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.8875, allocations: 8 kB / 1.114 GB, free: 11.21 MB / 0.7217 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.0001564/0.8876, allocations: 124.8 kB / 1.114 GB, free: 11.09 MB / 0.7217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-05/0.8877, allocations: 31.62 kB / 1.114 GB, free: 11.05 MB / 0.7217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000157/0.8879, allocations: 35 kB / 1.114 GB, free: 11.02 MB / 0.7217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.8879, allocations: 7.906 kB / 1.114 GB, free: 11.01 MB / 0.7217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.8879, allocations: 0 / 1.114 GB, free: 11.01 MB / 0.7217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.8879, allocations: 0 / 1.114 GB, free: 11.01 MB / 0.7217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/0.8898, allocations: 0.8778 MB / 1.115 GB, free: 10.07 MB / 0.7217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.8898, allocations: 9.406 kB / 1.115 GB, free: 10.06 MB / 0.7217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005426/0.8904, allocations: 59.91 kB / 1.115 GB, free: 10 MB / 0.7217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/0.8904, allocations: 4.656 kB / 1.115 GB, free: 9.996 MB / 0.7217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/0.8904, allocations: 4 kB / 1.115 GB, free: 9.992 MB / 0.7217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.8904, allocations: 4 kB / 1.115 GB, free: 9.988 MB / 0.7217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/0.8905, allocations: 7.984 kB / 1.115 GB, free: 9.98 MB / 0.7217 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001169/0.8916, allocations: 0.6795 MB / 1.116 GB, free: 9.199 MB / 0.7217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.8918, allocations: 120.6 kB / 1.116 GB, free: 9.062 MB / 0.7217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/0.892, allocations: 4 kB / 1.116 GB, free: 9.059 MB / 0.7217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004843/0.8924, allocations: 30.2 kB / 1.116 GB, free: 9.031 MB / 0.7217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.916e-05/0.8925, allocations: 23.91 kB / 1.116 GB, free: 9.008 MB / 0.7217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/0.8926, allocations: 16 kB / 1.116 GB, free: 8.992 MB / 0.7217 GB Notification: Performance of sort global known variables: time 0.0003748/0.893, allocations: 216.6 kB / 1.116 GB, free: 8.781 MB / 0.7217 GB Notification: Performance of remove unused functions: time 0.0008233/0.8938, allocations: 131.3 kB / 1.116 GB, free: 8.652 MB / 0.7217 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.0002002/0.894, allocations: 119.1 kB / 1.116 GB, free: 8.523 MB / 0.7217 GB Notification: Performance of simCode: created initialization part: time 0.0009805/0.895, allocations: 329.8 kB / 1.117 GB, free: 8.203 MB / 0.7217 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.895, allocations: 0.5625 kB / 1.117 GB, free: 8.203 MB / 0.7217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002671/0.8953, allocations: 107.8 kB / 1.117 GB, free: 8.098 MB / 0.7217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008158/0.8961, allocations: 69.42 kB / 1.117 GB, free: 8.035 MB / 0.7217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.8981, allocations: 0.5784 MB / 1.118 GB, free: 7.402 MB / 0.7217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006911/0.8989, allocations: 0.8643 MB / 1.118 GB, free: 6.512 MB / 0.7217 GB Notification: Performance of SimCode: time 1.553e-06/0.8989, allocations: 0 / 1.118 GB, free: 6.512 MB / 0.7217 GB Notification: Performance of Templates: time 0.01642/0.9153, allocations: 4.682 MB / 1.123 GB, free: 1.938 MB / 0.7217 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & ./Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1)