Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.355/1.355, allocations: 285.5 MB / 292.8 MB, free: 9.93 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.0008774/0.0008775, allocations: 181.2 kB / 361.1 MB, free: 392 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.032/1.032, allocations: 205.1 MB / 0.6195 GB, free: 2.945 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008019/0.0008019, allocations: 93.45 kB / 0.7326 GB, free: 1.125 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 5.971e-06/5.991e-06, allocations: 1.438 kB / 0.8511 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1487, allocations: 115.3 MB / 0.9637 GB, free: 56.38 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4143/0.5631, allocations: 137.7 MB / 1.098 GB, free: 44.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001674/0.5633, allocations: 69.67 kB / 1.098 GB, free: 44.3 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01053/0.5738, allocations: 3.98 MB / 1.102 GB, free: 44.07 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.5738, allocations: 3.875 kB / 1.102 GB, free: 44.07 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.0005185/0.5744, allocations: 0.5222 MB / 1.103 GB, free: 43.61 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.738e-05/0.5744, allocations: 13.62 kB / 1.103 GB, free: 43.61 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.598e-05/0.5745, allocations: 23.38 kB / 1.103 GB, free: 43.6 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.5747, allocations: 254.3 kB / 1.103 GB, free: 43.38 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.5747, allocations: 0.875 kB / 1.103 GB, free: 43.38 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.752e-05/0.5748, allocations: 22.02 kB / 1.103 GB, free: 43.38 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001191/0.5749, allocations: 49.12 kB / 1.103 GB, free: 43.38 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.575, allocations: 132.5 kB / 1.103 GB, free: 43.3 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.5751, allocations: 4 kB / 1.103 GB, free: 43.3 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.5751, allocations: 0 / 1.103 GB, free: 43.3 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-06/0.5751, allocations: 4.625 kB / 1.103 GB, free: 43.3 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008241/0.5759, allocations: 0.8746 MB / 1.104 GB, free: 42.71 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.395e-05/0.576, allocations: 116.1 kB / 1.104 GB, free: 42.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.651e-05/0.5761, allocations: 60.42 kB / 1.104 GB, free: 42.54 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.5761, allocations: 3.375 kB / 1.104 GB, free: 42.54 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001078/0.5762, allocations: 133.4 kB / 1.104 GB, free: 42.44 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.653e-06/0.5762, allocations: 3.625 kB / 1.104 GB, free: 42.44 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.000232/0.5765, allocations: 126.4 kB / 1.104 GB, free: 42.39 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.5765, allocations: 164.3 kB / 1.105 GB, free: 42.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.5766, allocations: 180 kB / 1.105 GB, free: 42.1 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.5767, allocations: 29.58 kB / 1.105 GB, free: 42.07 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.165e-05/0.5767, allocations: 115.1 kB / 1.105 GB, free: 41.97 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.5767, allocations: 27.09 kB / 1.105 GB, free: 41.95 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.142e-05/0.5768, allocations: 5.5 kB / 1.105 GB, free: 41.95 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.005e-05/0.5768, allocations: 330.2 kB / 1.105 GB, free: 41.64 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.5769, allocations: 72.47 kB / 1.105 GB, free: 41.64 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.5771, allocations: 135.1 kB / 1.105 GB, free: 41.57 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003215/0.5774, allocations: 99.14 kB / 1.105 GB, free: 41.56 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5774, allocations: 0 / 1.105 GB, free: 41.56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005607/0.578, allocations: 268.6 kB / 1.106 GB, free: 41.51 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.874e-06/0.578, allocations: 3.875 kB / 1.106 GB, free: 41.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.578, allocations: 1.188 kB / 1.106 GB, free: 41.51 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.578, allocations: 3.75 kB / 1.106 GB, free: 41.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.5782, allocations: 53.19 kB / 1.106 GB, free: 41.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.5782, allocations: 0 / 1.106 GB, free: 41.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004338/0.5787, allocations: 116 kB / 1.106 GB, free: 41.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/0.5787, allocations: 14.69 kB / 1.106 GB, free: 41.48 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 6.389e-05/0.5788, allocations: 116.7 kB / 1.106 GB, free: 41.37 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.5788, allocations: 15.56 kB / 1.106 GB, free: 41.36 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.74e-05/0.5789, allocations: 23.75 kB / 1.106 GB, free: 41.35 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.5789, allocations: 3.875 kB / 1.106 GB, free: 41.35 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5789, allocations: 0 / 1.106 GB, free: 41.35 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5789, allocations: 5.344 kB / 1.106 GB, free: 41.35 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.579, allocations: 215.4 kB / 1.106 GB, free: 41.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.579, allocations: 3.875 kB / 1.106 GB, free: 41.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.5792, allocations: 44.34 kB / 1.106 GB, free: 41.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.5792, allocations: 0 / 1.106 GB, free: 41.18 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.5792, allocations: 7.297 kB / 1.106 GB, free: 41.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5792, allocations: 0 / 1.106 GB, free: 41.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5792, allocations: 3.562 kB / 1.106 GB, free: 41.18 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001701/0.5794, allocations: 221.2 kB / 1.107 GB, free: 41 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.672e-05/0.5794, allocations: 98.67 kB / 1.107 GB, free: 40.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.5795, allocations: 0 / 1.107 GB, free: 40.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.5796, allocations: 37.89 kB / 1.107 GB, free: 40.88 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.5797, allocations: 13.45 kB / 1.107 GB, free: 40.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.5797, allocations: 6.125 kB / 1.107 GB, free: 40.88 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.239e-05/0.5798, allocations: 136.2 kB / 1.107 GB, free: 40.81 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002761/0.5801, allocations: 44.3 kB / 1.107 GB, free: 40.81 MB / 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.0001032/0.5802, allocations: 114.1 kB / 1.107 GB, free: 40.71 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000299/0.5805, allocations: 214.5 kB / 1.107 GB, free: 40.63 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5805, allocations: 0 / 1.107 GB, free: 40.63 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.197e-05/0.5806, allocations: 56.22 kB / 1.107 GB, free: 40.63 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.5808, allocations: 35.45 kB / 1.107 GB, free: 40.62 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003767/0.5812, allocations: 237.6 kB / 1.107 GB, free: 40.48 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003056/0.5815, allocations: 0.7511 MB / 1.108 GB, free: 55.77 MB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/0.5816, allocations: 0 / 1.108 GB, free: 55.77 MB / 0.7292 GB Notification: Performance of Templates: time 0.004241/0.5858, allocations: 2.656 MB / 1.111 GB, free: 55.59 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1)