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.Continuous.Validation.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.OBC.CDL.Continuous.Validation.NumberOfRequests,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_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.406/4.406, allocations: 433 MB / 440.3 MB, free: 4.832 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5808/4.986, allocations: 104.4 MB / 0.5319 GB, free: 12.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/5.224, allocations: 98.73 MB / 0.6283 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2853/5.509, allocations: 123.6 MB / 0.749 GB, free: 14 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003569/5.51, allocations: 67.61 kB / 0.7491 GB, free: 13.94 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.01343/5.523, allocations: 1.89 MB / 0.7509 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/5.523, allocations: 12 kB / 0.751 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.813e-05/5.523, allocations: 7.906 kB / 0.751 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/5.524, allocations: 198.8 kB / 0.7512 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/5.524, allocations: 4 kB / 0.7512 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.387e-05/5.524, allocations: 4 kB / 0.7512 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004844/5.524, allocations: 87.91 kB / 0.7512 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004449/5.525, allocations: 121.6 kB / 0.7514 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/5.525, allocations: 0 / 0.7514 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.685e-05/5.525, allocations: 8 kB / 0.7514 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/5.525, allocations: 0 / 0.7514 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/5.527, allocations: 429 kB / 0.7518 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004011/5.527, allocations: 106.6 kB / 0.7519 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003341/5.528, allocations: 96.95 kB / 0.752 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/5.528, allocations: 7.938 kB / 0.752 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.982e-05/5.528, allocations: 34.56 kB / 0.752 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 3.507e-06/5.528, allocations: 0 / 0.752 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0006964/5.529, allocations: 133.6 kB / 0.7521 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.989e-05/5.529, allocations: 85.11 kB / 0.7522 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/5.529, allocations: 125.5 kB / 0.7523 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.09e-05/5.529, allocations: 29.7 kB / 0.7524 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.238e-05/5.529, allocations: 88.05 kB / 0.7525 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.22e-05/5.529, allocations: 27.64 kB / 0.7525 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.42e-05/5.529, allocations: 4 kB / 0.7525 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001848/5.529, allocations: 326.8 kB / 0.7528 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002697/5.53, allocations: 63.98 kB / 0.7529 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/5.53, allocations: 67.98 kB / 0.7529 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/5.53, allocations: 23.98 kB / 0.7529 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/5.53, allocations: 0 / 0.7529 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00059/5.531, allocations: 141.8 kB / 0.7531 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/5.531, allocations: 7.938 kB / 0.7531 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/5.531, allocations: 8.047 kB / 0.7531 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/5.531, allocations: 7.922 kB / 0.7531 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007076/5.532, allocations: 59.95 kB / 0.7532 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/5.532, allocations: 0 / 0.7532 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007364/5.532, allocations: 67.86 kB / 0.7532 GB, free: 9.488 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/5.532, allocations: 4 kB / 0.7532 GB, free: 9.484 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 (numReq1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * 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.0002133/5.533, allocations: 138.7 kB / 0.7534 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.603e-05/5.533, allocations: 11.91 kB / 0.7534 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.784e-05/5.533, allocations: 16.41 kB / 0.7534 GB, free: 9.309 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/5.533, allocations: 0 / 0.7534 GB, free: 9.309 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/5.533, allocations: 0 / 0.7534 GB, free: 9.309 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/5.533, allocations: 0 / 0.7534 GB, free: 9.309 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003937/5.533, allocations: 182.1 kB / 0.7536 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/5.533, allocations: 4 kB / 0.7536 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006394/5.534, allocations: 59.89 kB / 0.7536 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/5.534, allocations: 0 / 0.7536 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.038e-05/5.534, allocations: 7.906 kB / 0.7536 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/5.534, allocations: 0 / 0.7536 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/5.534, allocations: 0 / 0.7536 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006601/5.535, allocations: 239.4 kB / 0.7539 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008089/5.536, allocations: 0.6013 MB / 0.7544 GB, free: 8.152 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.128e-05/5.536, allocations: 85.02 kB / 0.7545 GB, free: 8.051 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.771e-05/5.536, allocations: 7.938 kB / 0.7545 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008161/5.537, allocations: 63.95 kB / 0.7546 GB, free: 7.98 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004005/5.537, allocations: 71.81 kB / 0.7547 GB, free: 7.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.959e-05/5.537, allocations: 12.12 kB / 0.7547 GB, free: 7.898 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001504/5.537, allocations: 105.5 kB / 0.7548 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002062/5.539, allocations: 20 kB / 0.7548 GB, free: 7.777 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 (numReq1.y) * Number of discrete states: 1 (numReq1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * 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.0002679/5.54, allocations: 107.2 kB / 0.7549 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000757/5.54, allocations: 201.7 kB / 0.7551 GB, free: 7.461 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/5.541, allocations: 0 / 0.7551 GB, free: 7.461 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005241/5.541, allocations: 137.6 kB / 0.7552 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005009/5.542, allocations: 19.92 kB / 0.7552 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/5.543, allocations: 283.1 kB / 0.7555 GB, free: 7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000622/5.543, allocations: 0.7192 MB / 0.7562 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of SimCode: time 1.102e-06/5.543, allocations: 0 / 0.7562 GB, free: 6.254 MB / 0.6355 GB