Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") [: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.334/1.334, allocations: 289.8 MB / 297.1 MB, free: 6.617 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.0009585/0.0009584, allocations: 177.3 kB / 366.3 MB, free: 1.941 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.812 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.0008027/0.0008025, allocations: 88.11 kB / 0.7395 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.835e-06/8.075e-06, allocations: 0 / 0.859 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4434/0.4434, allocations: 116.3 MB / 0.9726 GB, free: 68.71 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1389/0.5824, allocations: 137.9 MB / 1.107 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001424/0.5825, allocations: 63.95 kB / 1.107 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.003141/0.5857, allocations: 0.9421 MB / 1.108 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.5857, allocations: 0 / 1.108 GB, free: 9.566 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004576/0.5862, allocations: 398.2 kB / 1.109 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.5862, allocations: 8.031 kB / 1.109 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.613e-05/0.5863, allocations: 7.906 kB / 1.109 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.5864, allocations: 194.8 kB / 1.109 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.5865, allocations: 4 kB / 1.109 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.5865, allocations: 4 kB / 1.109 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001595/0.5866, allocations: 99.92 kB / 1.109 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.5868, allocations: 123.3 kB / 1.109 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.5868, allocations: 0 / 1.109 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.5868, allocations: 0 / 1.109 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.5869, allocations: 0 / 1.109 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004874/0.5873, allocations: 425.1 kB / 1.109 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.5875, allocations: 89.11 kB / 1.11 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.905e-05/0.5875, allocations: 45.75 kB / 1.11 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.5876, allocations: 0 / 1.11 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.5876, allocations: 42.56 kB / 1.11 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.5876, allocations: 0 / 1.11 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0002264/0.5878, allocations: 101.5 kB / 1.11 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.5879, allocations: 81.09 kB / 1.11 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.528e-05/0.5879, allocations: 115.7 kB / 1.11 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.588, allocations: 25.7 kB / 1.11 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.384e-05/0.588, allocations: 92.05 kB / 1.11 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.588, allocations: 15.81 kB / 1.11 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-06/0.588, allocations: 0 / 1.11 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.738e-05/0.5881, allocations: 322.8 kB / 1.11 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.889e-05/0.5882, allocations: 35.97 kB / 1.11 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.556e-05/0.5883, allocations: 45.69 kB / 1.11 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.203e-05/0.5883, allocations: 27.97 kB / 1.11 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.5883, allocations: 0 / 1.11 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001595/0.5885, allocations: 113.5 kB / 1.111 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.5885, allocations: 4 kB / 1.111 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.5885, allocations: 7.984 kB / 1.111 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.5885, allocations: 0 / 1.111 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.5887, allocations: 27.97 kB / 1.111 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.5887, allocations: 4.062 kB / 1.111 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.5889, allocations: 19.98 kB / 1.111 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.5889, allocations: 0 / 1.111 GB, free: 6.902 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.u[1],intRep.u[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.379e-05/0.5889, allocations: 111.5 kB / 1.111 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.881e-05/0.589, allocations: 19.88 kB / 1.111 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.537e-05/0.589, allocations: 8.562 kB / 1.111 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.589, allocations: 0 / 1.111 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.589, allocations: 4 kB / 1.111 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.5891, allocations: 3.906 kB / 1.111 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.5892, allocations: 162.2 kB / 1.111 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.5893, allocations: 4 kB / 1.111 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.5894, allocations: 31.97 kB / 1.111 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.5894, allocations: 0 / 1.111 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.5894, allocations: 0 / 1.111 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5894, allocations: 0 / 1.111 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.5895, allocations: 4.938 kB / 1.111 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002118/0.5897, allocations: 292.3 kB / 1.111 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.32e-05/0.5897, allocations: 81.11 kB / 1.111 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.5897, allocations: 7.875 kB / 1.111 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.5899, allocations: 27.97 kB / 1.111 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/0.59, allocations: 19.89 kB / 1.111 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.59, allocations: 3.984 kB / 1.111 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.9e-05/0.5901, allocations: 92.22 kB / 1.111 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002547/0.5903, allocations: 19.94 kB / 1.111 GB, free: 5.941 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.u[1],intRep.u[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001076/0.5904, allocations: 103.2 kB / 1.112 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001348/0.5906, allocations: 79.94 kB / 1.112 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5906, allocations: 1.719 kB / 1.112 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.404e-05/0.5907, allocations: 71.88 kB / 1.112 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.5909, allocations: 7.25 kB / 1.112 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003171/0.5912, allocations: 136.4 kB / 1.112 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/0.5915, allocations: 0.7192 MB / 1.113 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.5915, allocations: 0 / 1.113 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of Templates: time 0.002758/0.5943, allocations: 1.13 MB / 1.114 GB, free: 3.676 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1)