Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.162/2.162, allocations: 284.9 MB / 292.2 MB, free: 10.76 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00213/0.00213, allocations: 185.2 kB / 360.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.1 MB / 0.6188 GB, free: 12.43 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001166/0.001166, allocations: 95.27 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.24e-05/1.25e-05, allocations: 4 kB / 0.8503 GB, free: 3.84 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5252/0.5252, allocations: 115.2 MB / 0.9628 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2016/0.7268, allocations: 137.2 MB / 1.097 GB, free: 3.578 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.7272, allocations: 69.12 kB / 1.097 GB, free: 3.512 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01408/0.7413, allocations: 2.636 MB / 1.099 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.7413, allocations: 0 / 1.099 GB, free: 0.9492 MB / 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.0004357/0.7418, allocations: 406.4 kB / 1.1 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.7418, allocations: 10 kB / 1.1 GB, free: 500 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.14e-05/0.7419, allocations: 11.91 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.742, allocations: 167.6 kB / 1.1 GB, free: 280 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.7421, allocations: 4 kB / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.328e-05/0.7421, allocations: 12 kB / 1.1 GB, free: 264 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.473e-05/0.7422, allocations: 15.94 kB / 1.1 GB, free: 248 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.7423, allocations: 45.59 kB / 1.1 GB, free: 196 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.7423, allocations: 0.6094 kB / 1.1 GB, free: 196 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.7424, allocations: 3.984 kB / 1.1 GB, free: 192 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.7424, allocations: 0 / 1.1 GB, free: 192 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005873/0.743, allocations: 345.2 kB / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.379e-05/0.7431, allocations: 31.23 kB / 1.1 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.747e-05/0.7431, allocations: 16.86 kB / 1.1 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.7432, allocations: 0 / 1.1 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001231/0.7433, allocations: 67.48 kB / 1.1 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.7433, allocations: 0 / 1.1 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002758/0.7436, allocations: 90.17 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.7437, allocations: 55.41 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.7438, allocations: 123.7 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.724e-05/0.7439, allocations: 29.7 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.447e-05/0.744, allocations: 92.38 kB / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.744, allocations: 15.8 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/0.744, allocations: 4 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.7442, allocations: 322.8 kB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/0.7444, allocations: 51.98 kB / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/0.7447, allocations: 101.9 kB / 1.101 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005058/0.7452, allocations: 73.8 kB / 1.101 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.7452, allocations: 8 kB / 1.101 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0008849/0.7461, allocations: 213.9 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.7461, allocations: 4 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.7462, allocations: 0 / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.7462, allocations: 4 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.99e-05/0.7462, allocations: 8.141 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.7463, allocations: 11.88 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006461/0.7469, allocations: 82.12 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.626e-05/0.747, allocations: 19.89 kB / 1.102 GB, free: 14.32 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 0.0001048/0.7471, allocations: 112.8 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/0.7471, allocations: 8.422 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.816e-05/0.7472, allocations: 8.375 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.7472, allocations: 4 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.7472, allocations: 0 / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.7472, allocations: 3.984 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003347/0.7476, allocations: 315.5 kB / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.7476, allocations: 3.75 kB / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.247e-05/0.7476, allocations: 0 / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.7476, allocations: 4 kB / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.7477, allocations: 3.984 kB / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.7477, allocations: 2.031 kB / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.7477, allocations: 3.938 kB / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002108/0.7479, allocations: 175.4 kB / 1.102 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.748, allocations: 85.02 kB / 1.102 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.748, allocations: 0.75 kB / 1.102 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.441e-05/0.7481, allocations: 1.562 kB / 1.102 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.7481, allocations: 15.89 kB / 1.102 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.7482, allocations: 4 kB / 1.102 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.596e-05/0.7482, allocations: 95.2 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000385/0.7486, allocations: 31.94 kB / 1.103 GB, free: 13.39 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.00018/0.7488, allocations: 119 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004045/0.7492, allocations: 163.3 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.7493, allocations: 0 / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.963e-05/0.7493, allocations: 31.94 kB / 1.103 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.7497, allocations: 17.19 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003243/0.75, allocations: 100.6 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002735/0.7503, allocations: 0.7075 MB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of SimCode: time 6.51e-07/0.7503, allocations: 0.6562 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of Templates: time 0.00561/0.7559, allocations: 1.665 MB / 1.105 GB, free: 10.59 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1)