Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.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.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") [: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.323/1.323, allocations: 285.5 MB / 292.8 MB, free: 10.52 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.000903/0.0009031, allocations: 181.3 kB / 361.1 MB, free: 7.094 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.042/1.042, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0007901/0.0007899, allocations: 92.67 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.953e-06/6.963e-06, allocations: 4 kB / 0.8511 GB, free: 2.949 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4323/0.4324, allocations: 115.3 MB / 0.9637 GB, free: 78.13 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1387/0.5711, allocations: 137.4 MB / 1.098 GB, free: 2.754 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001889/0.5714, allocations: 71.95 kB / 1.098 GB, free: 2.684 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.008315/0.5797, allocations: 2.631 MB / 1.1 GB, free: 124 kB / 0.698 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.5797, allocations: 0 / 1.1 GB, free: 124 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003695/0.5801, allocations: 409.7 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.5801, allocations: 8.031 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.806e-05/0.5802, allocations: 11.91 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.5803, allocations: 171 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.5803, allocations: 0 / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/0.5804, allocations: 12 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.293e-05/0.5804, allocations: 11.94 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.065e-05/0.5805, allocations: 55.03 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.5805, allocations: 3.984 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.5806, allocations: 0 / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.5806, allocations: 4 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004344/0.581, allocations: 333.2 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.672e-05/0.5811, allocations: 30.58 kB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.472e-05/0.5811, allocations: 12.86 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.556e-06/0.5811, allocations: 6.156 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.878e-05/0.5812, allocations: 79.42 kB / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.654e-06/0.5812, allocations: 0 / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002116/0.5814, allocations: 81.58 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.5815, allocations: 51.41 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.897e-05/0.5816, allocations: 122.6 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.5816, allocations: 29.7 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.28e-05/0.5817, allocations: 88.38 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.5817, allocations: 19.8 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.823e-05/0.5817, allocations: 8 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.429e-05/0.5818, allocations: 318.8 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.5819, allocations: 59.92 kB / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.5821, allocations: 102 kB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003301/0.5824, allocations: 78.67 kB / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.5824, allocations: 0 / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005552/0.583, allocations: 213.4 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.583, allocations: 7.984 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.583, allocations: 4 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.583, allocations: 4 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.612e-05/0.5831, allocations: 7.938 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.5831, allocations: 3.938 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003558/0.5835, allocations: 80.09 kB / 1.103 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/0.5835, allocations: 19.89 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.onCounter.y,onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$PRE.reset.y,reset.y,$whenCondition1,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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 8.206e-05/0.5836, allocations: 111.4 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.5836, allocations: 7.906 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/0.5836, allocations: 13.88 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.5837, allocations: 1.438 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.5837, allocations: 3.984 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.5837, allocations: 0 / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.5839, allocations: 311 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5839, allocations: 0 / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.134e-05/0.5839, allocations: 7.922 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.584, allocations: 4 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.584, allocations: 4 kB / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.584, allocations: 0 / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.584, allocations: 1.312 kB / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001458/0.5841, allocations: 176.7 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.423e-05/0.5842, allocations: 81.02 kB / 1.103 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.5842, allocations: 8.031 kB / 1.103 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.87e-05/0.5843, allocations: 0 / 1.103 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/0.5843, allocations: 19.88 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.5843, allocations: 0.6562 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.402e-05/0.5844, allocations: 94 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002827/0.5847, allocations: 35.94 kB / 1.104 GB, free: 12.55 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: 9 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * Number of discrete states: 1 (onCounter.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001492/0.5848, allocations: 115 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002642/0.5851, allocations: 167.3 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5851, allocations: 1.156 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.938e-05/0.5852, allocations: 35.94 kB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.5854, allocations: 12.73 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002598/0.5857, allocations: 100.3 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002312/0.5859, allocations: 0.7075 MB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.5859, allocations: 0 / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of Templates: time 0.00375/0.5897, allocations: 1.667 MB / 1.106 GB, free: 9.754 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1)