Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.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.BooleanVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") [: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.31/1.31, allocations: 289.8 MB / 297.1 MB, free: 6.637 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.0009066/0.0009066, allocations: 185.2 kB / 366.3 MB, free: 1.992 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.033/1.033, allocations: 205.1 MB / 0.6256 GB, free: 5.824 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.0008108/0.000811, allocations: 91.08 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.362e-06/6.402e-06, allocations: 4 kB / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4231/0.4231, allocations: 116.3 MB / 0.9726 GB, free: 68.88 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1369/0.5601, allocations: 138.3 MB / 1.108 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001967/0.5603, allocations: 69.48 kB / 1.108 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.008141/0.5685, allocations: 2.707 MB / 1.11 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.5685, allocations: 4 kB / 1.11 GB, free: 7.52 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003407/0.5688, allocations: 417.7 kB / 1.111 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.5689, allocations: 12.97 kB / 1.111 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.184e-05/0.5689, allocations: 11.91 kB / 1.111 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.5692, allocations: 218.9 kB / 1.111 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.5692, allocations: 7.984 kB / 1.111 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.968e-05/0.5693, allocations: 8 kB / 1.111 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.583e-05/0.5693, allocations: 39.98 kB / 1.111 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.5695, allocations: 92.05 kB / 1.111 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.5695, allocations: 4 kB / 1.111 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.5695, allocations: 12 kB / 1.111 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.5695, allocations: 0 / 1.111 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004791/0.57, allocations: 469.3 kB / 1.112 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.092e-05/0.5701, allocations: 53.2 kB / 1.112 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.452e-05/0.5701, allocations: 29.77 kB / 1.112 GB, free: 6 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.083e-06/0.5701, allocations: 5.062 kB / 1.112 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.667e-05/0.5702, allocations: 89.09 kB / 1.112 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.5702, allocations: 4 kB / 1.112 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0001884/0.5704, allocations: 93.5 kB / 1.112 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.5705, allocations: 85.09 kB / 1.112 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.947e-05/0.5705, allocations: 123.1 kB / 1.112 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.5706, allocations: 37.7 kB / 1.112 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.821e-05/0.5706, allocations: 92.03 kB / 1.112 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.336e-05/0.5707, allocations: 11.91 kB / 1.112 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.021e-05/0.5707, allocations: 4 kB / 1.112 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.886e-05/0.5708, allocations: 326.7 kB / 1.112 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.5709, allocations: 119.9 kB / 1.113 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.5711, allocations: 157.9 kB / 1.113 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.5715, allocations: 135.8 kB / 1.113 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5715, allocations: 7.938 kB / 1.113 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000587/0.5721, allocations: 325.3 kB / 1.113 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.5721, allocations: 4 kB / 1.113 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.5721, allocations: 96 / 1.113 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.5721, allocations: 12.17 kB / 1.113 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.837e-05/0.5722, allocations: 11.92 kB / 1.113 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.5722, allocations: 7.938 kB / 1.113 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003598/0.5725, allocations: 81.34 kB / 1.113 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/0.5726, allocations: 11.98 kB / 1.113 GB, free: 4.203 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.booPul[1].y,booPul[1].y,$whenCondition3,$whenCondition4,$PRE.booPul[2].y,booPul[2].y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * 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 7.429e-05/0.5727, allocations: 115.5 kB / 1.113 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.5727, allocations: 15.89 kB / 1.113 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.792e-05/0.5727, allocations: 8 kB / 1.113 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.5727, allocations: 0 / 1.113 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.5727, allocations: 0 / 1.113 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.5727, allocations: 4 kB / 1.113 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.5728, allocations: 162.2 kB / 1.114 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.5729, allocations: 0 / 1.114 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.897e-06/0.5729, allocations: 4 kB / 1.114 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.5729, allocations: 0 / 1.114 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.5729, allocations: 3.906 kB / 1.114 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.5729, allocations: 7.938 kB / 1.114 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.5729, allocations: 0 / 1.114 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001286/0.573, allocations: 136.6 kB / 1.114 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.96e-05/0.5731, allocations: 81.02 kB / 1.114 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.5731, allocations: 8.062 kB / 1.114 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.072e-05/0.5731, allocations: 0 / 1.114 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.607e-05/0.5732, allocations: 11.98 kB / 1.114 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.5732, allocations: 0 / 1.114 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.753e-05/0.5732, allocations: 95.27 kB / 1.114 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002985/0.5735, allocations: 36 kB / 1.114 GB, free: 3.43 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: 6 ($whenCondition3,$whenCondition4,booPul[1].y,$whenCondition1,$whenCondition2,booPul[2].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001353/0.5737, allocations: 123.8 kB / 1.114 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002991/0.574, allocations: 227.3 kB / 1.114 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.574, allocations: 0 / 1.114 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.978e-05/0.574, allocations: 37.7 kB / 1.114 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.5742, allocations: 20.2 kB / 1.114 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002533/0.5745, allocations: 144.5 kB / 1.114 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002182/0.5747, allocations: 0.711 MB / 1.115 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of SimCode: time 1.423e-06/0.5747, allocations: 0 / 1.115 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of Templates: time 0.003455/0.5782, allocations: 1.855 MB / 1.117 GB, free: 320 kB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1)