Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.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.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.364/1.364, allocations: 289.8 MB / 297.1 MB, free: 6.602 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.0009252/0.0009253, allocations: 173.3 kB / 366.3 MB, free: 1.898 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.054/1.054, allocations: 205.1 MB / 0.6256 GB, free: 5.746 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.0008151/0.0008153, allocations: 85.34 kB / 0.7396 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.324e-06/7.434e-06, allocations: 4 kB / 0.859 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4481/0.4482, allocations: 116.3 MB / 0.9726 GB, free: 68.89 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1453/0.5935, allocations: 138.3 MB / 1.108 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001808/0.5937, allocations: 79.88 kB / 1.108 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.0079/0.6016, allocations: 2.628 MB / 1.11 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.6017, allocations: 5.688 kB / 1.11 GB, free: 7.461 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003646/0.602, allocations: 406.2 kB / 1.111 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.6021, allocations: 8.031 kB / 1.111 GB, free: 7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.101e-05/0.6021, allocations: 11.91 kB / 1.111 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.6022, allocations: 167.1 kB / 1.111 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.6023, allocations: 0 / 1.111 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.6023, allocations: 16 kB / 1.111 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.069e-05/0.6024, allocations: 11.94 kB / 1.111 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.626e-05/0.6025, allocations: 53.53 kB / 1.111 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.6025, allocations: 4 kB / 1.111 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.6025, allocations: 3.984 kB / 1.111 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.6025, allocations: 0 / 1.111 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004706/0.603, allocations: 333.3 kB / 1.111 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.257e-05/0.603, allocations: 34.58 kB / 1.111 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.374e-05/0.6031, allocations: 8.859 kB / 1.111 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.97e-06/0.6031, allocations: 8 kB / 1.111 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.834e-05/0.6032, allocations: 76.08 kB / 1.111 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 3.065e-06/0.6032, allocations: 3.984 kB / 1.111 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0001795/0.6034, allocations: 86.55 kB / 1.111 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.6034, allocations: 55.41 kB / 1.112 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.579e-05/0.6035, allocations: 115.1 kB / 1.112 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.6035, allocations: 33.7 kB / 1.112 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.374e-05/0.6036, allocations: 88.38 kB / 1.112 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.6036, allocations: 19.8 kB / 1.112 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.804e-05/0.6036, allocations: 4 kB / 1.112 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.416e-05/0.6037, allocations: 318.8 kB / 1.112 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.6039, allocations: 56.92 kB / 1.112 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.604, allocations: 98 kB / 1.112 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003011/0.6043, allocations: 79.86 kB / 1.112 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6043, allocations: 0 / 1.112 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005025/0.6048, allocations: 209.4 kB / 1.113 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.6048, allocations: 4 kB / 1.113 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.6049, allocations: 7.984 kB / 1.113 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.6049, allocations: 4 kB / 1.113 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.161e-05/0.6049, allocations: 11.94 kB / 1.113 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.6049, allocations: 3.938 kB / 1.113 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003201/0.6053, allocations: 80.94 kB / 1.113 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/0.6053, allocations: 15.89 kB / 1.113 GB, free: 4.84 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.468e-05/0.6054, allocations: 121.7 kB / 1.113 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.6054, allocations: 3.906 kB / 1.113 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/0.6055, allocations: 12.38 kB / 1.113 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.6055, allocations: 0 / 1.113 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.6055, allocations: 0 / 1.113 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.6055, allocations: 3.984 kB / 1.113 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.6057, allocations: 315.7 kB / 1.113 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.6057, allocations: 4 kB / 1.113 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.135e-06/0.6057, allocations: 1.031 kB / 1.113 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.6058, allocations: 3.984 kB / 1.113 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.6058, allocations: 4 kB / 1.113 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.6058, allocations: 0 / 1.113 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6058, allocations: 0 / 1.113 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001514/0.6059, allocations: 180.1 kB / 1.113 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.311e-05/0.606, allocations: 85.02 kB / 1.113 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.606, allocations: 0 / 1.113 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.318e-05/0.6061, allocations: 4 kB / 1.113 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.6061, allocations: 11.89 kB / 1.113 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.6061, allocations: 0 / 1.113 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.947e-05/0.6062, allocations: 95.92 kB / 1.113 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000261/0.6064, allocations: 31.94 kB / 1.113 GB, free: 3.898 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.0001386/0.6066, allocations: 111.2 kB / 1.114 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002537/0.6068, allocations: 171.5 kB / 1.114 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.6068, allocations: 4.062 kB / 1.114 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.128e-05/0.6069, allocations: 28.66 kB / 1.114 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.6071, allocations: 15.53 kB / 1.114 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000233/0.6073, allocations: 103.4 kB / 1.114 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002553/0.6076, allocations: 0.7036 MB / 1.115 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.6076, allocations: 4 kB / 1.115 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of Templates: time 0.003508/0.6111, allocations: 1.664 MB / 1.116 GB, free: 1.082 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1)