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.MatrixMin.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.MatrixMin,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin",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.394/4.394, allocations: 433 MB / 440.3 MB, free: 24.67 MB / 354.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2637/4.658, allocations: 104.4 MB / 0.5319 GB, free: 4.484 MB / 434.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5625/5.221, allocations: 98.7 MB / 0.6283 GB, free: 0.6602 MB / 0.5027 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2453/5.466, allocations: 123.2 MB / 0.7486 GB, free: 5.922 MB / 0.6121 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/5.467, allocations: 75.84 kB / 0.7487 GB, free: 5.852 MB / 0.6121 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.009303/5.476, allocations: 2.459 MB / 0.7511 GB, free: 3.34 MB / 0.6121 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/5.476, allocations: 12 kB / 0.7511 GB, free: 3.328 MB / 0.6121 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.728e-05/5.476, allocations: 23.72 kB / 0.7512 GB, free: 3.305 MB / 0.6121 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004713/5.476, allocations: 258.6 kB / 0.7514 GB, free: 3.012 MB / 0.6121 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/5.477, allocations: 8 kB / 0.7514 GB, free: 3.004 MB / 0.6121 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.299e-05/5.477, allocations: 16 kB / 0.7514 GB, free: 2.988 MB / 0.6121 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000612/5.477, allocations: 212.7 kB / 0.7516 GB, free: 2.781 MB / 0.6121 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007565/5.478, allocations: 321.1 kB / 0.7519 GB, free: 2.434 MB / 0.6121 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/5.478, allocations: 0 / 0.7519 GB, free: 2.434 MB / 0.6121 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.546e-05/5.478, allocations: 4 kB / 0.7519 GB, free: 2.43 MB / 0.6121 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/5.478, allocations: 8 kB / 0.7519 GB, free: 2.422 MB / 0.6121 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002176/5.48, allocations: 1.367 MB / 0.7533 GB, free: 0.9883 MB / 0.6121 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/5.48, allocations: 173.1 kB / 0.7534 GB, free: 0.8086 MB / 0.6121 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.448e-05/5.48, allocations: 84.14 kB / 0.7535 GB, free: 0.7227 MB / 0.6121 GB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/5.481, allocations: 79.27 kB / 0.7536 GB, free: 0.6445 MB / 0.6121 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.958e-05/5.481, allocations: 116 kB / 0.7537 GB, free: 0.5234 MB / 0.6121 GB Notification: Performance of pre-optimization done (n=0): time 2.535e-06/5.481, allocations: 0 / 0.7537 GB, free: 0.5234 MB / 0.6121 GB Notification: Performance of matching and sorting (n=0): time 0.0001218/5.481, allocations: 37.52 kB / 0.7537 GB, free: 492 kB / 0.6121 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/5.481, allocations: 51.41 kB / 0.7538 GB, free: 428 kB / 0.6121 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004466/5.481, allocations: 233.7 kB / 0.754 GB, free: 184 kB / 0.6121 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/5.481, allocations: 29.7 kB / 0.754 GB, free: 148 kB / 0.6121 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/5.481, allocations: 175.6 kB / 0.7542 GB, free: 15.96 MB / 0.6277 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-06/5.482, allocations: 0 / 0.7542 GB, free: 15.96 MB / 0.6277 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.364e-05/5.482, allocations: 0 / 0.7542 GB, free: 15.96 MB / 0.6277 GB Notification: Performance of setup shared object (initialization): time 0.0002003/5.482, allocations: 326.8 kB / 0.7545 GB, free: 15.64 MB / 0.6277 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/5.482, allocations: 47.97 kB / 0.7546 GB, free: 15.59 MB / 0.6277 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/5.482, allocations: 102.8 kB / 0.7547 GB, free: 15.46 MB / 0.6277 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/5.482, allocations: 55.95 kB / 0.7547 GB, free: 15.41 MB / 0.6277 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/5.482, allocations: 7.938 kB / 0.7547 GB, free: 15.4 MB / 0.6277 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004629/5.483, allocations: 173.3 kB / 0.7549 GB, free: 15.23 MB / 0.6277 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/5.483, allocations: 4 kB / 0.7549 GB, free: 15.22 MB / 0.6277 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/5.483, allocations: 4 kB / 0.7549 GB, free: 15.22 MB / 0.6277 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/5.483, allocations: 3.984 kB / 0.7549 GB, free: 15.21 MB / 0.6277 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/5.483, allocations: 19.94 kB / 0.7549 GB, free: 15.2 MB / 0.6277 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/5.483, allocations: 7.984 kB / 0.7549 GB, free: 15.19 MB / 0.6277 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/5.483, allocations: 19.84 kB / 0.755 GB, free: 15.17 MB / 0.6277 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/5.483, allocations: 4.25 kB / 0.755 GB, free: 15.16 MB / 0.6277 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.000115/5.483, allocations: 188.2 kB / 0.7551 GB, free: 14.97 MB / 0.6277 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.143e-05/5.483, allocations: 112.8 kB / 0.7552 GB, free: 14.86 MB / 0.6277 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.112e-05/5.484, allocations: 125.2 kB / 0.7554 GB, free: 14.73 MB / 0.6277 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-05/5.484, allocations: 180.2 kB / 0.7555 GB, free: 14.55 MB / 0.6277 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.116e-05/5.484, allocations: 176.3 kB / 0.7557 GB, free: 14.37 MB / 0.6277 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-05/5.484, allocations: 192.2 kB / 0.7559 GB, free: 14.17 MB / 0.6277 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003851/5.484, allocations: 461.7 kB / 0.7563 GB, free: 13.68 MB / 0.6277 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.245e-05/5.484, allocations: 101.3 kB / 0.7564 GB, free: 13.57 MB / 0.6277 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.853e-05/5.484, allocations: 101 kB / 0.7565 GB, free: 13.46 MB / 0.6277 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.974e-05/5.484, allocations: 192.1 kB / 0.7567 GB, free: 13.27 MB / 0.6277 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-05/5.484, allocations: 184.3 kB / 0.7569 GB, free: 13.08 MB / 0.6277 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.523e-05/5.485, allocations: 180.3 kB / 0.7571 GB, free: 12.9 MB / 0.6277 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.412e-05/5.485, allocations: 180.2 kB / 0.7572 GB, free: 12.71 MB / 0.6277 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001979/5.485, allocations: 315.6 kB / 0.7575 GB, free: 12.38 MB / 0.6277 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004163/5.485, allocations: 0.6836 MB / 0.7582 GB, free: 11.67 MB / 0.6277 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/5.485, allocations: 194 kB / 0.7584 GB, free: 11.46 MB / 0.6277 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/5.486, allocations: 192.1 kB / 0.7586 GB, free: 11.26 MB / 0.6277 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/5.486, allocations: 109 kB / 0.7587 GB, free: 11.15 MB / 0.6277 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.998e-05/5.486, allocations: 176.3 kB / 0.7588 GB, free: 10.97 MB / 0.6277 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.293e-05/5.486, allocations: 109.3 kB / 0.7589 GB, free: 10.86 MB / 0.6277 GB Notification: Performance of sort global known variables: time 0.0003437/5.486, allocations: 184.5 kB / 0.7591 GB, free: 10.68 MB / 0.6277 GB Notification: Performance of remove unused functions: time 0.001213/5.487, allocations: 39.75 kB / 0.7592 GB, free: 10.64 MB / 0.6277 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.0001918/5.488, allocations: 174.5 kB / 0.7593 GB, free: 10.45 MB / 0.6277 GB Notification: Performance of simCode: created initialization part: time 0.0002207/5.488, allocations: 63.89 kB / 0.7594 GB, free: 10.39 MB / 0.6277 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/5.488, allocations: 0.5 kB / 0.7594 GB, free: 10.39 MB / 0.6277 GB Notification: Performance of simCode: created simulation system equations: time 2.314e-06/5.488, allocations: 4 kB / 0.7594 GB, free: 10.39 MB / 0.6277 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005439/5.488, allocations: 0.5412 MB / 0.7599 GB, free: 9.844 MB / 0.6277 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009203/5.489, allocations: 332.7 kB / 0.7602 GB, free: 9.484 MB / 0.6277 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005456/5.49, allocations: 0.8057 MB / 0.761 GB, free: 8.656 MB / 0.6277 GB Notification: Performance of SimCode: time 1.072e-06/5.49, allocations: 3.938 kB / 0.761 GB, free: 8.652 MB / 0.6277 GB