Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.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.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") [: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.147/2.147, allocations: 284.9 MB / 292.2 MB, free: 10.73 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.001552/0.001552, allocations: 185.2 kB / 360.4 MB, free: 7.504 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.632/1.632, allocations: 205.1 MB / 0.6188 GB, free: 12.41 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.001215/0.001215, allocations: 95.36 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.985e-06/8.135e-06, allocations: 0 / 0.8502 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5489/0.5489, allocations: 115.2 MB / 0.9628 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1976/0.7465, allocations: 136.7 MB / 1.096 GB, free: 4.039 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.7468, allocations: 64.53 kB / 1.096 GB, free: 3.977 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.003052/0.7499, allocations: 0.5145 MB / 1.097 GB, free: 3.496 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.7499, allocations: 4 kB / 1.097 GB, free: 3.492 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004769/0.7504, allocations: 340.4 kB / 1.097 GB, free: 3.117 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.7504, allocations: 10.19 kB / 1.097 GB, free: 3.109 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.207e-05/0.7505, allocations: 11.91 kB / 1.097 GB, free: 3.098 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.7507, allocations: 175.8 kB / 1.097 GB, free: 2.887 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.7507, allocations: 0 / 1.097 GB, free: 2.887 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.7508, allocations: 1.969 kB / 1.097 GB, free: 2.887 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001066/0.7509, allocations: 21.22 kB / 1.097 GB, free: 2.867 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.751, allocations: 52.11 kB / 1.097 GB, free: 2.812 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.751, allocations: 0 / 1.097 GB, free: 2.812 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.751, allocations: 1.125 kB / 1.097 GB, free: 2.812 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.7511, allocations: 0 / 1.097 GB, free: 2.812 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004216/0.7515, allocations: 256.7 kB / 1.098 GB, free: 2.527 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.327e-05/0.7516, allocations: 35.16 kB / 1.098 GB, free: 2.484 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.123e-05/0.7516, allocations: 13.67 kB / 1.098 GB, free: 2.469 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.7517, allocations: 0 / 1.098 GB, free: 2.469 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.7517, allocations: 32.44 kB / 1.098 GB, free: 2.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.7517, allocations: 0 / 1.098 GB, free: 2.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002006/0.7519, allocations: 49.62 kB / 1.098 GB, free: 2.375 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.752, allocations: 56.09 kB / 1.098 GB, free: 2.309 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.537e-05/0.7521, allocations: 94.44 kB / 1.098 GB, free: 2.211 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.7521, allocations: 26.2 kB / 1.098 GB, free: 2.18 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.19e-05/0.7522, allocations: 89.52 kB / 1.098 GB, free: 2.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.7522, allocations: 11.89 kB / 1.098 GB, free: 2.078 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.7522, allocations: 0 / 1.098 GB, free: 2.078 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.7524, allocations: 311.5 kB / 1.098 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.788e-05/0.7524, allocations: 4 kB / 1.098 GB, free: 1.762 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.772e-05/0.7525, allocations: 8.625 kB / 1.098 GB, free: 1.754 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.249e-05/0.7525, allocations: 8.906 kB / 1.098 GB, free: 1.746 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7525, allocations: 0 / 1.098 GB, free: 1.746 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001233/0.7526, allocations: 48.25 kB / 1.098 GB, free: 1.695 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.7527, allocations: 8.438 kB / 1.098 GB, free: 1.688 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.7527, allocations: 4.5 kB / 1.098 GB, free: 1.684 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.7527, allocations: 0 / 1.098 GB, free: 1.684 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.7529, allocations: 14.17 kB / 1.098 GB, free: 1.672 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.7529, allocations: 7.906 kB / 1.098 GB, free: 1.668 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.753, allocations: 11.98 kB / 1.098 GB, free: 1.656 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.753, allocations: 1.75 kB / 1.098 GB, free: 1.656 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.536e-05/0.7531, allocations: 105.8 kB / 1.099 GB, free: 1.547 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.844e-05/0.7532, allocations: 7.906 kB / 1.099 GB, free: 1.539 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.547e-05/0.7532, allocations: 3.312 kB / 1.099 GB, free: 1.535 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.7532, allocations: 0.7188 kB / 1.099 GB, free: 1.535 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.7532, allocations: 0 / 1.099 GB, free: 1.535 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.7532, allocations: 9 kB / 1.099 GB, free: 1.527 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.7534, allocations: 142.2 kB / 1.099 GB, free: 1.352 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.7534, allocations: 0 / 1.099 GB, free: 1.352 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.7536, allocations: 11.98 kB / 1.099 GB, free: 1.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.7536, allocations: 7.906 kB / 1.099 GB, free: 1.332 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.7536, allocations: 4 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.7536, allocations: 0 / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.7536, allocations: 0 / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001557/0.7538, allocations: 148.5 kB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.668e-05/0.7539, allocations: 77.11 kB / 1.099 GB, free: 1.078 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.7539, allocations: 0 / 1.099 GB, free: 1.078 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.7541, allocations: 15.92 kB / 1.099 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.396e-05/0.7541, allocations: 11.98 kB / 1.099 GB, free: 1.051 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.7542, allocations: 4.031 kB / 1.099 GB, free: 1.047 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.885e-05/0.7542, allocations: 79.28 kB / 1.099 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003093/0.7545, allocations: 19.84 kB / 1.099 GB, free: 0.9492 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001343/0.7547, allocations: 95.25 kB / 1.099 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001039/0.7548, allocations: 23.98 kB / 1.099 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.7548, allocations: 0 / 1.099 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.336e-05/0.7549, allocations: 4 kB / 1.099 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.7551, allocations: 8.125 kB / 1.099 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002891/0.7554, allocations: 80.52 kB / 1.099 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003586/0.7557, allocations: 0.693 MB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of SimCode: time 2.966e-06/0.7558, allocations: 0 / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of Templates: time 0.003073/0.7588, allocations: 0.5512 MB / 1.101 GB, free: 15.48 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1)