Running: ./testmodel.py --libraries=/home/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 (/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.1/package.mo): time 2.873/2.873, allocations: 248.6 MB / 255.9 MB, free: 7.164 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002674/0.002674, allocations: 182.8 kB / 315.1 MB, free: 4.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.677/2.677, allocations: 205.1 MB / 0.5658 GB, free: 300 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001292/0.001292, allocations: 94.91 kB / 0.67 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5754/0.5767, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.7897, allocations: 106.3 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8226/1.612, allocations: 135.7 MB / 1.016 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004132/1.613, allocations: 78.02 kB / 1.016 GB, free: 4.473 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.04104/1.654, allocations: 5.474 MB / 1.021 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/1.654, allocations: 8 kB / 1.021 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/1.654, allocations: 15.81 kB / 1.021 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007923/1.655, allocations: 244.4 kB / 1.022 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/1.655, allocations: 0 / 1.022 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.187e-05/1.655, allocations: 8 kB / 1.022 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002091/1.655, allocations: 38.48 kB / 1.022 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002842/1.656, allocations: 85.58 kB / 1.022 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/1.656, allocations: 0 / 1.022 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/1.656, allocations: 0 / 1.022 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.281e-05/1.656, allocations: 7.984 kB / 1.022 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/1.657, allocations: 337.9 kB / 1.022 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/1.657, allocations: 72.3 kB / 1.022 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/1.657, allocations: 30.48 kB / 1.022 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/1.657, allocations: 0 / 1.022 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002383/1.658, allocations: 81.98 kB / 1.022 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 3.927e-06/1.658, allocations: 3.938 kB / 1.022 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.000585/1.658, allocations: 102.1 kB / 1.022 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.068e-05/1.658, allocations: 81.11 kB / 1.023 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006265/1.659, allocations: 229.6 kB / 1.023 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.888e-05/1.659, allocations: 29.64 kB / 1.023 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/1.659, allocations: 98.75 kB / 1.023 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.402e-05/1.659, allocations: 23.45 kB / 1.023 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.033e-05/1.659, allocations: 0 / 1.023 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000214/1.66, allocations: 333.3 kB / 1.023 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/1.66, allocations: 26.44 kB / 1.023 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/1.66, allocations: 62.78 kB / 1.023 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/1.66, allocations: 30.8 kB / 1.023 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/1.66, allocations: 0 / 1.023 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005329/1.661, allocations: 114.1 kB / 1.023 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/1.661, allocations: 12.06 kB / 1.023 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/1.661, allocations: 0 / 1.023 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/1.661, allocations: 0 / 1.023 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/1.661, allocations: 8 kB / 1.023 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/1.661, allocations: 4 kB / 1.023 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/1.662, allocations: 14.92 kB / 1.023 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/1.662, allocations: 0 / 1.023 GB, free: 13.89 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.0001983/1.662, allocations: 113.5 kB / 1.024 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.91e-05/1.662, allocations: 27.73 kB / 1.024 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000583/1.662, allocations: 119.9 kB / 1.024 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.927e-05/1.663, allocations: 0 / 1.024 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/1.663, allocations: 0 / 1.024 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/1.663, allocations: 3.984 kB / 1.024 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004459/1.663, allocations: 210.9 kB / 1.024 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/1.663, allocations: 3.984 kB / 1.024 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.369e-05/1.663, allocations: 4 kB / 1.024 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.797e-06/1.663, allocations: 0 / 1.024 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/1.663, allocations: 4 kB / 1.024 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/1.663, allocations: 4 kB / 1.024 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.663, allocations: 0 / 1.024 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005215/1.664, allocations: 145.3 kB / 1.024 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00069/1.665, allocations: 0.5087 MB / 1.025 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/1.665, allocations: 99.91 kB / 1.025 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.002e-05/1.665, allocations: 7.906 kB / 1.025 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/1.665, allocations: 4 kB / 1.025 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.325e-05/1.665, allocations: 7.984 kB / 1.025 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/1.665, allocations: 3.938 kB / 1.025 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0004518/1.666, allocations: 189.2 kB / 1.025 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002086/1.668, allocations: 47.61 kB / 1.025 GB, free: 12.43 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.001576/1.669, allocations: 316 kB / 1.025 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004601/1.67, allocations: 72.81 kB / 1.025 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.67, allocations: 0 / 1.025 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001641/1.67, allocations: 41.17 kB / 1.025 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006717/1.671, allocations: 36.73 kB / 1.025 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/1.672, allocations: 228.8 kB / 1.026 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006309/1.673, allocations: 0.7572 MB / 1.026 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of SimCode: time 1.723e-06/1.673, allocations: 0 / 1.026 GB, free: 11.09 MB / 0.6511 GB