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.IntegerReplicator.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.IntegerReplicator,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_IntegerReplicator",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.172/4.172, allocations: 433 MB / 440.3 MB, free: 24.75 MB / 354.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2415/4.413, allocations: 104.3 MB / 0.5319 GB, free: 4.508 MB / 434.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6223/5.036, allocations: 98.69 MB / 0.6283 GB, free: 0.6562 MB / 0.5027 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2473/5.283, allocations: 124.5 MB / 0.7498 GB, free: 4.703 MB / 0.6121 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/5.283, allocations: 71.95 kB / 0.7499 GB, free: 4.633 MB / 0.6121 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.01099/5.294, allocations: 2.339 MB / 0.7522 GB, free: 2.25 MB / 0.6121 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/5.294, allocations: 12 kB / 0.7522 GB, free: 2.238 MB / 0.6121 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.163e-05/5.295, allocations: 7.891 kB / 0.7522 GB, free: 2.23 MB / 0.6121 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/5.295, allocations: 187 kB / 0.7524 GB, free: 2.008 MB / 0.6121 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/5.295, allocations: 0 / 0.7524 GB, free: 2.008 MB / 0.6121 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/5.295, allocations: 7.938 kB / 0.7524 GB, free: 2 MB / 0.6121 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.499e-05/5.295, allocations: 23.98 kB / 0.7524 GB, free: 1.977 MB / 0.6121 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/5.295, allocations: 65.67 kB / 0.7525 GB, free: 1.906 MB / 0.6121 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/5.295, allocations: 0 / 0.7525 GB, free: 1.906 MB / 0.6121 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/5.295, allocations: 0 / 0.7525 GB, free: 1.906 MB / 0.6121 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.515e-05/5.295, allocations: 4 kB / 0.7525 GB, free: 1.902 MB / 0.6121 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005755/5.296, allocations: 265.4 kB / 0.7527 GB, free: 1.605 MB / 0.6121 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/5.296, allocations: 54.56 kB / 0.7528 GB, free: 1.543 MB / 0.6121 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.337e-05/5.296, allocations: 24.92 kB / 0.7528 GB, free: 1.516 MB / 0.6121 GB Notification: Performance of preOpt evalFunc (simulation): time 9.878e-06/5.296, allocations: 0 / 0.7528 GB, free: 1.516 MB / 0.6121 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/5.296, allocations: 75.44 kB / 0.7529 GB, free: 1.43 MB / 0.6121 GB Notification: Performance of pre-optimization done (n=6): time 2.335e-06/5.296, allocations: 0 / 0.7529 GB, free: 1.43 MB / 0.6121 GB Notification: Performance of matching and sorting (n=6): time 0.0003367/5.297, allocations: 101.5 kB / 0.753 GB, free: 1.324 MB / 0.6121 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/5.297, allocations: 55.39 kB / 0.753 GB, free: 1.258 MB / 0.6121 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/5.297, allocations: 117.1 kB / 0.7531 GB, free: 1.133 MB / 0.6121 GB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/5.297, allocations: 29.7 kB / 0.7531 GB, free: 1.098 MB / 0.6121 GB Notification: Performance of collectInitialEqns (initialization): time 4.813e-05/5.297, allocations: 88.06 kB / 0.7532 GB, free: 1.008 MB / 0.6121 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/5.297, allocations: 11.91 kB / 0.7532 GB, free: 0.9961 MB / 0.6121 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-06/5.297, allocations: 0 / 0.7532 GB, free: 0.9961 MB / 0.6121 GB Notification: Performance of setup shared object (initialization): time 0.0001521/5.297, allocations: 318.8 kB / 0.7535 GB, free: 0.6758 MB / 0.6121 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.021e-05/5.297, allocations: 24 kB / 0.7536 GB, free: 0.6523 MB / 0.6121 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.531e-05/5.297, allocations: 31.98 kB / 0.7536 GB, free: 0.6211 MB / 0.6121 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/5.297, allocations: 34.16 kB / 0.7536 GB, free: 0.5898 MB / 0.6121 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/5.297, allocations: 480 / 0.7536 GB, free: 0.5898 MB / 0.6121 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002926/5.298, allocations: 105.5 kB / 0.7537 GB, free: 492 kB / 0.6121 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/5.298, allocations: 4 kB / 0.7537 GB, free: 488 kB / 0.6121 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/5.298, allocations: 0 / 0.7537 GB, free: 488 kB / 0.6121 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/5.298, allocations: 3.906 kB / 0.7537 GB, free: 484 kB / 0.6121 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.025e-05/5.298, allocations: 4 kB / 0.7537 GB, free: 480 kB / 0.6121 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/5.298, allocations: 0 / 0.7537 GB, free: 480 kB / 0.6121 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.01e-05/5.298, allocations: 4 kB / 0.7538 GB, free: 476 kB / 0.6121 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/5.298, allocations: 7.984 kB / 0.7538 GB, free: 468 kB / 0.6121 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.intTab.y,intTab.y,$PRE.intTab.nextTime,intTab.nextTime,$PRE.intTab.index,intTab.index,intRep.y[1],intRep.y[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 0.0001115/5.298, allocations: 109 kB / 0.7539 GB, free: 352 kB / 0.6121 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/5.298, allocations: 7.906 kB / 0.7539 GB, free: 344 kB / 0.6121 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.781e-05/5.298, allocations: 4.375 kB / 0.7539 GB, free: 336 kB / 0.6121 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/5.298, allocations: 7.938 kB / 0.7539 GB, free: 328 kB / 0.6121 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/5.298, allocations: 0 / 0.7539 GB, free: 328 kB / 0.6121 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/5.298, allocations: 7.844 kB / 0.7539 GB, free: 320 kB / 0.6121 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/5.298, allocations: 146.2 kB / 0.754 GB, free: 136 kB / 0.6121 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/5.298, allocations: 8 kB / 0.754 GB, free: 128 kB / 0.6121 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.107e-06/5.298, allocations: 4 kB / 0.754 GB, free: 124 kB / 0.6121 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/5.299, allocations: 0 / 0.754 GB, free: 124 kB / 0.6121 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/5.299, allocations: 0 / 0.754 GB, free: 124 kB / 0.6121 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/5.299, allocations: 0 / 0.754 GB, free: 124 kB / 0.6121 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/5.299, allocations: 0 / 0.754 GB, free: 124 kB / 0.6121 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002832/5.299, allocations: 129.2 kB / 0.7542 GB, free: 15.97 MB / 0.6277 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004079/5.299, allocations: 0.4896 MB / 0.7546 GB, free: 15.46 MB / 0.6277 GB Notification: Performance of postOpt removeConstants (simulation): time 4.621e-05/5.299, allocations: 89.03 kB / 0.7547 GB, free: 15.36 MB / 0.6277 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/5.299, allocations: 3.906 kB / 0.7547 GB, free: 15.35 MB / 0.6277 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.931e-05/5.299, allocations: 4 kB / 0.7547 GB, free: 15.35 MB / 0.6277 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/5.3, allocations: 0 / 0.7547 GB, free: 15.35 MB / 0.6277 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.405e-05/5.3, allocations: 7.984 kB / 0.7547 GB, free: 15.34 MB / 0.6277 GB Notification: Performance of sort global known variables: time 7.909e-05/5.3, allocations: 99.27 kB / 0.7548 GB, free: 15.24 MB / 0.6277 GB Notification: Performance of remove unused functions: time 0.001163/5.301, allocations: 28 kB / 0.7549 GB, free: 15.21 MB / 0.6277 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,intTab.y,intTab.nextTime,intTab.index,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.nextTime,intTab.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003643/5.301, allocations: 131.4 kB / 0.755 GB, free: 15.08 MB / 0.6277 GB Notification: Performance of simCode: created initialization part: time 0.0002845/5.302, allocations: 85.62 kB / 0.7551 GB, free: 14.99 MB / 0.6277 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/5.302, allocations: 0 / 0.7551 GB, free: 14.99 MB / 0.6277 GB Notification: Performance of simCode: created simulation system equations: time 9.945e-05/5.302, allocations: 31.94 kB / 0.7551 GB, free: 14.96 MB / 0.6277 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/5.302, allocations: 11.11 kB / 0.7551 GB, free: 14.95 MB / 0.6277 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004385/5.302, allocations: 120.2 kB / 0.7552 GB, free: 14.81 MB / 0.6277 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004359/5.303, allocations: 0.7046 MB / 0.7559 GB, free: 14.08 MB / 0.6277 GB Notification: Performance of SimCode: time 1.102e-06/5.303, allocations: 4 kB / 0.7559 GB, free: 14.07 MB / 0.6277 GB