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.MatrixGain.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.MatrixGain,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",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.425/4.425, allocations: 433 MB / 440.3 MB, free: 10.79 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.313/4.738, allocations: 104.4 MB / 0.5319 GB, free: 2.309 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5005/5.238, allocations: 98.71 MB / 0.6283 GB, free: 88 kB / 0.4949 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2594/5.498, allocations: 123.5 MB / 0.7489 GB, free: 4.434 MB / 0.6199 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/5.498, allocations: 67.97 kB / 0.749 GB, free: 4.367 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.007804/5.506, allocations: 1.594 MB / 0.7505 GB, free: 2.723 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/5.506, allocations: 11.94 kB / 0.7505 GB, free: 2.711 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.744e-05/5.506, allocations: 11.81 kB / 0.7506 GB, free: 2.699 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/5.507, allocations: 206.8 kB / 0.7508 GB, free: 2.457 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/5.507, allocations: 0 / 0.7508 GB, free: 2.457 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/5.507, allocations: 4 kB / 0.7508 GB, free: 2.453 MB / 0.6199 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003548/5.507, allocations: 95.95 kB / 0.7508 GB, free: 2.359 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/5.507, allocations: 111.3 kB / 0.751 GB, free: 2.238 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/5.507, allocations: 7.875 kB / 0.751 GB, free: 2.23 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/5.507, allocations: 0 / 0.751 GB, free: 2.23 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/5.507, allocations: 7.984 kB / 0.751 GB, free: 2.223 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/5.509, allocations: 0.4936 MB / 0.7514 GB, free: 1.688 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003425/5.509, allocations: 121.1 kB / 0.7516 GB, free: 1.551 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/5.509, allocations: 65.8 kB / 0.7516 GB, free: 1.48 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/5.509, allocations: 0 / 0.7516 GB, free: 1.48 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/5.509, allocations: 34.56 kB / 0.7517 GB, free: 1.438 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=8): time 2.515e-06/5.509, allocations: 0 / 0.7517 GB, free: 1.438 MB / 0.6199 GB Notification: Performance of matching and sorting (n=8): time 0.0004784/5.51, allocations: 133.4 kB / 0.7518 GB, free: 1.301 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/5.51, allocations: 81.11 kB / 0.7519 GB, free: 1.203 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/5.51, allocations: 145.3 kB / 0.752 GB, free: 1.059 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/5.51, allocations: 25.7 kB / 0.752 GB, free: 1.027 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 6.046e-05/5.51, allocations: 99.97 kB / 0.7521 GB, free: 0.9258 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 4.499e-05/5.51, allocations: 23.66 kB / 0.7521 GB, free: 0.9023 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.121e-05/5.51, allocations: 0 / 0.7521 GB, free: 0.9023 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.0001337/5.51, allocations: 322.8 kB / 0.7525 GB, free: 0.5781 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/5.511, allocations: 43.98 kB / 0.7525 GB, free: 0.5352 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/5.511, allocations: 61.67 kB / 0.7526 GB, free: 480 kB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/5.511, allocations: 47.97 kB / 0.7526 GB, free: 432 kB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/5.511, allocations: 0 / 0.7526 GB, free: 432 kB / 0.6199 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003626/5.511, allocations: 137.4 kB / 0.7527 GB, free: 288 kB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/5.511, allocations: 4 kB / 0.7527 GB, free: 284 kB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/5.511, allocations: 4 kB / 0.7527 GB, free: 280 kB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/5.511, allocations: 4 kB / 0.7527 GB, free: 276 kB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004524/5.512, allocations: 43.97 kB / 0.7528 GB, free: 232 kB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/5.512, allocations: 0 / 0.7528 GB, free: 232 kB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003074/5.512, allocations: 39.86 kB / 0.7528 GB, free: 192 kB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/5.512, allocations: 4 kB / 0.7528 GB, free: 188 kB / 0.6199 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.0001012/5.512, allocations: 104.9 kB / 0.7529 GB, free: 76 kB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.001e-05/5.512, allocations: 11.91 kB / 0.7529 GB, free: 64 kB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.161e-05/5.513, allocations: 20.03 kB / 0.753 GB, free: 44 kB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/5.513, allocations: 4 kB / 0.753 GB, free: 40 kB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/5.513, allocations: 4 kB / 0.753 GB, free: 36 kB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/5.513, allocations: 0 / 0.753 GB, free: 36 kB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003923/5.513, allocations: 198.1 kB / 0.7532 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/5.513, allocations: 3.938 kB / 0.7532 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003995/5.513, allocations: 47.95 kB / 0.7532 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.073e-05/5.513, allocations: 3.906 kB / 0.7532 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/5.513, allocations: 0 / 0.7532 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/5.513, allocations: 4 kB / 0.7532 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/5.513, allocations: 0 / 0.7532 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005163/5.514, allocations: 332.4 kB / 0.7535 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006844/5.515, allocations: 0.6726 MB / 0.7542 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.316e-05/5.515, allocations: 92.94 kB / 0.7543 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/5.515, allocations: 0 / 0.7543 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004204/5.515, allocations: 31.97 kB / 0.7543 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.566e-05/5.515, allocations: 15.89 kB / 0.7543 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/5.515, allocations: 8 kB / 0.7543 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001352/5.516, allocations: 115.3 kB / 0.7544 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001329/5.517, allocations: 16 kB / 0.7545 GB, free: 14.4 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001984/5.517, allocations: 103.2 kB / 0.7546 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003639/5.517, allocations: 95.91 kB / 0.7546 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/5.518, allocations: 2.188 kB / 0.7546 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001746/5.518, allocations: 59.91 kB / 0.7547 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/5.518, allocations: 12 kB / 0.7547 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007103/5.519, allocations: 180.3 kB / 0.7549 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004454/5.519, allocations: 0.7344 MB / 0.7556 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of SimCode: time 1.232e-06/5.519, allocations: 0 / 0.7556 GB, free: 13.17 MB / 0.6355 GB