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.BooleanReplicator.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.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.3/1.3, 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.0009337/0.0009337, allocations: 179.5 kB / 361.1 MB, free: 7.102 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.073/1.073, 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.0007989/0.000799, allocations: 84.64 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.307e-06/9.448e-06, allocations: 4 kB / 0.8511 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.466/0.466, allocations: 115.3 MB / 0.9637 GB, free: 78.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1421/0.6081, allocations: 137.3 MB / 1.098 GB, free: 2.758 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002016/0.6084, allocations: 68.58 kB / 1.098 GB, free: 2.691 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.005154/0.6135, allocations: 1.505 MB / 1.099 GB, free: 1.234 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.6136, allocations: 4.938 kB / 1.099 GB, free: 1.23 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.000313/0.6139, allocations: 365.2 kB / 1.1 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.6139, allocations: 8.531 kB / 1.1 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.782e-05/0.614, allocations: 7.906 kB / 1.1 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.6142, allocations: 184.9 kB / 1.1 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.6142, allocations: 5.188 kB / 1.1 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.6142, allocations: 7.938 kB / 1.1 GB, free: 0.582 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.352e-05/0.6143, allocations: 8.562 kB / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.686e-05/0.6144, allocations: 46.94 kB / 1.1 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.6144, allocations: 0 / 1.1 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.6144, allocations: 2.438 kB / 1.1 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.6144, allocations: 0.5625 kB / 1.1 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.6147, allocations: 283.1 kB / 1.1 GB, free: 216 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.621e-05/0.6148, allocations: 23.94 kB / 1.1 GB, free: 184 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.824e-05/0.6148, allocations: 11.39 kB / 1.1 GB, free: 172 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-06/0.6148, allocations: 0 / 1.1 GB, free: 172 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.208e-05/0.6149, allocations: 56.47 kB / 1.1 GB, free: 104 kB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 2.345e-06/0.6149, allocations: 1.891 kB / 1.1 GB, free: 104 kB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001398/0.615, allocations: 41.7 kB / 1.1 GB, free: 56 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.6151, allocations: 55.34 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.921e-05/0.6152, allocations: 107.4 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.6152, allocations: 29.7 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.128e-05/0.6152, allocations: 88.05 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.348e-06/0.6153, allocations: 7.906 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.368e-06/0.6153, allocations: 0 / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.6154, allocations: 318.8 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.034e-05/0.6155, allocations: 24 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.486e-05/0.6155, allocations: 49.14 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.6157, allocations: 35.97 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.6157, allocations: 0 / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002756/0.616, allocations: 113.5 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.616, allocations: 4 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.616, allocations: 4 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.6161, allocations: 0.6094 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.538e-05/0.6161, allocations: 4.078 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.6161, allocations: 4 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.6163, allocations: 39.97 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.6163, allocations: 4 kB / 1.101 GB, free: 15.14 MB / 0.7136 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 6.436e-05/0.6164, allocations: 105 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.249e-05/0.6164, allocations: 7.906 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.013e-05/0.6164, allocations: 15.92 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.6164, allocations: 0 / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.6165, allocations: 0.8438 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.6165, allocations: 0 / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.214e-05/0.6166, allocations: 150.1 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.6166, allocations: 1.312 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.941e-06/0.6166, allocations: 0 / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.6166, allocations: 1.781 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.6166, allocations: 3.938 kB / 1.101 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.6166, allocations: 0 / 1.101 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.6166, allocations: 7.984 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.949e-05/0.6167, allocations: 69.73 kB / 1.101 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.225e-05/0.6167, allocations: 81.11 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.6168, allocations: 0 / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.614e-05/0.6168, allocations: 1.312 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.591e-05/0.6168, allocations: 7.906 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.6168, allocations: 0 / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.286e-05/0.6169, allocations: 87.27 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001996/0.6171, allocations: 20 kB / 1.102 GB, free: 14.51 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.0001321/0.6172, allocations: 118.9 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001568/0.6174, allocations: 73.7 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.6174, allocations: 0 / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.565e-05/0.6174, allocations: 12.7 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.6176, allocations: 8.547 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001963/0.6178, allocations: 72.53 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002213/0.618, allocations: 0.6954 MB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of SimCode: time 3.21e-07/0.618, allocations: 4 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of Templates: time 0.002759/0.6208, allocations: 0.9054 MB / 1.103 GB, free: 12.62 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1)