Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.4/2.4, allocations: 253.1 MB / 260.4 MB, free: 7.602 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001915/0.001915, allocations: 181.2 kB / 319.6 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.258/2.258, allocations: 205.4 MB / 0.5704 GB, free: 14.95 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001432/0.001431, allocations: 90.16 kB / 0.6746 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.539e-05/1.555e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.291, allocations: 106.3 MB / 0.8881 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8095/1.101, allocations: 131.4 MB / 1.016 GB, free: 6.809 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003346/1.101, allocations: 68.41 kB / 1.016 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002955/1.104, allocations: 387.1 kB / 1.017 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.492e-05/1.104, allocations: 4 kB / 1.017 GB, free: 6.441 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005728/1.105, allocations: 333.5 kB / 1.017 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/1.105, allocations: 12.03 kB / 1.017 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/1.105, allocations: 4 kB / 1.017 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/1.105, allocations: 174.9 kB / 1.017 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/1.105, allocations: 4 kB / 1.017 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/1.105, allocations: 0 / 1.017 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001016/1.105, allocations: 17.62 kB / 1.017 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/1.105, allocations: 41.31 kB / 1.017 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/1.105, allocations: 2.516 kB / 1.017 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/1.105, allocations: 0 / 1.017 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/1.105, allocations: 7.906 kB / 1.017 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006146/1.106, allocations: 257 kB / 1.018 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.526e-05/1.106, allocations: 26.33 kB / 1.018 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.587e-05/1.106, allocations: 12.92 kB / 1.018 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/1.106, allocations: 0 / 1.018 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000111/1.106, allocations: 51.09 kB / 1.018 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.994e-06/1.106, allocations: 0 / 1.018 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002065/1.107, allocations: 40.81 kB / 1.018 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/1.107, allocations: 55.41 kB / 1.018 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/1.107, allocations: 102.9 kB / 1.018 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/1.107, allocations: 33.64 kB / 1.018 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.207e-05/1.107, allocations: 88.12 kB / 1.018 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/1.107, allocations: 3.906 kB / 1.018 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-06/1.107, allocations: 0 / 1.018 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002251/1.107, allocations: 318.7 kB / 1.018 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.957e-05/1.107, allocations: 0 / 1.018 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.396e-05/1.107, allocations: 25.25 kB / 1.018 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.042e-05/1.107, allocations: 11.92 kB / 1.018 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/1.107, allocations: 4 kB / 1.018 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001547/1.108, allocations: 57.41 kB / 1.018 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/1.108, allocations: 4 kB / 1.018 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/1.108, allocations: 0.875 kB / 1.018 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/1.108, allocations: 4 kB / 1.018 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.451e-05/1.108, allocations: 0 / 1.018 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/1.108, allocations: 0 / 1.018 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/1.108, allocations: 16.02 kB / 1.018 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/1.108, allocations: 0 / 1.018 GB, free: 4.621 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booRep.y[3],$PRE.booPul.pulseStart,booPul.pulseStart) * 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 0.0001245/1.108, allocations: 107.7 kB / 1.019 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/1.108, allocations: 3.906 kB / 1.019 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.47e-05/1.108, allocations: 3.688 kB / 1.019 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/1.108, allocations: 4.25 kB / 1.019 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.108, allocations: 0 / 1.019 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/1.108, allocations: 4 kB / 1.019 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/1.108, allocations: 148.5 kB / 1.019 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/1.108, allocations: 0 / 1.019 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.347e-05/1.109, allocations: 8 kB / 1.019 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/1.109, allocations: 0 / 1.019 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/1.109, allocations: 0 / 1.019 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/1.109, allocations: 0 / 1.019 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.109, allocations: 0 / 1.019 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001603/1.109, allocations: 72.28 kB / 1.019 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.665e-05/1.109, allocations: 77.11 kB / 1.019 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/1.109, allocations: 4 kB / 1.019 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/1.109, allocations: 15.73 kB / 1.019 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/1.109, allocations: 7.906 kB / 1.019 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/1.109, allocations: 3.984 kB / 1.019 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.305e-05/1.109, allocations: 82.78 kB / 1.019 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004162/1.11, allocations: 4 kB / 1.019 GB, free: 4.023 MB / 0.6355 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,booRep.y[3],booPul.pulseStart) * 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.0001735/1.11, allocations: 99.19 kB / 1.019 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001337/1.11, allocations: 23.69 kB / 1.019 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.11, allocations: 0 / 1.019 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.996e-05/1.11, allocations: 11.98 kB / 1.019 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/1.11, allocations: 7.312 kB / 1.019 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003402/1.111, allocations: 71.16 kB / 1.019 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00043/1.111, allocations: 0.6915 MB / 1.02 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of SimCode: time 8.61e-07/1.111, allocations: 4.062 kB / 1.02 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of Templates: time 0.004034/1.115, allocations: 488 kB / 1.02 GB, free: 2.605 MB / 0.6355 GB