Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.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.LimPIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.516/1.516, allocations: 289.8 MB / 297.1 MB, free: 6.629 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.001191/0.001191, allocations: 192 kB / 366.3 MB, free: 1.918 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.274/1.274, allocations: 205.1 MB / 0.6256 GB, free: 5.762 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.0008778/0.0008778, allocations: 92.61 kB / 0.7396 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.131e-06/6.141e-06, allocations: 0 / 0.859 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5575/0.5575, allocations: 116.3 MB / 0.9726 GB, free: 68.4 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1709/0.7285, allocations: 141.8 MB / 1.111 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002076/0.7287, allocations: 87.92 kB / 1.111 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01897/0.7477, allocations: 7.789 MB / 1.119 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.741e-05/0.7478, allocations: 12 kB / 1.119 GB, free: 14.72 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0009484/0.7487, allocations: 0.6503 MB / 1.119 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.7488, allocations: 8.031 kB / 1.119 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.7489, allocations: 63.23 kB / 1.119 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006465/0.7495, allocations: 360.5 kB / 1.12 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.7496, allocations: 12 kB / 1.12 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.311e-05/0.7496, allocations: 28 kB / 1.12 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004127/0.7501, allocations: 233.9 kB / 1.12 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004992/0.7506, allocations: 328.7 kB / 1.12 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.7506, allocations: 0 / 1.12 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.111e-05/0.7506, allocations: 3.906 kB / 1.12 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.7506, allocations: 12 kB / 1.12 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001693/0.7523, allocations: 1.233 MB / 1.122 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006805/0.753, allocations: 267.4 kB / 1.122 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/0.7532, allocations: 112.8 kB / 1.122 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.7533, allocations: 4 kB / 1.122 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/0.7535, allocations: 166.6 kB / 1.122 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=28): time 1.393e-06/0.7535, allocations: 4.938 kB / 1.122 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=28): time 0.000408/0.7539, allocations: 219.2 kB / 1.122 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.171e-05/0.754, allocations: 132.5 kB / 1.122 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/0.7543, allocations: 278.1 kB / 1.123 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.7543, allocations: 25.7 kB / 1.123 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.7544, allocations: 212 kB / 1.123 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.581e-05/0.7545, allocations: 90.66 kB / 1.123 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.334e-05/0.7545, allocations: 3.938 kB / 1.123 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.7547, allocations: 354.7 kB / 1.123 GB, free: 9.742 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.7549, allocations: 76 kB / 1.123 GB, free: 9.668 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.755, allocations: 158.1 kB / 1.124 GB, free: 9.484 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.7552, allocations: 102.9 kB / 1.124 GB, free: 9.387 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7552, allocations: 3.938 kB / 1.124 GB, free: 9.383 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004113/0.7556, allocations: 276.1 kB / 1.124 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001967/0.7558, allocations: 0.5253 MB / 1.125 GB, free: 8.543 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.7559, allocations: 4.562 kB / 1.125 GB, free: 8.539 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.7559, allocations: 4 kB / 1.125 GB, free: 8.535 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/0.7562, allocations: 75.89 kB / 1.125 GB, free: 8.461 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.7562, allocations: 7.938 kB / 1.125 GB, free: 8.453 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.7564, allocations: 39.83 kB / 1.125 GB, free: 8.414 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.7565, allocations: 19.89 kB / 1.125 GB, free: 8.395 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.085e-06/0.7565, allocations: 5.031 kB / 1.125 GB, free: 8.391 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003246/0.7568, allocations: 202.6 kB / 1.125 GB, free: 8.195 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.7568, allocations: 12.11 kB / 1.125 GB, free: 8.184 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.186e-06/0.7569, allocations: 0 / 1.125 GB, free: 8.184 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.7571, allocations: 55.92 kB / 1.125 GB, free: 8.129 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.7571, allocations: 3.938 kB / 1.125 GB, free: 8.125 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.7572, allocations: 31.77 kB / 1.125 GB, free: 8.094 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.7573, allocations: 15.94 kB / 1.125 GB, free: 8.078 MB / 0.7292 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 9.619e-05/0.7574, allocations: 112.8 kB / 1.125 GB, free: 7.961 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.794e-05/0.7574, allocations: 35.62 kB / 1.125 GB, free: 7.926 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.821e-05/0.7575, allocations: 38.98 kB / 1.125 GB, free: 7.887 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.7575, allocations: 8.469 kB / 1.125 GB, free: 7.879 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.7575, allocations: 0 / 1.125 GB, free: 7.879 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.7576, allocations: 0 / 1.125 GB, free: 7.879 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.7587, allocations: 0.8702 MB / 1.126 GB, free: 6.938 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-06/0.7587, allocations: 4 kB / 1.126 GB, free: 6.934 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002716/0.759, allocations: 68.17 kB / 1.126 GB, free: 6.867 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.759, allocations: 5.219 kB / 1.126 GB, free: 6.863 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.759, allocations: 4 kB / 1.126 GB, free: 6.859 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.759, allocations: 7.938 kB / 1.126 GB, free: 6.852 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.759, allocations: 4 kB / 1.126 GB, free: 6.848 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006457/0.7597, allocations: 0.6756 MB / 1.127 GB, free: 6.07 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.042e-05/0.7598, allocations: 124.6 kB / 1.127 GB, free: 5.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.551e-05/0.7598, allocations: 7.938 kB / 1.127 GB, free: 5.922 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003047/0.7601, allocations: 23.97 kB / 1.127 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.7602, allocations: 15.98 kB / 1.127 GB, free: 5.883 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.7602, allocations: 12 kB / 1.127 GB, free: 5.871 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002326/0.7604, allocations: 220.6 kB / 1.127 GB, free: 5.656 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005103/0.761, allocations: 131.3 kB / 1.127 GB, free: 5.527 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.0001606/0.7611, allocations: 114.1 kB / 1.127 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005314/0.7617, allocations: 349.8 kB / 1.128 GB, free: 5.074 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.7617, allocations: 0 / 1.128 GB, free: 5.074 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.7618, allocations: 95.88 kB / 1.128 GB, free: 4.98 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004786/0.7623, allocations: 77.17 kB / 1.128 GB, free: 4.914 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.7636, allocations: 0.5777 MB / 1.128 GB, free: 4.27 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005078/0.7641, allocations: 0.862 MB / 1.129 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/0.7641, allocations: 3.938 kB / 1.129 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of Templates: time 0.009647/0.7737, allocations: 4.675 MB / 1.134 GB, free: 14.77 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.makefile (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & ./Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1)