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.RealReplicator.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.RealReplicator,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator",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.383/4.383, allocations: 433 MB / 440.3 MB, free: 4.801 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5399/4.923, allocations: 104.3 MB / 0.5319 GB, free: 13.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/5.156, allocations: 98.72 MB / 0.6283 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2684/5.425, allocations: 123.4 MB / 0.7488 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/5.425, allocations: 71.55 kB / 0.7489 GB, free: 14.1 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.003319/5.428, allocations: 0.6818 MB / 0.7496 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/5.428, allocations: 12 kB / 0.7496 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/5.429, allocations: 0 / 0.7496 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/5.429, allocations: 182.9 kB / 0.7497 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/5.429, allocations: 0 / 0.7497 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/5.429, allocations: 4 kB / 0.7497 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.094e-05/5.429, allocations: 12 kB / 0.7498 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/5.429, allocations: 45.69 kB / 0.7498 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/5.429, allocations: 0 / 0.7498 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/5.429, allocations: 0 / 0.7498 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/5.429, allocations: 0 / 0.7498 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007577/5.43, allocations: 269.2 kB / 0.7501 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.021e-05/5.43, allocations: 22.64 kB / 0.7501 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.501e-05/5.43, allocations: 8.922 kB / 0.7501 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/5.43, allocations: 0 / 0.7501 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.29e-05/5.43, allocations: 30.56 kB / 0.7501 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.833e-06/5.43, allocations: 4 kB / 0.7501 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001987/5.43, allocations: 41.69 kB / 0.7502 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/5.43, allocations: 51.41 kB / 0.7502 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.38e-05/5.43, allocations: 96.94 kB / 0.7503 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/5.431, allocations: 29.64 kB / 0.7503 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.879e-05/5.431, allocations: 88.05 kB / 0.7504 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/5.431, allocations: 0 / 0.7504 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/5.431, allocations: 0 / 0.7504 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001568/5.431, allocations: 322.9 kB / 0.7507 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.317e-05/5.431, allocations: 4 kB / 0.7507 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.78e-05/5.431, allocations: 0 / 0.7507 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.771e-05/5.431, allocations: 7.906 kB / 0.7507 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/5.431, allocations: 0 / 0.7507 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.894e-05/5.431, allocations: 37.7 kB / 0.7508 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/5.431, allocations: 6.969 kB / 0.7508 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/5.431, allocations: 0 / 0.7508 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/5.431, allocations: 0 / 0.7508 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/5.431, allocations: 16.08 kB / 0.7508 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/5.431, allocations: 4 kB / 0.7508 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/5.431, allocations: 7.984 kB / 0.7508 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/5.432, allocations: 0 / 0.7508 GB, free: 11.95 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001327/5.432, allocations: 112.9 kB / 0.7509 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.261e-05/5.432, allocations: 3.938 kB / 0.7509 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.939e-05/5.432, allocations: 7.156 kB / 0.7509 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/5.432, allocations: 0 / 0.7509 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/5.432, allocations: 3.938 kB / 0.7509 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/5.432, allocations: 0 / 0.7509 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003304/5.432, allocations: 146.1 kB / 0.7511 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/5.432, allocations: 0 / 0.7511 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/5.432, allocations: 12 kB / 0.7511 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/5.432, allocations: 0 / 0.7511 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/5.432, allocations: 0 / 0.7511 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/5.432, allocations: 3.984 kB / 0.7511 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/5.432, allocations: 0 / 0.7511 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001667/5.433, allocations: 131.5 kB / 0.7512 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002823/5.433, allocations: 0.5116 MB / 0.7517 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.375e-05/5.433, allocations: 77.11 kB / 0.7518 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/5.433, allocations: 0 / 0.7518 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/5.433, allocations: 15.97 kB / 0.7518 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/5.433, allocations: 256 / 0.7518 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/5.433, allocations: 7.969 kB / 0.7518 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.345e-05/5.433, allocations: 87.28 kB / 0.7519 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001096/5.434, allocations: 7.906 kB / 0.7519 GB, free: 10.73 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0001589/5.435, allocations: 99.23 kB / 0.752 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000118/5.435, allocations: 12 kB / 0.752 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/5.435, allocations: 0 / 0.752 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.858e-05/5.435, allocations: 4 kB / 0.752 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/5.435, allocations: 4.641 kB / 0.752 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003267/5.435, allocations: 67.72 kB / 0.7521 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004129/5.436, allocations: 0.6919 MB / 0.7527 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of SimCode: time 9.11e-07/5.436, allocations: 0 / 0.7527 GB, free: 9.797 MB / 0.6355 GB