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.Max.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.Max,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",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.238/4.238, allocations: 433 MB / 440.3 MB, free: 4.785 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5375/4.776, allocations: 104.3 MB / 0.5319 GB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/5.014, allocations: 98.73 MB / 0.6283 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2595/5.274, allocations: 123.4 MB / 0.7489 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/5.274, allocations: 75.59 kB / 0.7489 GB, free: 14.06 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.00419/5.278, allocations: 0.9126 MB / 0.7498 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/5.278, allocations: 8 kB / 0.7498 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/5.278, allocations: 7.906 kB / 0.7498 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/5.279, allocations: 163.1 kB / 0.75 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/5.279, allocations: 0 / 0.75 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/5.279, allocations: 4 kB / 0.75 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001187/5.279, allocations: 19.89 kB / 0.75 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/5.279, allocations: 41.7 kB / 0.7501 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/5.279, allocations: 0 / 0.7501 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/5.279, allocations: 4 kB / 0.7501 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/5.279, allocations: 3.938 kB / 0.7501 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007437/5.28, allocations: 297.3 kB / 0.7504 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/5.28, allocations: 26.58 kB / 0.7504 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.744e-05/5.28, allocations: 12.86 kB / 0.7504 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/5.28, allocations: 3.984 kB / 0.7504 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/5.28, allocations: 38.56 kB / 0.7504 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.525e-06/5.28, allocations: 0 / 0.7504 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002304/5.28, allocations: 57.62 kB / 0.7505 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/5.28, allocations: 51.41 kB / 0.7505 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/5.28, allocations: 97 kB / 0.7506 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/5.28, allocations: 25.7 kB / 0.7507 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.188e-05/5.28, allocations: 92.12 kB / 0.7507 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/5.281, allocations: 3.906 kB / 0.7507 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-06/5.281, allocations: 0 / 0.7507 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001305/5.281, allocations: 310.8 kB / 0.751 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.609e-05/5.281, allocations: 12 kB / 0.7511 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.27e-05/5.281, allocations: 12 kB / 0.7511 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.481e-05/5.281, allocations: 11.91 kB / 0.7511 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/5.281, allocations: 7.922 kB / 0.7511 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001453/5.281, allocations: 41.7 kB / 0.7511 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/5.281, allocations: 4 kB / 0.7511 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/5.281, allocations: 4 kB / 0.7511 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/5.281, allocations: 0 / 0.7511 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003032/5.281, allocations: 35.91 kB / 0.7512 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/5.281, allocations: 0 / 0.7512 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/5.282, allocations: 23.89 kB / 0.7512 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/5.282, allocations: 4 kB / 0.7512 GB, free: 11.55 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 (3): * Single equations (assignments): 3 * 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 8.387e-05/5.282, allocations: 101 kB / 0.7513 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-05/5.282, allocations: 4.094 kB / 0.7513 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002123/5.282, allocations: 65.66 kB / 0.7514 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/5.282, allocations: 0 / 0.7514 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/5.282, allocations: 0 / 0.7514 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/5.282, allocations: 0 / 0.7514 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/5.282, allocations: 142.2 kB / 0.7515 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/5.282, allocations: 4 kB / 0.7515 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/5.283, allocations: 19.98 kB / 0.7515 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/5.283, allocations: 3.906 kB / 0.7515 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/5.283, allocations: 0 / 0.7515 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.258e-06/5.283, allocations: 11.92 kB / 0.7515 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/5.283, allocations: 4 kB / 0.7515 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002529/5.283, allocations: 151.5 kB / 0.7517 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003213/5.283, allocations: 0.5116 MB / 0.7522 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/5.283, allocations: 85.05 kB / 0.7523 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/5.283, allocations: 0 / 0.7523 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/5.284, allocations: 19.98 kB / 0.7523 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/5.284, allocations: 3.984 kB / 0.7523 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/5.284, allocations: 7.906 kB / 0.7523 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.874e-05/5.284, allocations: 83.28 kB / 0.7524 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001095/5.285, allocations: 15.94 kB / 0.7524 GB, free: 10.22 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 (3): * Single equations (assignments): 3 * 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.0001908/5.285, allocations: 99.25 kB / 0.7525 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001918/5.285, allocations: 23.98 kB / 0.7525 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/5.285, allocations: 0 / 0.7525 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.273e-05/5.285, allocations: 12 kB / 0.7525 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/5.286, allocations: 7.938 kB / 0.7525 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003698/5.286, allocations: 83.64 kB / 0.7526 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003932/5.286, allocations: 0.6954 MB / 0.7533 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of SimCode: time 9.91e-07/5.286, allocations: 0 / 0.7533 GB, free: 9.25 MB / 0.6355 GB