Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [: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.337/1.337, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.0009359/0.000936, allocations: 185.2 kB / 366.3 MB, free: 1.973 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.057/1.057, allocations: 205.1 MB / 0.6256 GB, free: 5.883 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.0007907/0.0007907, allocations: 92.27 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.291e-06/6.301e-06, allocations: 0 / 0.859 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4365/0.4366, allocations: 116.3 MB / 0.9726 GB, free: 68.73 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1377/0.5743, allocations: 138.6 MB / 1.108 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001823/0.5745, allocations: 79.75 kB / 1.108 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.0115/0.586, allocations: 3.975 MB / 1.112 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.586, allocations: 4 kB / 1.112 GB, free: 5.789 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006198/0.5866, allocations: 0.5285 MB / 1.112 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.572e-05/0.5867, allocations: 12.03 kB / 1.112 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.945e-05/0.5867, allocations: 19.81 kB / 1.112 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.587, allocations: 250.5 kB / 1.113 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.587, allocations: 4 kB / 1.113 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.923e-05/0.5871, allocations: 17.31 kB / 1.113 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001298/0.5872, allocations: 55.92 kB / 1.113 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.5874, allocations: 122.8 kB / 1.113 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.5874, allocations: 0 / 1.113 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.5874, allocations: 4 kB / 1.113 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.5874, allocations: 3.906 kB / 1.113 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009731/0.5884, allocations: 0.8804 MB / 1.114 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.5885, allocations: 121.1 kB / 1.114 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.678e-05/0.5886, allocations: 52.34 kB / 1.114 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.5886, allocations: 7.938 kB / 1.114 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001417/0.5888, allocations: 131.5 kB / 1.114 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.5888, allocations: 3.938 kB / 1.114 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0002371/0.589, allocations: 121.4 kB / 1.114 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/0.5891, allocations: 158.2 kB / 1.114 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.5893, allocations: 174.5 kB / 1.115 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.5893, allocations: 33.8 kB / 1.115 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.92e-05/0.5894, allocations: 116.2 kB / 1.115 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.5894, allocations: 27.61 kB / 1.115 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/0.5894, allocations: 4 kB / 1.115 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.5895, allocations: 326.8 kB / 1.115 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.5897, allocations: 77.11 kB / 1.115 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.5899, allocations: 135.7 kB / 1.115 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/0.5902, allocations: 99.91 kB / 1.115 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5902, allocations: 0 / 1.115 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005945/0.5908, allocations: 265.2 kB / 1.116 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/0.5909, allocations: 4 kB / 1.116 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.5909, allocations: 10.09 kB / 1.116 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.5909, allocations: 4.219 kB / 1.116 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.5911, allocations: 43.95 kB / 1.116 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.5911, allocations: 0 / 1.116 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004437/0.5915, allocations: 115.8 kB / 1.116 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/0.5916, allocations: 17.77 kB / 1.116 GB, free: 1.535 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.pul1.booPul.y,pul1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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 9.467e-05/0.5917, allocations: 117.4 kB / 1.116 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.5917, allocations: 19.8 kB / 1.116 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.978e-05/0.5918, allocations: 17.03 kB / 1.116 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.5918, allocations: 4 kB / 1.116 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.5918, allocations: 0 / 1.116 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.5918, allocations: 7.984 kB / 1.116 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.592, allocations: 214 kB / 1.116 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.592, allocations: 4 kB / 1.116 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.5922, allocations: 43.91 kB / 1.116 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.5922, allocations: 0 / 1.116 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.5922, allocations: 11.98 kB / 1.116 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5922, allocations: 0 / 1.116 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.5922, allocations: 8 kB / 1.116 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002249/0.5924, allocations: 211.7 kB / 1.116 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.321e-05/0.5925, allocations: 96.86 kB / 1.116 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.5925, allocations: 7.891 kB / 1.116 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.5927, allocations: 35.97 kB / 1.116 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.5927, allocations: 11.98 kB / 1.117 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.5928, allocations: 9.125 kB / 1.117 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.251e-05/0.5929, allocations: 136.6 kB / 1.117 GB, free: 484 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000256/0.5931, allocations: 44 kB / 1.117 GB, free: 440 kB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001363/0.5933, allocations: 121.4 kB / 1.117 GB, free: 308 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003146/0.5936, allocations: 207.2 kB / 1.117 GB, free: 88 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5936, allocations: 0 / 1.117 GB, free: 88 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.5937, allocations: 51.94 kB / 1.117 GB, free: 36 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.594, allocations: 42.73 kB / 1.117 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004236/0.5944, allocations: 219.2 kB / 1.117 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002986/0.5947, allocations: 0.7583 MB / 1.118 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/0.5947, allocations: 0 / 1.118 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of Templates: time 0.004903/0.5996, allocations: 2.666 MB / 1.121 GB, free: 12.37 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1)