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.MultiMax.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.MultiMax,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",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.237/4.237, allocations: 433 MB / 440.3 MB, free: 4.773 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5539/4.791, allocations: 104.3 MB / 0.5319 GB, free: 12.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/5.021, allocations: 98.73 MB / 0.6283 GB, free: 9.723 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2494/5.271, allocations: 123 MB / 0.7485 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003323/5.271, allocations: 71.59 kB / 0.7485 GB, free: 14.45 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.003186/5.274, allocations: 0.7189 MB / 0.7492 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/5.274, allocations: 8 kB / 0.7492 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.403e-05/5.274, allocations: 7.906 kB / 0.7492 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/5.275, allocations: 182.9 kB / 0.7494 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/5.275, allocations: 4 kB / 0.7494 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/5.275, allocations: 4 kB / 0.7494 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001829/5.275, allocations: 47.86 kB / 0.7495 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/5.275, allocations: 77.53 kB / 0.7496 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/5.275, allocations: 4 kB / 0.7496 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/5.275, allocations: 0 / 0.7496 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/5.275, allocations: 4 kB / 0.7496 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009062/5.276, allocations: 439.8 kB / 0.75 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/5.276, allocations: 173 kB / 0.7501 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.08e-05/5.276, allocations: 88.14 kB / 0.7502 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.173e-05/5.277, allocations: 75.28 kB / 0.7503 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.643e-05/5.277, allocations: 105.8 kB / 0.7504 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 5.681e-06/5.277, allocations: 0 / 0.7504 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 0.0001235/5.277, allocations: 29.64 kB / 0.7504 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/5.277, allocations: 55.41 kB / 0.7505 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/5.277, allocations: 117 kB / 0.7506 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/5.277, allocations: 29.7 kB / 0.7506 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.145e-05/5.277, allocations: 95.89 kB / 0.7507 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-06/5.277, allocations: 0 / 0.7507 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-06/5.277, allocations: 4 kB / 0.7507 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001676/5.277, allocations: 314.8 kB / 0.751 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.948e-05/5.277, allocations: 4 kB / 0.751 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.165e-05/5.277, allocations: 15.98 kB / 0.751 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.759e-05/5.278, allocations: 8 kB / 0.751 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/5.278, allocations: 0 / 0.751 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000212/5.278, allocations: 57.52 kB / 0.7511 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/5.278, allocations: 4 kB / 0.7511 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/5.278, allocations: 0 / 0.7511 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/5.278, allocations: 0 / 0.7511 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.429e-05/5.278, allocations: 4 kB / 0.7511 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/5.278, allocations: 112 / 0.7511 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.716e-05/5.278, allocations: 16.03 kB / 0.7511 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/5.278, allocations: 0 / 0.7511 GB, free: 11.59 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.0001411/5.278, allocations: 184.2 kB / 0.7513 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/5.278, allocations: 105.7 kB / 0.7514 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.853e-05/5.278, allocations: 120.2 kB / 0.7515 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.311e-05/5.279, allocations: 180.3 kB / 0.7517 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.095e-05/5.279, allocations: 180.3 kB / 0.7519 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.95e-05/5.279, allocations: 181.5 kB / 0.752 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003798/5.279, allocations: 397.7 kB / 0.7524 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-05/5.279, allocations: 105 kB / 0.7525 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-05/5.279, allocations: 104.9 kB / 0.7526 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.358e-05/5.279, allocations: 176.3 kB / 0.7528 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/5.28, allocations: 188.2 kB / 0.753 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001033/5.28, allocations: 192.1 kB / 0.7531 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.747e-05/5.28, allocations: 176.3 kB / 0.7533 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002676/5.28, allocations: 303.7 kB / 0.7536 GB, free: 8.902 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003809/5.28, allocations: 0.672 MB / 0.7543 GB, free: 8.203 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/5.281, allocations: 186 kB / 0.7544 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/5.281, allocations: 184.2 kB / 0.7546 GB, free: 7.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/5.281, allocations: 101 kB / 0.7547 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/5.281, allocations: 188.5 kB / 0.7549 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.863e-05/5.281, allocations: 101 kB / 0.755 GB, free: 7.406 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001308/5.281, allocations: 99.48 kB / 0.7551 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002028/5.283, allocations: 7.938 kB / 0.7551 GB, free: 7.301 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 (0): * Single equations (assignments): 0 * 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.00138/5.285, allocations: 178.5 kB / 0.7553 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001397/5.285, allocations: 16.02 kB / 0.7553 GB, free: 7.102 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/5.285, allocations: 4.062 kB / 0.7553 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.876e-06/5.285, allocations: 0 / 0.7553 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005638/5.286, allocations: 0.5224 MB / 0.7558 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004/5.286, allocations: 159.1 kB / 0.7559 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004951/5.286, allocations: 0.7075 MB / 0.7566 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of SimCode: time 1.122e-06/5.287, allocations: 3.938 kB / 0.7566 GB, free: 5.648 MB / 0.6355 GB