Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.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.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_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.144/4.144, allocations: 433 MB / 440.3 MB, free: 4.73 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5741/4.718, allocations: 104.3 MB / 0.5319 GB, free: 12.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/4.968, allocations: 98.71 MB / 0.6283 GB, free: 9.688 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2465/5.214, allocations: 123.6 MB / 0.749 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/5.215, allocations: 75.58 kB / 0.7491 GB, free: 13.81 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.004278/5.219, allocations: 0.8657 MB / 0.75 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/5.219, allocations: 12 kB / 0.75 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/5.219, allocations: 7.906 kB / 0.75 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/5.219, allocations: 171.1 kB / 0.7501 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/5.219, allocations: 4 kB / 0.7501 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/5.22, allocations: 0 / 0.7501 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001298/5.22, allocations: 19.98 kB / 0.7502 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/5.22, allocations: 53.67 kB / 0.7502 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/5.22, allocations: 7.844 kB / 0.7502 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/5.22, allocations: 0 / 0.7502 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/5.22, allocations: 0 / 0.7502 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004963/5.22, allocations: 249.4 kB / 0.7505 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.38e-05/5.221, allocations: 34.5 kB / 0.7505 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.428e-05/5.221, allocations: 8.922 kB / 0.7505 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/5.221, allocations: 4 kB / 0.7505 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/5.221, allocations: 42.5 kB / 0.7505 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.833e-06/5.221, allocations: 7.938 kB / 0.7505 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002186/5.221, allocations: 41.61 kB / 0.7506 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/5.221, allocations: 55.41 kB / 0.7506 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.901e-05/5.221, allocations: 96.98 kB / 0.7507 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/5.221, allocations: 25.7 kB / 0.7508 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/5.221, allocations: 84.05 kB / 0.7508 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/5.221, allocations: 4 kB / 0.7508 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/5.221, allocations: 0 / 0.7508 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001352/5.221, allocations: 322.9 kB / 0.7511 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.094e-05/5.221, allocations: 4 kB / 0.7512 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.227e-05/5.221, allocations: 8 kB / 0.7512 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.001e-05/5.222, allocations: 7.906 kB / 0.7512 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/5.222, allocations: 0 / 0.7512 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001871/5.222, allocations: 49.62 kB / 0.7512 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/5.222, allocations: 4 kB / 0.7512 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/5.222, allocations: 3.984 kB / 0.7512 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/5.222, allocations: 8.078 kB / 0.7512 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/5.222, allocations: 15.98 kB / 0.7512 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/5.222, allocations: 0 / 0.7512 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/5.222, allocations: 4 kB / 0.7513 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/5.222, allocations: 11.92 kB / 0.7513 GB, free: 11.4 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001569/5.223, allocations: 112.9 kB / 0.7514 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.601e-05/5.223, allocations: 0 / 0.7514 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.83e-05/5.223, allocations: 7.312 kB / 0.7514 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/5.223, allocations: 0 / 0.7514 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/5.223, allocations: 0 / 0.7514 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/5.223, allocations: 3.906 kB / 0.7514 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004091/5.223, allocations: 142.2 kB / 0.7515 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/5.223, allocations: 0 / 0.7515 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/5.224, allocations: 15.98 kB / 0.7515 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-06/5.224, allocations: 0 / 0.7515 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/5.224, allocations: 0 / 0.7515 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/5.224, allocations: 0 / 0.7515 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.026e-05/5.224, allocations: 4 kB / 0.7515 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003094/5.224, allocations: 147.4 kB / 0.7517 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004077/5.224, allocations: 0.5116 MB / 0.7522 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.258e-05/5.225, allocations: 77.11 kB / 0.7522 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/5.225, allocations: 0 / 0.7522 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002812/5.225, allocations: 11.98 kB / 0.7523 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.757e-05/5.225, allocations: 11.94 kB / 0.7523 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/5.225, allocations: 4.234 kB / 0.7523 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.599e-05/5.225, allocations: 87.28 kB / 0.7524 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002801/5.228, allocations: 11.94 kB / 0.7524 GB, free: 10.17 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0003149/5.228, allocations: 111.1 kB / 0.7525 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00024/5.229, allocations: 15.98 kB / 0.7525 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/5.229, allocations: 0 / 0.7525 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.172e-05/5.229, allocations: 16.06 kB / 0.7525 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004646/5.229, allocations: 6.578 kB / 0.7525 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005225/5.23, allocations: 71.7 kB / 0.7526 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005361/5.23, allocations: 0.6957 MB / 0.7533 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of SimCode: time 1.072e-06/5.23, allocations: 3.938 kB / 0.7533 GB, free: 9.195 MB / 0.6355 GB