Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 4.416/4.416, allocations: 433 MB / 440.3 MB, free: 4.801 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5379/4.954, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/5.182, allocations: 98.72 MB / 0.6283 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.233/5.415, allocations: 124.6 MB / 0.7499 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/5.416, allocations: 79.59 kB / 0.75 GB, free: 12.98 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.006921/5.423, allocations: 1.513 MB / 0.7515 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/5.423, allocations: 8 kB / 0.7515 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.088e-05/5.423, allocations: 11.89 kB / 0.7515 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/5.423, allocations: 179 kB / 0.7517 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/5.423, allocations: 0 / 0.7517 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/5.423, allocations: 8 kB / 0.7517 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001557/5.423, allocations: 27.94 kB / 0.7517 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/5.424, allocations: 49.69 kB / 0.7518 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/5.424, allocations: 3.984 kB / 0.7518 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/5.424, allocations: 7.938 kB / 0.7518 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.804e-05/5.424, allocations: 4 kB / 0.7518 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004419/5.424, allocations: 253.4 kB / 0.752 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/5.424, allocations: 46.58 kB / 0.7521 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.422e-05/5.424, allocations: 32.88 kB / 0.7521 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/5.424, allocations: 0 / 0.7521 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/5.424, allocations: 101 kB / 0.7522 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 4.468e-06/5.425, allocations: 0 / 0.7522 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0003345/5.425, allocations: 97.66 kB / 0.7523 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.895e-05/5.425, allocations: 110.8 kB / 0.7524 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.831e-05/5.425, allocations: 105 kB / 0.7525 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/5.425, allocations: 25.7 kB / 0.7525 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.668e-05/5.425, allocations: 84.14 kB / 0.7526 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/5.425, allocations: 15.8 kB / 0.7526 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/5.425, allocations: 0 / 0.7526 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000128/5.425, allocations: 322.8 kB / 0.7529 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.955e-05/5.425, allocations: 19.98 kB / 0.7529 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.285e-05/5.425, allocations: 27.94 kB / 0.753 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/5.426, allocations: 35.91 kB / 0.753 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/5.426, allocations: 0 / 0.753 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002664/5.426, allocations: 101.5 kB / 0.7531 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/5.426, allocations: 4 kB / 0.7531 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/5.426, allocations: 0 / 0.7531 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/5.426, allocations: 0 / 0.7531 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.343e-05/5.426, allocations: 4 kB / 0.7531 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/5.426, allocations: 0 / 0.7531 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.131e-05/5.426, allocations: 0 / 0.7531 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.592e-05/5.426, allocations: 4 kB / 0.7531 GB, free: 9.57 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.booTab.y,booTab.y,$PRE.booTab.nextTime,booTab.nextTime,$PRE.booTab.index,booTab.index,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 (6): * Single equations (assignments): 3 * Array equations: 1 * Algorithm blocks: 2 * 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.0001396/5.426, allocations: 144.9 kB / 0.7532 GB, free: 9.418 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/5.426, allocations: 7.906 kB / 0.7533 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.49e-05/5.426, allocations: 8.375 kB / 0.7533 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/5.426, allocations: 4 kB / 0.7533 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/5.426, allocations: 3.984 kB / 0.7533 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/5.426, allocations: 3.906 kB / 0.7533 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/5.427, allocations: 142.2 kB / 0.7534 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/5.427, allocations: 4 kB / 0.7534 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.959e-06/5.427, allocations: 8.062 kB / 0.7534 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/5.427, allocations: 4 kB / 0.7534 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/5.427, allocations: 3.984 kB / 0.7534 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/5.427, allocations: 0 / 0.7534 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/5.427, allocations: 4 kB / 0.7534 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002693/5.427, allocations: 121 kB / 0.7535 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004533/5.427, allocations: 0.5062 MB / 0.754 GB, free: 8.527 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.797e-05/5.428, allocations: 85.02 kB / 0.7541 GB, free: 8.426 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.38e-05/5.428, allocations: 0 / 0.7541 GB, free: 8.426 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.35e-05/5.428, allocations: 11.94 kB / 0.7541 GB, free: 8.414 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/5.428, allocations: 11.83 kB / 0.7541 GB, free: 8.402 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/5.428, allocations: 4 kB / 0.7542 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.114e-05/5.428, allocations: 87.27 kB / 0.7542 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001119/5.429, allocations: 28 kB / 0.7543 GB, free: 8.285 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: 8 ($whenCondition1,booTab.y,booTab.nextTime,booTab.index,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 4 (booTab.y,booTab.nextTime,booTab.index,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 0 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0002859/5.429, allocations: 131.2 kB / 0.7544 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002653/5.43, allocations: 107.4 kB / 0.7545 GB, free: 8.031 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/5.43, allocations: 0 / 0.7545 GB, free: 8.031 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001342/5.43, allocations: 69.69 kB / 0.7546 GB, free: 7.957 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/5.43, allocations: 11.94 kB / 0.7546 GB, free: 7.945 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003985/5.43, allocations: 119.7 kB / 0.7547 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003821/5.431, allocations: 0.7153 MB / 0.7554 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of SimCode: time 1.092e-06/5.431, allocations: 0 / 0.7554 GB, free: 7.059 MB / 0.6355 GB