Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.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.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.322/1.322, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.001009/0.001009, allocations: 185.2 kB / 361.1 MB, free: 7.062 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.009/1.009, 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.0008232/0.0008234, allocations: 83.94 kB / 0.7325 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.69e-06/5.781e-06, allocations: 0 / 0.8511 GB, free: 2.953 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4126/0.4127, allocations: 115.3 MB / 0.9637 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1323/0.545, allocations: 136.9 MB / 1.097 GB, free: 3.125 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001464/0.5452, allocations: 67.97 kB / 1.097 GB, free: 3.059 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.001904/0.5471, allocations: 0.5151 MB / 1.098 GB, free: 2.574 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.5471, allocations: 0 / 1.098 GB, free: 2.574 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.0003194/0.5475, allocations: 348.7 kB / 1.098 GB, free: 2.191 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.5475, allocations: 15.34 kB / 1.098 GB, free: 2.18 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.424e-05/0.5475, allocations: 3.906 kB / 1.098 GB, free: 2.176 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.5477, allocations: 171 kB / 1.098 GB, free: 1.969 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.5477, allocations: 0 / 1.098 GB, free: 1.969 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.5477, allocations: 4 kB / 1.098 GB, free: 1.965 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.678e-05/0.5478, allocations: 20 kB / 1.098 GB, free: 1.945 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.271e-05/0.5479, allocations: 45.62 kB / 1.098 GB, free: 1.895 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.5479, allocations: 4.25 kB / 1.098 GB, free: 1.895 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.5479, allocations: 4 kB / 1.098 GB, free: 1.891 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.776e-06/0.5479, allocations: 0 / 1.098 GB, free: 1.891 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002775/0.5482, allocations: 253.3 kB / 1.099 GB, free: 1.605 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.5e-05/0.5482, allocations: 35.94 kB / 1.099 GB, free: 1.562 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.524e-05/0.5483, allocations: 13.92 kB / 1.099 GB, free: 1.547 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.5483, allocations: 0 / 1.099 GB, free: 1.547 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.465e-05/0.5483, allocations: 40.03 kB / 1.099 GB, free: 1.504 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.5483, allocations: 0 / 1.099 GB, free: 1.504 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001303/0.5485, allocations: 41.69 kB / 1.099 GB, free: 1.457 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.5485, allocations: 51.41 kB / 1.099 GB, free: 1.395 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.797e-05/0.5486, allocations: 103.2 kB / 1.099 GB, free: 1.289 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.5486, allocations: 25.7 kB / 1.099 GB, free: 1.258 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.012e-05/0.5486, allocations: 92.03 kB / 1.099 GB, free: 1.164 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.304e-05/0.5486, allocations: 7.906 kB / 1.099 GB, free: 1.156 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.5486, allocations: 0.5938 kB / 1.099 GB, free: 1.156 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.683e-05/0.5487, allocations: 311.5 kB / 1.099 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/0.5488, allocations: 8.844 kB / 1.099 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.784e-05/0.5488, allocations: 4 kB / 1.099 GB, free: 0.832 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.95e-05/0.5488, allocations: 12.66 kB / 1.099 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-06/0.5488, allocations: 0.625 kB / 1.099 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.826e-05/0.5489, allocations: 46.19 kB / 1.099 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/0.5489, allocations: 8.469 kB / 1.1 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.5489, allocations: 0 / 1.1 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.5489, allocations: 0.7812 kB / 1.1 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.5491, allocations: 17.11 kB / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.5491, allocations: 0.9375 kB / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.788e-05/0.5491, allocations: 9.328 kB / 1.1 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-06/0.5492, allocations: 4 kB / 1.1 GB, free: 0.7344 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 5.259e-05/0.5492, allocations: 101.7 kB / 1.1 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.5492, allocations: 4.656 kB / 1.1 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.011e-05/0.5493, allocations: 10.62 kB / 1.1 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.5493, allocations: 4 kB / 1.1 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.5493, allocations: 0 / 1.1 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-06/0.5493, allocations: 0 / 1.1 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.5494, allocations: 144.1 kB / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5494, allocations: 4 kB / 1.1 GB, free: 444 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.417e-05/0.5495, allocations: 13.61 kB / 1.1 GB, free: 432 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.5495, allocations: 8.5 kB / 1.1 GB, free: 424 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.5496, allocations: 0 / 1.1 GB, free: 424 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.5496, allocations: 4.125 kB / 1.1 GB, free: 420 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.5496, allocations: 2.312 kB / 1.1 GB, free: 420 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001127/0.5497, allocations: 139.5 kB / 1.1 GB, free: 264 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.772e-05/0.5497, allocations: 85.11 kB / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.5497, allocations: 0 / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.5498, allocations: 16.02 kB / 1.1 GB, free: 144 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.5499, allocations: 3.984 kB / 1.1 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.5499, allocations: 0 / 1.1 GB, free: 140 kB / 0.698 GB Notification: Performance of sort global known variables: time 2.875e-05/0.5499, allocations: 84.59 kB / 1.1 GB, free: 56 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002222/0.5502, allocations: 19.84 kB / 1.1 GB, free: 36 kB / 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.0001008/0.5503, allocations: 107.6 kB / 1.1 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.927e-05/0.5503, allocations: 15.94 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5504, allocations: 4.062 kB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.012e-05/0.5504, allocations: 12 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.5506, allocations: 4 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00019/0.5508, allocations: 71.58 kB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002354/0.551, allocations: 0.6958 MB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of SimCode: time 2.81e-07/0.551, allocations: 0 / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of Templates: time 0.001977/0.553, allocations: 0.5632 MB / 1.102 GB, free: 14.56 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1)