Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.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.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") [: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.335/1.335, allocations: 285.5 MB / 292.8 MB, free: 1.008 MB / 227.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009687/0.0009687, allocations: 183.4 kB / 361.1 MB, free: 15.43 MB / 291.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.002/1.002, allocations: 205.1 MB / 0.6195 GB, free: 6.121 MB / 467.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007731/0.0007731, allocations: 96.62 kB / 0.7326 GB, free: 47.07 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 7.915e-06/7.995e-06, allocations: 4 kB / 0.8511 GB, free: 13.04 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4247/0.4247, allocations: 115.3 MB / 0.9637 GB, free: 85.86 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1303/0.5551, allocations: 137.4 MB / 1.098 GB, free: 12.38 MB / 0.7061 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00018/0.5553, allocations: 76.61 kB / 1.098 GB, free: 12.3 MB / 0.7061 GB Notification: Performance of FrontEnd: time 0.005322/0.5606, allocations: 1.682 MB / 1.1 GB, free: 10.67 MB / 0.7061 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.5607, allocations: 0.6875 kB / 1.1 GB, free: 10.67 MB / 0.7061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002991/0.561, allocations: 384.7 kB / 1.1 GB, free: 10.24 MB / 0.7061 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.561, allocations: 8.031 kB / 1.1 GB, free: 10.23 MB / 0.7061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.5611, allocations: 4.812 kB / 1.1 GB, free: 10.23 MB / 0.7061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.5612, allocations: 182.9 kB / 1.1 GB, free: 10.01 MB / 0.7061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.5612, allocations: 4.734 kB / 1.1 GB, free: 10.01 MB / 0.7061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.5612, allocations: 4 kB / 1.1 GB, free: 10 MB / 0.7061 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.877e-05/0.5613, allocations: 19.98 kB / 1.1 GB, free: 9.984 MB / 0.7061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.163e-05/0.5614, allocations: 37.7 kB / 1.1 GB, free: 9.941 MB / 0.7061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.5614, allocations: 6.156 kB / 1.1 GB, free: 9.938 MB / 0.7061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.5614, allocations: 0 / 1.1 GB, free: 9.938 MB / 0.7061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.5614, allocations: 3.984 kB / 1.1 GB, free: 9.934 MB / 0.7061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000369/0.5618, allocations: 305.3 kB / 1.1 GB, free: 9.598 MB / 0.7061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.032e-05/0.5618, allocations: 34.58 kB / 1.1 GB, free: 9.555 MB / 0.7061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.5619, allocations: 15.38 kB / 1.101 GB, free: 9.539 MB / 0.7061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.5619, allocations: 0 / 1.101 GB, free: 9.539 MB / 0.7061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.41e-05/0.562, allocations: 55.41 kB / 1.101 GB, free: 9.473 MB / 0.7061 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.562, allocations: 0 / 1.101 GB, free: 9.473 MB / 0.7061 GB Notification: Performance of matching and sorting (n=4): time 0.00014/0.5621, allocations: 53.55 kB / 1.101 GB, free: 9.414 MB / 0.7061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.5621, allocations: 59.39 kB / 1.101 GB, free: 9.344 MB / 0.7061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.31e-05/0.5622, allocations: 118.7 kB / 1.101 GB, free: 9.227 MB / 0.7061 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.5623, allocations: 29.7 kB / 1.101 GB, free: 9.191 MB / 0.7061 GB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/0.5623, allocations: 88.12 kB / 1.101 GB, free: 9.102 MB / 0.7061 GB Notification: Performance of collectInitialBindings (initialization): time 1.273e-05/0.5623, allocations: 7.906 kB / 1.101 GB, free: 9.094 MB / 0.7061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.056e-05/0.5623, allocations: 0 / 1.101 GB, free: 9.094 MB / 0.7061 GB Notification: Performance of setup shared object (initialization): time 8.755e-05/0.5624, allocations: 318.8 kB / 1.101 GB, free: 8.773 MB / 0.7061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.827e-05/0.5625, allocations: 35.98 kB / 1.101 GB, free: 8.738 MB / 0.7061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.719e-05/0.5626, allocations: 50.58 kB / 1.101 GB, free: 8.68 MB / 0.7061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.5628, allocations: 43.95 kB / 1.101 GB, free: 8.637 MB / 0.7061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5628, allocations: 0 / 1.101 GB, free: 8.637 MB / 0.7061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002975/0.5631, allocations: 129.5 kB / 1.101 GB, free: 8.504 MB / 0.7061 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.5631, allocations: 9.562 kB / 1.101 GB, free: 8.496 MB / 0.7061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.5631, allocations: 0 / 1.101 GB, free: 8.496 MB / 0.7061 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.5631, allocations: 1.656 kB / 1.101 GB, free: 8.496 MB / 0.7061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.915e-05/0.5632, allocations: 9.5 kB / 1.101 GB, free: 8.488 MB / 0.7061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.5632, allocations: 3.938 kB / 1.101 GB, free: 8.484 MB / 0.7061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.5634, allocations: 39.97 kB / 1.102 GB, free: 8.445 MB / 0.7061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.5634, allocations: 11.92 kB / 1.102 GB, free: 8.434 MB / 0.7061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.657e-05/0.5635, allocations: 116.7 kB / 1.102 GB, free: 8.312 MB / 0.7061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.107e-05/0.5635, allocations: 4 kB / 1.102 GB, free: 8.309 MB / 0.7061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.457e-05/0.5635, allocations: 4 kB / 1.102 GB, free: 8.301 MB / 0.7061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.5635, allocations: 3.906 kB / 1.102 GB, free: 8.297 MB / 0.7061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.5636, allocations: 0 / 1.102 GB, free: 8.297 MB / 0.7061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.5636, allocations: 4 kB / 1.102 GB, free: 8.293 MB / 0.7061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.755e-05/0.5637, allocations: 162.1 kB / 1.102 GB, free: 8.098 MB / 0.7061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.5637, allocations: 0 / 1.102 GB, free: 8.098 MB / 0.7061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.787e-05/0.5637, allocations: 1.781 kB / 1.102 GB, free: 8.098 MB / 0.7061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.5637, allocations: 0 / 1.102 GB, free: 8.098 MB / 0.7061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.5637, allocations: 4.875 kB / 1.102 GB, free: 8.094 MB / 0.7061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5637, allocations: 0 / 1.102 GB, free: 8.094 MB / 0.7061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5637, allocations: 0 / 1.102 GB, free: 8.094 MB / 0.7061 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.772e-05/0.5638, allocations: 89.05 kB / 1.102 GB, free: 7.988 MB / 0.7061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.446e-05/0.5639, allocations: 89 kB / 1.102 GB, free: 7.883 MB / 0.7061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.5639, allocations: 4 kB / 1.102 GB, free: 7.879 MB / 0.7061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.051e-05/0.5639, allocations: 2.438 kB / 1.102 GB, free: 7.879 MB / 0.7061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.205e-05/0.5639, allocations: 3.906 kB / 1.102 GB, free: 7.875 MB / 0.7061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.564, allocations: 4 kB / 1.102 GB, free: 7.871 MB / 0.7061 GB Notification: Performance of sort global known variables: time 6.549e-05/0.564, allocations: 91.27 kB / 1.102 GB, free: 7.781 MB / 0.7061 GB Notification: Performance of remove unused functions: time 0.0002055/0.5642, allocations: 24 kB / 1.102 GB, free: 7.758 MB / 0.7061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001341/0.5644, allocations: 111.2 kB / 1.102 GB, free: 7.641 MB / 0.7061 GB Notification: Performance of simCode: created initialization part: time 0.0001621/0.5645, allocations: 93.62 kB / 1.102 GB, free: 7.543 MB / 0.7061 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.5646, allocations: 0 / 1.102 GB, free: 7.543 MB / 0.7061 GB Notification: Performance of simCode: created simulation system equations: time 3.122e-05/0.5646, allocations: 12 kB / 1.102 GB, free: 7.531 MB / 0.7061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.5648, allocations: 9.125 kB / 1.102 GB, free: 7.523 MB / 0.7061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002025/0.565, allocations: 88.56 kB / 1.102 GB, free: 7.41 MB / 0.7061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002172/0.5652, allocations: 0.7034 MB / 1.103 GB, free: 6.684 MB / 0.7061 GB Notification: Performance of SimCode: time 3.11e-07/0.5652, allocations: 0 / 1.103 GB, free: 6.684 MB / 0.7061 GB Notification: Performance of Templates: time 0.002877/0.5681, allocations: 1.118 MB / 1.104 GB, free: 5.629 MB / 0.7061 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1)