Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.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.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.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.098/2.098, allocations: 253.1 MB / 260.4 MB, free: 7.535 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.001687/0.001687, allocations: 181.2 kB / 319.6 MB, free: 3.305 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 1.934/1.934, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001235/0.001234, allocations: 89.89 kB / 0.6746 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.245e-05/1.263e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.1996, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6325/0.8321, allocations: 135.7 MB / 1.021 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/0.8325, allocations: 76.77 kB / 1.021 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02453/0.857, allocations: 5.008 MB / 1.026 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.617e-05/0.8571, allocations: 4 kB / 1.026 GB, free: 14.47 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007348/0.8578, allocations: 465.4 kB / 1.026 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.8579, allocations: 12.03 kB / 1.026 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.711e-05/0.858, allocations: 18.75 kB / 1.026 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00055/0.8586, allocations: 244.3 kB / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.8586, allocations: 0 / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.8586, allocations: 4 kB / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000153/0.8588, allocations: 38.64 kB / 1.026 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.859, allocations: 85.61 kB / 1.026 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.8591, allocations: 7.984 kB / 1.026 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.8591, allocations: 0 / 1.026 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/0.8591, allocations: 3.984 kB / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007293/0.8598, allocations: 332.3 kB / 1.027 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.8601, allocations: 72.25 kB / 1.027 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.974e-05/0.8602, allocations: 38.67 kB / 1.027 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.8602, allocations: 0 / 1.027 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.8604, allocations: 77.14 kB / 1.027 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 4.338e-06/0.8604, allocations: 112 / 1.027 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0004043/0.8608, allocations: 107 kB / 1.027 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.8609, allocations: 81.11 kB / 1.027 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004367/0.8613, allocations: 238.5 kB / 1.027 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.8614, allocations: 25.7 kB / 1.027 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.63e-05/0.8614, allocations: 99.25 kB / 1.027 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.8615, allocations: 27.06 kB / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/0.8615, allocations: 0 / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.8616, allocations: 329.6 kB / 1.028 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.443e-05/0.8617, allocations: 28.8 kB / 1.028 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.8619, allocations: 57.92 kB / 1.028 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.8621, allocations: 34.55 kB / 1.028 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.8621, allocations: 0 / 1.028 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003213/0.8624, allocations: 119.3 kB / 1.028 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.8624, allocations: 4 kB / 1.028 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.8625, allocations: 0 / 1.028 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.8625, allocations: 4.062 kB / 1.028 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.8626, allocations: 15.88 kB / 1.028 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.8627, allocations: 0 / 1.028 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.8628, allocations: 12.02 kB / 1.028 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.8628, allocations: 7.938 kB / 1.028 GB, free: 11.94 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0001403/0.863, allocations: 112.9 kB / 1.028 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.79e-05/0.863, allocations: 15.81 kB / 1.028 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003756/0.8634, allocations: 122.4 kB / 1.028 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/0.8634, allocations: 4 kB / 1.028 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.8635, allocations: 0 / 1.028 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.8635, allocations: 3.984 kB / 1.028 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000279/0.8638, allocations: 205.7 kB / 1.028 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.8638, allocations: 0 / 1.028 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.728e-05/0.8639, allocations: 4 kB / 1.028 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/0.8639, allocations: 4 kB / 1.028 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.8639, allocations: 0 / 1.028 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.8639, allocations: 0 / 1.028 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.8639, allocations: 0 / 1.028 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003176/0.8642, allocations: 149.2 kB / 1.029 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.8644, allocations: 96.55 kB / 1.029 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.734e-05/0.8644, allocations: 0 / 1.029 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.8645, allocations: 7.984 kB / 1.029 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.8646, allocations: 7.438 kB / 1.029 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.8646, allocations: 3.984 kB / 1.029 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.000287/0.8649, allocations: 193.8 kB / 1.029 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003899/0.8653, allocations: 39.92 kB / 1.029 GB, free: 11 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * 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.0009418/0.8663, allocations: 335 kB / 1.029 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003093/0.8666, allocations: 75.36 kB / 1.029 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.8666, allocations: 0 / 1.029 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.8667, allocations: 39.05 kB / 1.029 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000472/0.8672, allocations: 35.56 kB / 1.029 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007665/0.868, allocations: 226.9 kB / 1.03 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004416/0.8685, allocations: 0.75 MB / 1.03 GB, free: 9.664 MB / 0.6511 GB Notification: Performance of SimCode: time 1.092e-06/0.8685, allocations: 0 / 1.03 GB, free: 9.664 MB / 0.6511 GB Notification: Performance of Templates: time 0.00864/0.8771, allocations: 2.165 MB / 1.032 GB, free: 7.527 MB / 0.6511 GB