Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") [: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.313/1.313, allocations: 289.8 MB / 297.1 MB, free: 6.594 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.0009497/0.0009496, allocations: 187.8 kB / 366.3 MB, free: 1.93 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.025/1.025, allocations: 205.1 MB / 0.6256 GB, free: 5.75 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.0008124/0.0008124, allocations: 88.77 kB / 0.7395 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.023e-06/7.043e-06, allocations: 4 kB / 0.859 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.425/0.425, allocations: 116.3 MB / 0.9726 GB, free: 68.28 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1366/0.5616, allocations: 138.9 MB / 1.108 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001935/0.5619, allocations: 72.64 kB / 1.108 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.013/0.5749, allocations: 4.539 MB / 1.113 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.5749, allocations: 7.938 kB / 1.113 GB, free: 4.938 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007711/0.5757, allocations: 0.5789 MB / 1.113 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.5757, allocations: 8.219 kB / 1.113 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.04e-05/0.5758, allocations: 31.72 kB / 1.113 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000406/0.5762, allocations: 294.4 kB / 1.114 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.5763, allocations: 15.98 kB / 1.114 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.147e-05/0.5763, allocations: 16 kB / 1.114 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002751/0.5766, allocations: 157.7 kB / 1.114 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002734/0.5769, allocations: 189 kB / 1.114 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.5769, allocations: 0 / 1.114 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.5769, allocations: 11.98 kB / 1.114 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.5769, allocations: 4 kB / 1.114 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.5781, allocations: 0.7348 MB / 1.115 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.5783, allocations: 162.9 kB / 1.115 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.5785, allocations: 105.2 kB / 1.115 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.5785, allocations: 4.188 kB / 1.115 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002401/0.5787, allocations: 197 kB / 1.115 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=27): time 1.433e-06/0.5788, allocations: 0 / 1.115 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of matching and sorting (n=27): time 0.0004379/0.5792, allocations: 273.7 kB / 1.115 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.5792, allocations: 55.41 kB / 1.115 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.5794, allocations: 187.2 kB / 1.116 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.5794, allocations: 29.7 kB / 1.116 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.583e-05/0.5795, allocations: 120.5 kB / 1.116 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.133e-05/0.5796, allocations: 63.14 kB / 1.116 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.5796, allocations: 8 kB / 1.116 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.593e-05/0.5797, allocations: 334.7 kB / 1.116 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.5799, allocations: 132.9 kB / 1.116 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002468/0.5802, allocations: 180.1 kB / 1.116 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.5806, allocations: 155.9 kB / 1.117 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5806, allocations: 0 / 1.117 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007249/0.5813, allocations: 394 kB / 1.117 GB, free: 336 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.936e-06/0.5813, allocations: 8 kB / 1.117 GB, free: 328 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.5813, allocations: 0 / 1.117 GB, free: 328 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.5814, allocations: 4 kB / 1.117 GB, free: 324 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002998/0.5817, allocations: 67.92 kB / 1.117 GB, free: 256 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.5817, allocations: 0 / 1.117 GB, free: 256 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004713/0.5822, allocations: 116.8 kB / 1.117 GB, free: 140 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-05/0.5822, allocations: 27.02 kB / 1.117 GB, free: 116 kB / 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: 24 ($whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition6,$whenCondition1,$PRE.extIndSig.index,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],$PRE.pul.booPul.y,pul.booPul.y,$PRE.pul1.booPul.y,pul1.booPul.y,$PRE.extIndSig1.index,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001178/0.5823, allocations: 130.7 kB / 1.117 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.66e-05/0.5824, allocations: 23.72 kB / 1.117 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.437e-05/0.5824, allocations: 22.64 kB / 1.117 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.5824, allocations: 4 kB / 1.117 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.5824, allocations: 4 kB / 1.117 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.5825, allocations: 0 / 1.117 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000582/0.583, allocations: 0.6008 MB / 1.118 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.5831, allocations: 3.906 kB / 1.118 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/0.5833, allocations: 59.89 kB / 1.118 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.5833, allocations: 0.9375 kB / 1.118 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.5833, allocations: 7.984 kB / 1.118 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.5833, allocations: 0 / 1.118 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.5833, allocations: 3.828 kB / 1.118 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003842/0.5837, allocations: 367.4 kB / 1.118 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-05/0.5838, allocations: 104.8 kB / 1.118 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.703e-05/0.5838, allocations: 7.984 kB / 1.118 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.5841, allocations: 27.97 kB / 1.119 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.4e-05/0.5841, allocations: 27.95 kB / 1.119 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.5842, allocations: 15.98 kB / 1.119 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.183e-05/0.5843, allocations: 148 kB / 1.119 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003026/0.5846, allocations: 67.92 kB / 1.119 GB, free: 14.42 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition6,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.booPul.y,pul1.booPul.y,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 2 (extIndSig.index,extIndSig1.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.0001412/0.5847, allocations: 123.2 kB / 1.119 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005154/0.5853, allocations: 375.2 kB / 1.119 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.5853, allocations: 0 / 1.119 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.5855, allocations: 135.9 kB / 1.119 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.5857, allocations: 32.72 kB / 1.119 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006701/0.5864, allocations: 377.8 kB / 1.12 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003361/0.5868, allocations: 0.7747 MB / 1.121 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/0.5868, allocations: 4 kB / 1.121 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of Templates: time 0.00626/0.593, allocations: 4.039 MB / 1.124 GB, free: 8.582 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)