Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests,fileNamePrefix="Buildings_7_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.137/2.137, allocations: 248.6 MB / 255.9 MB, free: 348 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001577/0.001577, allocations: 177.3 kB / 315.1 MB, free: 7.77 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.259/2.259, allocations: 205.1 MB / 0.5658 GB, free: 25.48 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001273/0.001273, allocations: 101 kB / 0.67 GB, free: 2.941 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2917/0.293, allocations: 112.4 MB / 0.7797 GB, free: 2.441 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.529/0.822, allocations: 106.2 MB / 0.8835 GB, free: 77.27 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2199/1.042, allocations: 130.6 MB / 1.011 GB, free: 10.51 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/1.042, allocations: 71.95 kB / 1.011 GB, free: 10.44 MB / 0.6667 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.009869/1.052, allocations: 1.892 MB / 1.013 GB, free: 8.5 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/1.052, allocations: 8 kB / 1.013 GB, free: 8.492 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.327e-05/1.052, allocations: 11.91 kB / 1.013 GB, free: 8.48 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/1.053, allocations: 202.6 kB / 1.013 GB, free: 8.242 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.872e-05/1.053, allocations: 4 kB / 1.013 GB, free: 8.238 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/1.053, allocations: 11.98 kB / 1.013 GB, free: 8.227 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003095/1.053, allocations: 83.98 kB / 1.013 GB, free: 8.145 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/1.053, allocations: 117.7 kB / 1.013 GB, free: 8.023 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/1.053, allocations: 0 / 1.013 GB, free: 8.023 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/1.053, allocations: 0 / 1.013 GB, free: 8.023 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/1.053, allocations: 4 kB / 1.013 GB, free: 8.02 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/1.055, allocations: 432.9 kB / 1.014 GB, free: 7.559 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/1.055, allocations: 110.5 kB / 1.014 GB, free: 7.441 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000228/1.055, allocations: 92.97 kB / 1.014 GB, free: 7.348 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/1.056, allocations: 0 / 1.014 GB, free: 7.348 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/1.056, allocations: 34.56 kB / 1.014 GB, free: 7.305 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=6): time 2.395e-06/1.056, allocations: 4 kB / 1.014 GB, free: 7.301 MB / 0.6667 GB Notification: Performance of matching and sorting (n=6): time 0.0004948/1.056, allocations: 133.6 kB / 1.014 GB, free: 7.164 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.319e-05/1.056, allocations: 85.09 kB / 1.014 GB, free: 7.062 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/1.056, allocations: 131.6 kB / 1.014 GB, free: 6.926 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/1.056, allocations: 25.7 kB / 1.014 GB, free: 6.895 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/1.056, allocations: 96.03 kB / 1.014 GB, free: 6.797 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.853e-05/1.056, allocations: 19.75 kB / 1.014 GB, free: 6.777 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.661e-05/1.057, allocations: 0 / 1.014 GB, free: 6.777 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001306/1.057, allocations: 330.7 kB / 1.015 GB, free: 6.445 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003059/1.057, allocations: 67.98 kB / 1.015 GB, free: 6.379 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/1.057, allocations: 67.98 kB / 1.015 GB, free: 6.312 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/1.057, allocations: 23.98 kB / 1.015 GB, free: 6.289 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/1.057, allocations: 0 / 1.015 GB, free: 6.289 MB / 0.6667 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004178/1.058, allocations: 137.6 kB / 1.015 GB, free: 6.148 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/1.058, allocations: 4 kB / 1.015 GB, free: 6.145 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/1.058, allocations: 3.984 kB / 1.015 GB, free: 6.141 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/1.058, allocations: 4 kB / 1.015 GB, free: 6.137 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005457/1.058, allocations: 55.95 kB / 1.015 GB, free: 6.082 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/1.058, allocations: 0 / 1.015 GB, free: 6.082 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004988/1.059, allocations: 59.86 kB / 1.015 GB, free: 6.023 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/1.059, allocations: 19.88 kB / 1.015 GB, free: 6.004 MB / 0.6667 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.0001584/1.059, allocations: 138.7 kB / 1.015 GB, free: 5.855 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.011e-05/1.059, allocations: 7.906 kB / 1.015 GB, free: 5.848 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.803e-05/1.059, allocations: 12.75 kB / 1.015 GB, free: 5.832 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/1.059, allocations: 0 / 1.015 GB, free: 5.832 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/1.059, allocations: 7.906 kB / 1.015 GB, free: 5.824 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/1.059, allocations: 3.984 kB / 1.015 GB, free: 5.82 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/1.06, allocations: 190.2 kB / 1.016 GB, free: 5.598 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/1.06, allocations: 0 / 1.016 GB, free: 5.598 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004573/1.06, allocations: 59.95 kB / 1.016 GB, free: 5.539 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/1.06, allocations: 0 / 1.016 GB, free: 5.539 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/1.06, allocations: 4 kB / 1.016 GB, free: 5.535 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/1.06, allocations: 0 / 1.016 GB, free: 5.535 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/1.06, allocations: 7.906 kB / 1.016 GB, free: 5.527 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005055/1.061, allocations: 239.4 kB / 1.016 GB, free: 5.277 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000606/1.061, allocations: 0.6077 MB / 1.016 GB, free: 4.652 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 6.011e-05/1.061, allocations: 85.02 kB / 1.016 GB, free: 4.551 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.79e-05/1.061, allocations: 0 / 1.016 GB, free: 4.551 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005487/1.062, allocations: 63.94 kB / 1.017 GB, free: 4.488 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003684/1.062, allocations: 67.92 kB / 1.017 GB, free: 4.422 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.484e-05/1.062, allocations: 4 kB / 1.017 GB, free: 4.418 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0001233/1.063, allocations: 115.2 kB / 1.017 GB, free: 4.305 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001207/1.064, allocations: 24 kB / 1.017 GB, free: 4.281 MB / 0.6667 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.000227/1.064, allocations: 105.4 kB / 1.017 GB, free: 4.172 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0005626/1.065, allocations: 201.6 kB / 1.017 GB, free: 3.969 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.065, allocations: 0 / 1.017 GB, free: 3.969 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003312/1.065, allocations: 137.7 kB / 1.017 GB, free: 3.828 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/1.065, allocations: 11.98 kB / 1.017 GB, free: 3.816 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009443/1.066, allocations: 283.4 kB / 1.017 GB, free: 3.516 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006218/1.067, allocations: 0.7269 MB / 1.018 GB, free: 2.762 MB / 0.6667 GB Notification: Performance of SimCode: time 1.483e-06/1.067, allocations: 0 / 1.018 GB, free: 2.762 MB / 0.6667 GB