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.MatrixMax.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.MatrixMax,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax",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.29/4.29, allocations: 433 MB / 440.3 MB, free: 10.79 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2745/4.564, allocations: 104.4 MB / 0.5319 GB, free: 2.336 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6329/5.197, allocations: 98.7 MB / 0.6283 GB, free: 124 kB / 0.4949 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2427/5.44, allocations: 123.2 MB / 0.7487 GB, free: 4.73 MB / 0.6199 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/5.44, allocations: 63.97 kB / 0.7487 GB, free: 4.668 MB / 0.6199 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.009817/5.45, allocations: 2.403 MB / 0.7511 GB, free: 2.207 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/5.45, allocations: 8 kB / 0.7511 GB, free: 2.199 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/5.45, allocations: 23.72 kB / 0.7511 GB, free: 2.176 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004744/5.451, allocations: 266.5 kB / 0.7514 GB, free: 1.875 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/5.451, allocations: 4 kB / 0.7514 GB, free: 1.871 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.931e-05/5.451, allocations: 12 kB / 0.7514 GB, free: 1.859 MB / 0.6199 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005881/5.451, allocations: 212.8 kB / 0.7516 GB, free: 1.652 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006648/5.452, allocations: 316.3 kB / 0.7519 GB, free: 1.316 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/5.452, allocations: 0 / 0.7519 GB, free: 1.316 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.196e-05/5.452, allocations: 0 / 0.7519 GB, free: 1.316 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/5.452, allocations: 11.98 kB / 0.7519 GB, free: 1.305 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001978/5.454, allocations: 1.293 MB / 0.7531 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.129e-05/5.454, allocations: 165.1 kB / 0.7533 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.223e-05/5.454, allocations: 80.14 kB / 0.7534 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.57e-05/5.454, allocations: 79.22 kB / 0.7535 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.233e-05/5.455, allocations: 109.8 kB / 0.7536 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 3.056e-06/5.455, allocations: 8 kB / 0.7536 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 0.0001127/5.455, allocations: 39.7 kB / 0.7536 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.473e-05/5.455, allocations: 51.41 kB / 0.7537 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003901/5.455, allocations: 233.7 kB / 0.7539 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/5.455, allocations: 25.7 kB / 0.7539 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/5.455, allocations: 167.5 kB / 0.7541 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.37e-06/5.455, allocations: 4 kB / 0.7541 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.047e-05/5.455, allocations: 0 / 0.7541 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001499/5.456, allocations: 326.8 kB / 0.7544 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/5.456, allocations: 47.97 kB / 0.7544 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/5.456, allocations: 93.89 kB / 0.7545 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/5.456, allocations: 59.95 kB / 0.7546 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/5.456, allocations: 0 / 0.7546 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004433/5.456, allocations: 161.3 kB / 0.7547 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/5.457, allocations: 8 kB / 0.7547 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/5.457, allocations: 0 / 0.7547 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/5.457, allocations: 8 kB / 0.7547 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/5.457, allocations: 28.2 kB / 0.7548 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/5.457, allocations: 0 / 0.7548 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/5.457, allocations: 19.89 kB / 0.7548 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/5.457, allocations: 8 kB / 0.7548 GB, free: 14.16 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001207/5.457, allocations: 184.2 kB / 0.755 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/5.457, allocations: 112.8 kB / 0.7551 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.1e-05/5.457, allocations: 129.2 kB / 0.7552 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.531e-05/5.457, allocations: 184.2 kB / 0.7554 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-05/5.458, allocations: 176.3 kB / 0.7555 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.912e-05/5.458, allocations: 186.9 kB / 0.7557 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004102/5.458, allocations: 465.6 kB / 0.7562 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.262e-05/5.458, allocations: 101 kB / 0.7563 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.411e-05/5.458, allocations: 101.3 kB / 0.7564 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.071e-05/5.458, allocations: 184.2 kB / 0.7565 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.697e-05/5.458, allocations: 184.2 kB / 0.7567 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.957e-05/5.458, allocations: 184.2 kB / 0.7569 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.639e-05/5.458, allocations: 176.3 kB / 0.7571 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002476/5.459, allocations: 319.6 kB / 0.7574 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002991/5.459, allocations: 0.6797 MB / 0.758 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/5.459, allocations: 197.9 kB / 0.7582 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.882e-05/5.459, allocations: 180.2 kB / 0.7584 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/5.46, allocations: 113 kB / 0.7585 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.753e-05/5.46, allocations: 184.2 kB / 0.7587 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.507e-05/5.46, allocations: 105.3 kB / 0.7588 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0002757/5.46, allocations: 184.4 kB / 0.7589 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001514/5.461, allocations: 43.67 kB / 0.759 GB, free: 9.641 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.0002306/5.462, allocations: 178.5 kB / 0.7592 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002586/5.462, allocations: 63.89 kB / 0.7592 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/5.462, allocations: 4 kB / 0.7592 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.557e-06/5.462, allocations: 0 / 0.7592 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005662/5.463, allocations: 0.5309 MB / 0.7597 GB, free: 8.852 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008207/5.463, allocations: 334.7 kB / 0.7601 GB, free: 8.496 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005279/5.464, allocations: 0.8007 MB / 0.7608 GB, free: 7.672 MB / 0.6355 GB Notification: Performance of SimCode: time 1.693e-06/5.464, allocations: 0 / 0.7608 GB, free: 7.672 MB / 0.6355 GB