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.LimPIDInitialDerivativeOutput.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.LimPIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.293/2.293, allocations: 284.9 MB / 292.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001595/0.001594, allocations: 177.2 kB / 360.4 MB, free: 7.52 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.763/1.763, allocations: 205.1 MB / 0.6188 GB, free: 12.45 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001225/0.001224, allocations: 90.22 kB / 0.7318 GB, free: 45.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.847e-06/8.987e-06, allocations: 0 / 0.8503 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6075/0.6076, allocations: 115.2 MB / 0.9628 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2403/0.8479, allocations: 140.7 MB / 1.1 GB, free: 92 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003318/0.8483, allocations: 91.92 kB / 1.1 GB, free: 0 / 0.698 GB Notification: Performance of FrontEnd: time 0.03396/0.8823, allocations: 8.104 MB / 1.108 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.796e-05/0.8824, allocations: 8 kB / 1.108 GB, free: 7.973 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001366/0.8838, allocations: 0.6423 MB / 1.109 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.8838, allocations: 8.531 kB / 1.109 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.884, allocations: 55.34 kB / 1.109 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009742/0.8849, allocations: 383.3 kB / 1.109 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.885, allocations: 12 kB / 1.109 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.909e-05/0.8851, allocations: 24 kB / 1.109 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007566/0.8858, allocations: 229.5 kB / 1.109 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008044/0.8867, allocations: 321.8 kB / 1.11 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.8867, allocations: 4.562 kB / 1.11 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.488e-05/0.8868, allocations: 0 / 1.11 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/0.8868, allocations: 12 kB / 1.11 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002876/0.8897, allocations: 1.354 MB / 1.111 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.8909, allocations: 264.8 kB / 1.111 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000281/0.8912, allocations: 96.86 kB / 1.111 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.604e-05/0.8912, allocations: 4 kB / 1.111 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003309/0.8916, allocations: 157.7 kB / 1.112 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=26): time 2.895e-06/0.8916, allocations: 0 / 1.112 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=26): time 0.0006878/0.8923, allocations: 216.2 kB / 1.112 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.265e-05/0.8924, allocations: 136.5 kB / 1.112 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005012/0.8929, allocations: 282.1 kB / 1.112 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.255e-05/0.8929, allocations: 25.7 kB / 1.112 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.8931, allocations: 203.9 kB / 1.112 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.459e-05/0.8932, allocations: 86.66 kB / 1.113 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.179e-05/0.8932, allocations: 3.938 kB / 1.113 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.8934, allocations: 350.8 kB / 1.113 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/0.8936, allocations: 76 kB / 1.113 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003733/0.894, allocations: 151.6 kB / 1.113 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.8943, allocations: 92.48 kB / 1.113 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.8943, allocations: 0 / 1.113 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007256/0.8951, allocations: 284.1 kB / 1.113 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001772/0.8953, allocations: 445 kB / 1.114 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.8953, allocations: 7.984 kB / 1.114 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.8953, allocations: 0 / 1.114 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006169/0.8959, allocations: 71.91 kB / 1.114 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.896, allocations: 0 / 1.114 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004239/0.8964, allocations: 51.66 kB / 1.114 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.8964, allocations: 14.27 kB / 1.114 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.407e-06/0.8965, allocations: 4 kB / 1.114 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005587/0.897, allocations: 203 kB / 1.114 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.8971, allocations: 5 kB / 1.114 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.674e-06/0.8971, allocations: 4 kB / 1.114 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004516/0.8975, allocations: 51.92 kB / 1.114 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.8975, allocations: 3.938 kB / 1.114 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002971/0.8979, allocations: 35.83 kB / 1.114 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.8979, allocations: 8 kB / 1.114 GB, free: 1.387 MB / 0.7136 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.0001283/0.898, allocations: 112.7 kB / 1.114 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.966e-05/0.8981, allocations: 35.53 kB / 1.114 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.8983, allocations: 43.03 kB / 1.115 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.8983, allocations: 4 kB / 1.115 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.8983, allocations: 4 kB / 1.115 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.8983, allocations: 0 / 1.115 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001871/0.9002, allocations: 0.8624 MB / 1.115 GB, free: 256 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.9002, allocations: 4 kB / 1.115 GB, free: 252 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005184/0.9008, allocations: 68.17 kB / 1.115 GB, free: 184 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/0.9008, allocations: 4 kB / 1.115 GB, free: 180 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/0.9008, allocations: 4 kB / 1.115 GB, free: 176 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.9008, allocations: 4 kB / 1.115 GB, free: 172 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/0.9008, allocations: 7.938 kB / 1.115 GB, free: 164 kB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001066/0.9019, allocations: 0.6698 MB / 1.116 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.9021, allocations: 120.6 kB / 1.116 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.866e-05/0.9021, allocations: 7.938 kB / 1.116 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004353/0.9026, allocations: 29.11 kB / 1.116 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.9026, allocations: 24.02 kB / 1.116 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/0.9027, allocations: 16 kB / 1.116 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0003487/0.903, allocations: 220.6 kB / 1.117 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007976/0.9039, allocations: 119.4 kB / 1.117 GB, free: 14.84 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.0001911/0.9041, allocations: 115.2 kB / 1.117 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000907/0.905, allocations: 325.8 kB / 1.117 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.905, allocations: 4.312 kB / 1.117 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002511/0.9053, allocations: 103.9 kB / 1.117 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007719/0.906, allocations: 66.34 kB / 1.117 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.9082, allocations: 0.5932 MB / 1.118 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006447/0.9089, allocations: 0.8616 MB / 1.119 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of SimCode: time 1.072e-06/0.9089, allocations: 1.125 kB / 1.119 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of Templates: time 0.01598/0.9249, allocations: 4.694 MB / 1.123 GB, free: 8.121 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.sim & ./Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe 2>&1)