Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.13/2.13, allocations: 284.9 MB / 292.2 MB, free: 10.77 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.001609/0.001608, allocations: 185.2 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.596/1.596, allocations: 205.1 MB / 0.6188 GB, free: 12.42 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.001226/0.001226, allocations: 93.5 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.304e-06/7.344e-06, allocations: 0 / 0.8503 GB, free: 3.84 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5371/0.5372, allocations: 115.2 MB / 0.9628 GB, free: 78.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2039/0.7411, allocations: 137.7 MB / 1.097 GB, free: 3.02 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.7414, allocations: 76.8 kB / 1.097 GB, free: 2.945 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.02322/0.7647, allocations: 4.545 MB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.025e-05/0.7648, allocations: 7.938 kB / 1.102 GB, free: 14.48 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.001323/0.7661, allocations: 0.5789 MB / 1.102 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.7661, allocations: 8.031 kB / 1.102 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.7663, allocations: 27.72 kB / 1.102 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006555/0.7669, allocations: 286.7 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.32e-05/0.767, allocations: 11.98 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.761e-05/0.7671, allocations: 28.64 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005025/0.7676, allocations: 152 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000498/0.7681, allocations: 189.2 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.7682, allocations: 0.6562 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.425e-05/0.7682, allocations: 11.98 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.7682, allocations: 4 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002017/0.7703, allocations: 0.733 MB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004282/0.7707, allocations: 162.9 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003112/0.771, allocations: 109.2 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.7711, allocations: 4.188 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004314/0.7715, allocations: 191 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=27): time 2.625e-06/0.7715, allocations: 0 / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=27): time 0.0007982/0.7723, allocations: 273.7 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.7724, allocations: 55.41 kB / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.7726, allocations: 190 kB / 1.105 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.708e-05/0.7727, allocations: 29.7 kB / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.7728, allocations: 116.5 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.256e-05/0.773, allocations: 63.14 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-05/0.773, allocations: 4 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.7732, allocations: 342.7 kB / 1.105 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000436/0.7736, allocations: 132 kB / 1.105 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004812/0.7741, allocations: 177.8 kB / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007643/0.7749, allocations: 148.4 kB / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.7749, allocations: 4 kB / 1.106 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001372/0.7763, allocations: 389.9 kB / 1.106 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.7763, allocations: 8 kB / 1.106 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.7763, allocations: 4.125 kB / 1.106 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.7764, allocations: 4.938 kB / 1.106 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005887/0.777, allocations: 67.89 kB / 1.106 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.777, allocations: 4 kB / 1.106 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009676/0.778, allocations: 111.8 kB / 1.106 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.736e-05/0.7781, allocations: 24.55 kB / 1.106 GB, free: 9.676 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: 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.0001743/0.7782, allocations: 138.4 kB / 1.106 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.77e-05/0.7783, allocations: 23.72 kB / 1.106 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.146e-05/0.7784, allocations: 22.64 kB / 1.106 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.7784, allocations: 4 kB / 1.106 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.7784, allocations: 0 / 1.106 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.7784, allocations: 3.984 kB / 1.106 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.7796, allocations: 0.6121 MB / 1.107 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.7796, allocations: 6.281 kB / 1.107 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004259/0.78, allocations: 51.91 kB / 1.107 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.78, allocations: 4 kB / 1.107 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.578e-05/0.7801, allocations: 3.984 kB / 1.107 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.738e-06/0.7801, allocations: 4 kB / 1.107 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.7801, allocations: 3.938 kB / 1.107 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007101/0.7808, allocations: 363.4 kB / 1.107 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-05/0.7809, allocations: 100.8 kB / 1.108 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.344e-05/0.781, allocations: 7.984 kB / 1.108 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000416/0.7814, allocations: 35.97 kB / 1.108 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.7816, allocations: 23.95 kB / 1.108 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.563e-05/0.7816, allocations: 19.98 kB / 1.108 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001665/0.7818, allocations: 144.5 kB / 1.108 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004951/0.7823, allocations: 71.92 kB / 1.108 GB, free: 7.977 MB / 0.7136 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.000212/0.7825, allocations: 115.2 kB / 1.108 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009572/0.7835, allocations: 367.2 kB / 1.108 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.7835, allocations: 4.25 kB / 1.108 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003721/0.7839, allocations: 143.9 kB / 1.108 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005094/0.7844, allocations: 33.34 kB / 1.109 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.7856, allocations: 368.2 kB / 1.109 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005626/0.7862, allocations: 0.7826 MB / 1.11 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of SimCode: time 7.31e-07/0.7862, allocations: 0 / 1.11 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of Templates: time 0.01142/0.7976, allocations: 4.051 MB / 1.114 GB, free: 2.164 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)