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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) [: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.386/1.386, allocations: 289.8 MB / 297.1 MB, free: 6.613 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.0009777/0.0009778, allocations: 184 kB / 366.3 MB, free: 1.934 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.098/1.098, allocations: 205.1 MB / 0.6256 GB, free: 7.398 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.0008753/0.0008751, allocations: 82.67 kB / 0.7395 GB, free: 39.81 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2187/0.2196, allocations: 122.4 MB / 0.8591 GB, free: 13.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4752/0.6947, allocations: 116.3 MB / 0.9727 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1457/0.8405, allocations: 138.9 MB / 1.108 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000179/0.8407, allocations: 71.95 kB / 1.108 GB, free: 11.52 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.01413/0.8548, allocations: 5.136 MB / 1.113 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.8549, allocations: 12 kB / 1.113 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.855, allocations: 35.64 kB / 1.113 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004815/0.8555, allocations: 286.5 kB / 1.114 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.27e-05/0.8556, allocations: 8 kB / 1.114 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.905e-05/0.8556, allocations: 20 kB / 1.114 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002901/0.8559, allocations: 160 kB / 1.114 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/0.8562, allocations: 193 kB / 1.114 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.8563, allocations: 0 / 1.114 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.8563, allocations: 8 kB / 1.114 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.8563, allocations: 7.984 kB / 1.114 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.8576, allocations: 0.7309 MB / 1.115 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.8579, allocations: 166.9 kB / 1.115 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.858, allocations: 109.2 kB / 1.115 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.8581, allocations: 192 / 1.115 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002529/0.8583, allocations: 185 kB / 1.115 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=27): time 1.413e-06/0.8583, allocations: 4 kB / 1.115 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of matching and sorting (n=27): time 0.0004644/0.8588, allocations: 277.7 kB / 1.116 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.8588, allocations: 59.39 kB / 1.116 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.859, allocations: 179.2 kB / 1.116 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.316e-05/0.859, allocations: 29.7 kB / 1.116 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.631e-05/0.8591, allocations: 120.5 kB / 1.116 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.788e-05/0.8592, allocations: 63.97 kB / 1.116 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.8592, allocations: 4 kB / 1.116 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.684e-05/0.8593, allocations: 346.7 kB / 1.116 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.8596, allocations: 132 kB / 1.116 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/0.8598, allocations: 176.1 kB / 1.117 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004223/0.8602, allocations: 160.7 kB / 1.117 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8603, allocations: 0 / 1.117 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007743/0.861, allocations: 385.9 kB / 1.117 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.8611, allocations: 4 kB / 1.117 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.8611, allocations: 1.5 kB / 1.117 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.8611, allocations: 8.125 kB / 1.117 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/0.8614, allocations: 70.02 kB / 1.117 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.8614, allocations: 4 kB / 1.117 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004827/0.8619, allocations: 115.8 kB / 1.117 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.472e-05/0.862, allocations: 19.91 kB / 1.117 GB, free: 2.203 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.000117/0.8621, allocations: 138.6 kB / 1.117 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.8621, allocations: 19.72 kB / 1.117 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.683e-05/0.8622, allocations: 22.64 kB / 1.117 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.8622, allocations: 4 kB / 1.117 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.8622, allocations: 0 / 1.117 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.8622, allocations: 0 / 1.117 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006242/0.8628, allocations: 0.6086 MB / 1.118 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.8628, allocations: 7.906 kB / 1.118 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.8631, allocations: 47.91 kB / 1.118 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.8631, allocations: 4 kB / 1.118 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.8631, allocations: 8.922 kB / 1.118 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.8631, allocations: 0 / 1.118 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.8631, allocations: 3.938 kB / 1.118 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004225/0.8636, allocations: 363.2 kB / 1.118 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004733/0.8641, allocations: 0.7469 MB / 1.119 GB, free: 160 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/0.8641, allocations: 92.86 kB / 1.119 GB, free: 48 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.888e-05/0.8642, allocations: 7.906 kB / 1.119 GB, free: 40 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.8644, allocations: 39.95 kB / 1.119 GB, free: 0 / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.562e-05/0.8645, allocations: 27.94 kB / 1.119 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.8645, allocations: 8 kB / 1.119 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.733e-05/0.8646, allocations: 154 kB / 1.12 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009206/0.8656, allocations: 67.84 kB / 1.12 GB, free: 15.75 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.0001863/0.8658, allocations: 123.9 kB / 1.12 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005185/0.8663, allocations: 367.2 kB / 1.12 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.8663, allocations: 0 / 1.12 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002018/0.8665, allocations: 143.9 kB / 1.12 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.8668, allocations: 33.17 kB / 1.12 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007612/0.8676, allocations: 368.3 kB / 1.121 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004158/0.868, allocations: 0.7787 MB / 1.121 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of SimCode: time 3.31e-07/0.868, allocations: 0 / 1.121 GB, free: 13.88 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)