Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.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.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Continuous_Examples_NumberOfRequests",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.336/4.336, allocations: 433 MB / 440.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6063/4.942, allocations: 104.3 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/5.197, allocations: 98.73 MB / 0.6283 GB, free: 9.832 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.246/5.443, allocations: 124.6 MB / 0.75 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/5.443, 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.008875/5.452, allocations: 1.595 MB / 0.7516 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/5.452, allocations: 12 kB / 0.7516 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.51e-05/5.452, allocations: 11.81 kB / 0.7516 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/5.453, allocations: 199 kB / 0.7518 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/5.453, allocations: 4 kB / 0.7518 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/5.453, allocations: 7.906 kB / 0.7518 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002242/5.453, allocations: 59.98 kB / 0.7519 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003342/5.453, allocations: 93.77 kB / 0.752 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/5.453, allocations: 0 / 0.752 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/5.453, allocations: 4 kB / 0.752 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/5.453, allocations: 0 / 0.752 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008408/5.454, allocations: 317.3 kB / 0.7523 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/5.455, allocations: 66.56 kB / 0.7523 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/5.455, allocations: 56.97 kB / 0.7524 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/5.455, allocations: 0 / 0.7524 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002344/5.455, allocations: 103.3 kB / 0.7525 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 4.338e-06/5.455, allocations: 0 / 0.7525 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.000376/5.455, allocations: 109.5 kB / 0.7526 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.238e-05/5.456, allocations: 85.11 kB / 0.7527 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/5.456, allocations: 116.9 kB / 0.7528 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/5.456, allocations: 29.7 kB / 0.7528 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.365e-05/5.456, allocations: 92.12 kB / 0.7529 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/5.456, allocations: 19.75 kB / 0.7529 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.753e-05/5.456, allocations: 4 kB / 0.7529 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001385/5.456, allocations: 318.8 kB / 0.7532 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/5.456, allocations: 43.98 kB / 0.7533 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/5.456, allocations: 44 kB / 0.7533 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.926e-05/5.456, allocations: 27.83 kB / 0.7533 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/5.456, allocations: 0 / 0.7533 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003529/5.457, allocations: 121.6 kB / 0.7535 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/5.457, allocations: 8 kB / 0.7535 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/5.457, allocations: 0 / 0.7535 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/5.457, allocations: 0 / 0.7535 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/5.457, allocations: 23.92 kB / 0.7535 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/5.457, allocations: 0 / 0.7535 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003241/5.458, allocations: 31.97 kB / 0.7535 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/5.458, allocations: 8 kB / 0.7535 GB, free: 9.188 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: 6 ($whenCondition1,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * 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.0001672/5.458, allocations: 146.6 kB / 0.7537 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/5.458, allocations: 11.91 kB / 0.7537 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.433e-05/5.458, allocations: 12.36 kB / 0.7537 GB, free: 9 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/5.458, allocations: 0 / 0.7537 GB, free: 9 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/5.458, allocations: 0 / 0.7537 GB, free: 9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/5.458, allocations: 0 / 0.7537 GB, free: 9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/5.458, allocations: 174.1 kB / 0.7539 GB, free: 8.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/5.458, allocations: 3.938 kB / 0.7539 GB, free: 8.789 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/5.458, allocations: 20.08 kB / 0.7539 GB, free: 8.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/5.458, allocations: 3.938 kB / 0.7539 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/5.458, allocations: 4 kB / 0.7539 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/5.458, allocations: 0 / 0.7539 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/5.458, allocations: 0 / 0.7539 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003504/5.459, allocations: 141 kB / 0.754 GB, free: 8.605 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004543/5.459, allocations: 0.5052 MB / 0.7545 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.893e-05/5.459, allocations: 81.02 kB / 0.7546 GB, free: 7.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.003e-05/5.459, allocations: 7.984 kB / 0.7546 GB, free: 7.973 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003169/5.46, allocations: 31.98 kB / 0.7546 GB, free: 7.941 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001993/5.46, allocations: 35.95 kB / 0.7547 GB, free: 7.906 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/5.46, allocations: 0 / 0.7547 GB, free: 7.906 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.311e-05/5.46, allocations: 99.83 kB / 0.7548 GB, free: 7.809 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001784/5.462, allocations: 24 kB / 0.7548 GB, free: 7.785 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: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0003862/5.462, allocations: 103.2 kB / 0.7549 GB, free: 7.676 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004969/5.463, allocations: 167.3 kB / 0.755 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/5.463, allocations: 0 / 0.755 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000237/5.463, allocations: 93.67 kB / 0.7551 GB, free: 7.402 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/5.463, allocations: 11.91 kB / 0.7551 GB, free: 7.391 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006662/5.464, allocations: 152.5 kB / 0.7553 GB, free: 7.219 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003802/5.464, allocations: 0.7036 MB / 0.756 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of SimCode: time 1.192e-06/5.464, allocations: 4 kB / 0.756 GB, free: 6.484 MB / 0.6355 GB