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.BooleanReplicator.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.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") [: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.088/2.088, allocations: 284.9 MB / 292.2 MB, free: 10.72 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.001571/0.00157, allocations: 173.3 kB / 360.4 MB, free: 7.516 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.597/1.597, allocations: 205.1 MB / 0.6188 GB, free: 12.45 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.001201/0.001201, allocations: 94.66 kB / 0.7318 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.385e-05/1.4e-05, allocations: 4 kB / 0.8503 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.541/0.5411, allocations: 115.2 MB / 0.9628 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2101/0.7512, allocations: 137.1 MB / 1.097 GB, free: 3.703 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.7515, allocations: 69.7 kB / 1.097 GB, free: 3.637 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.008354/0.7599, allocations: 1.507 MB / 1.098 GB, free: 2.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.76, allocations: 0 / 1.098 GB, free: 2.18 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.000399/0.7604, allocations: 361.4 kB / 1.099 GB, free: 1.777 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.7604, allocations: 8.625 kB / 1.099 GB, free: 1.77 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.443e-05/0.7605, allocations: 7.906 kB / 1.099 GB, free: 1.762 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.7608, allocations: 183.5 kB / 1.099 GB, free: 1.543 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.7608, allocations: 3.438 kB / 1.099 GB, free: 1.543 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.7609, allocations: 12 kB / 1.099 GB, free: 1.531 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.768e-05/0.761, allocations: 4.891 kB / 1.099 GB, free: 1.527 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.126e-05/0.7611, allocations: 47.81 kB / 1.099 GB, free: 1.477 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.7611, allocations: 0.5 kB / 1.099 GB, free: 1.477 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.7611, allocations: 4 kB / 1.099 GB, free: 1.473 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.7611, allocations: 4 kB / 1.099 GB, free: 1.469 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004127/0.7615, allocations: 281.3 kB / 1.099 GB, free: 1.156 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.862e-05/0.7616, allocations: 22.58 kB / 1.099 GB, free: 1.125 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.859e-05/0.7616, allocations: 15.33 kB / 1.099 GB, free: 1.109 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.7617, allocations: 8.5 kB / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.383e-05/0.7617, allocations: 47.33 kB / 1.099 GB, free: 1.043 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/0.7618, allocations: 4 kB / 1.099 GB, free: 1.039 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001732/0.7619, allocations: 47.19 kB / 1.099 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.762, allocations: 51.41 kB / 1.099 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.087e-05/0.7621, allocations: 101 kB / 1.099 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.7621, allocations: 25.7 kB / 1.099 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.291e-05/0.7622, allocations: 92.05 kB / 1.099 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.145e-05/0.7622, allocations: 7.906 kB / 1.099 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.875e-05/0.7622, allocations: 4 kB / 1.1 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.7624, allocations: 318.8 kB / 1.1 GB, free: 372 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.7625, allocations: 24.66 kB / 1.1 GB, free: 348 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.7626, allocations: 42.5 kB / 1.1 GB, free: 296 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/0.7629, allocations: 39.97 kB / 1.1 GB, free: 256 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7629, allocations: 0 / 1.1 GB, free: 256 kB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004501/0.7634, allocations: 113.5 kB / 1.1 GB, free: 136 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.7634, allocations: 4 kB / 1.1 GB, free: 132 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.7634, allocations: 0 / 1.1 GB, free: 132 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.7635, allocations: 6.906 kB / 1.1 GB, free: 128 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.7e-05/0.7635, allocations: 0 / 1.1 GB, free: 128 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.7635, allocations: 3.984 kB / 1.1 GB, free: 124 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003249/0.7638, allocations: 42.12 kB / 1.1 GB, free: 84 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.181e-05/0.7639, allocations: 12 kB / 1.1 GB, free: 72 kB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001012/0.764, allocations: 108.8 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.764, allocations: 3.906 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.319e-05/0.7641, allocations: 8.516 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.7641, allocations: 0 / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.7641, allocations: 3.984 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.7641, allocations: 0 / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.7642, allocations: 138.1 kB / 1.1 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.7643, allocations: 4 kB / 1.1 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.725e-06/0.7643, allocations: 4 kB / 1.1 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.7643, allocations: 0.5625 kB / 1.1 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.7643, allocations: 7.875 kB / 1.1 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.7643, allocations: 0 / 1.1 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.7643, allocations: 0 / 1.1 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001192/0.7645, allocations: 81.67 kB / 1.1 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.138e-05/0.7645, allocations: 77.11 kB / 1.1 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.7645, allocations: 2 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.222e-05/0.7646, allocations: 4 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.621e-05/0.7646, allocations: 7.906 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.7646, allocations: 0 / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.029e-05/0.7647, allocations: 87.27 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002928/0.765, allocations: 20 kB / 1.101 GB, free: 15.44 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001663/0.7652, allocations: 107.2 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002255/0.7654, allocations: 77.62 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.7654, allocations: 4.188 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.75e-05/0.7655, allocations: 12.61 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.7657, allocations: 11.73 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002413/0.7659, allocations: 68.53 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003309/0.7663, allocations: 0.6954 MB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of SimCode: time 6.41e-07/0.7663, allocations: 0 / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of Templates: time 0.003876/0.7702, allocations: 0.8972 MB / 1.102 GB, free: 13.57 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1)