Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.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.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.155/2.155, allocations: 284.9 MB / 292.2 MB, free: 10.72 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.00156/0.001559, allocations: 173.4 kB / 360.4 MB, free: 7.504 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.63/1.63, allocations: 205.1 MB / 0.6188 GB, free: 12.39 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.001249/0.001248, allocations: 85.75 kB / 0.7318 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.144e-05/1.146e-05, allocations: 4 kB / 0.8503 GB, free: 3.781 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5435/0.5435, allocations: 115.2 MB / 0.9628 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2242/0.7678, allocations: 138 MB / 1.098 GB, free: 2.785 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.7681, allocations: 76.47 kB / 1.098 GB, free: 2.711 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.02643/0.7945, allocations: 6.182 MB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.931e-05/0.7946, allocations: 8 kB / 1.104 GB, free: 12.59 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001225/0.7959, allocations: 0.6122 MB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.7959, allocations: 8.531 kB / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.796, allocations: 49.03 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009771/0.797, allocations: 383.2 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.7971, allocations: 12 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.846e-05/0.7972, allocations: 20 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006257/0.7978, allocations: 193.3 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007357/0.7986, allocations: 292.6 kB / 1.105 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.7986, allocations: 0 / 1.105 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.1e-05/0.7986, allocations: 0 / 1.105 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.7987, allocations: 8 kB / 1.105 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002399/0.8011, allocations: 1.093 MB / 1.106 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006066/0.8017, allocations: 195.3 kB / 1.106 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/0.802, allocations: 93.86 kB / 1.107 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.802, allocations: 4.188 kB / 1.107 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002781/0.8023, allocations: 134.5 kB / 1.107 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=22): time 2.104e-06/0.8023, allocations: 0 / 1.107 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22): time 0.000555/0.8029, allocations: 200.2 kB / 1.107 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.576e-05/0.8029, allocations: 132.5 kB / 1.107 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004054/0.8034, allocations: 255.5 kB / 1.107 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/0.8034, allocations: 31.48 kB / 1.107 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.8036, allocations: 188 kB / 1.107 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.895e-05/0.8036, allocations: 70.92 kB / 1.107 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.003e-05/0.8037, allocations: 0 / 1.107 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.8038, allocations: 346.7 kB / 1.108 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.8041, allocations: 75.94 kB / 1.108 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002887/0.8044, allocations: 139.7 kB / 1.108 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/0.8046, allocations: 83.36 kB / 1.108 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.8046, allocations: 4 kB / 1.108 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006398/0.8053, allocations: 250.4 kB / 1.108 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001684/0.8055, allocations: 448.9 kB / 1.109 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.8055, allocations: 4 kB / 1.109 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.8055, allocations: 0 / 1.109 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005245/0.806, allocations: 67.89 kB / 1.109 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-06/0.8061, allocations: 4 kB / 1.109 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004081/0.8065, allocations: 35.83 kB / 1.109 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/0.8065, allocations: 19.98 kB / 1.109 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.8066, allocations: 10.75 kB / 1.109 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004969/0.8071, allocations: 170.3 kB / 1.109 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.8071, allocations: 4 kB / 1.109 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.939e-06/0.8071, allocations: 0 / 1.109 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003938/0.8075, allocations: 49.98 kB / 1.109 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.8075, allocations: 3.984 kB / 1.109 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002774/0.8078, allocations: 31.84 kB / 1.109 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.8078, allocations: 10.11 kB / 1.109 GB, free: 6.656 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 (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 0.0001144/0.808, allocations: 116.7 kB / 1.109 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.184e-05/0.808, allocations: 27.62 kB / 1.109 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.8082, allocations: 38.67 kB / 1.109 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.8082, allocations: 0 / 1.109 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.8082, allocations: 0 / 1.109 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.8082, allocations: 8 kB / 1.109 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001648/0.8099, allocations: 0.7856 MB / 1.11 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.8099, allocations: 0 / 1.11 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004529/0.8103, allocations: 47.97 kB / 1.11 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-05/0.8104, allocations: 4 kB / 1.11 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.912e-05/0.8104, allocations: 5.5 kB / 1.11 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.121e-05/0.8104, allocations: 12.11 kB / 1.11 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.8105, allocations: 7.938 kB / 1.11 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008484/0.8113, allocations: 0.5843 MB / 1.111 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.6e-05/0.8114, allocations: 116.7 kB / 1.111 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.236e-05/0.8115, allocations: 4 kB / 1.111 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004139/0.8119, allocations: 19.98 kB / 1.111 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.812, allocations: 23.89 kB / 1.111 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/0.812, allocations: 11.98 kB / 1.111 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0002883/0.8123, allocations: 199.1 kB / 1.111 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006938/0.813, allocations: 115.4 kB / 1.111 GB, free: 4.367 MB / 0.7136 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.0001797/0.8132, allocations: 112 kB / 1.111 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000785/0.814, allocations: 295 kB / 1.112 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.814, allocations: 0 / 1.112 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002144/0.8142, allocations: 87.86 kB / 1.112 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006951/0.8149, allocations: 56.17 kB / 1.112 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.8168, allocations: 0.5167 MB / 1.112 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005605/0.8173, allocations: 0.8348 MB / 1.113 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of SimCode: time 6.92e-07/0.8173, allocations: 4 kB / 1.113 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of Templates: time 0.01331/0.8307, allocations: 4.101 MB / 1.117 GB, free: 14.39 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1)