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.Gain.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.Gain,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain",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.276/4.276, allocations: 433 MB / 440.3 MB, free: 4.801 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5538/4.829, allocations: 104.3 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/5.079, allocations: 98.73 MB / 0.6283 GB, free: 9.734 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2297/5.309, allocations: 123.4 MB / 0.7488 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003775/5.309, allocations: 75.59 kB / 0.7489 GB, free: 14.11 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.003663/5.313, allocations: 0.6508 MB / 0.7495 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.472e-05/5.313, allocations: 12 kB / 0.7495 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.732e-05/5.313, allocations: 0 / 0.7495 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/5.313, allocations: 167 kB / 0.7497 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/5.313, allocations: 4 kB / 0.7497 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/5.313, allocations: 0 / 0.7497 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001191/5.314, allocations: 8 kB / 0.7497 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/5.314, allocations: 37.7 kB / 0.7497 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/5.314, allocations: 3.938 kB / 0.7497 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/5.314, allocations: 3.938 kB / 0.7497 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/5.314, allocations: 4 kB / 0.7497 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007284/5.315, allocations: 249.4 kB / 0.75 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.313e-05/5.315, allocations: 26.58 kB / 0.75 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.347e-05/5.315, allocations: 8.859 kB / 0.75 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/5.315, allocations: 4.062 kB / 0.75 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.705e-05/5.315, allocations: 30.56 kB / 0.7501 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.515e-06/5.315, allocations: 4 kB / 0.7501 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002489/5.315, allocations: 45.55 kB / 0.7501 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/5.315, allocations: 55.39 kB / 0.7502 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/5.315, allocations: 89 kB / 0.7502 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/5.315, allocations: 25.7 kB / 0.7503 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.421e-05/5.315, allocations: 88.14 kB / 0.7503 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/5.316, allocations: 7.844 kB / 0.7504 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-06/5.316, allocations: 0 / 0.7504 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001792/5.316, allocations: 318.9 kB / 0.7507 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.541e-05/5.316, allocations: 8 kB / 0.7507 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.924e-05/5.316, allocations: 4 kB / 0.7507 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.375e-05/5.316, allocations: 7.938 kB / 0.7507 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/5.316, allocations: 0 / 0.7507 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000191/5.316, allocations: 37.7 kB / 0.7507 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/5.316, allocations: 7.906 kB / 0.7507 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/5.316, allocations: 0 / 0.7507 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/5.316, allocations: 0 / 0.7507 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/5.316, allocations: 24.02 kB / 0.7507 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/5.316, allocations: 0 / 0.7507 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/5.317, allocations: 11.98 kB / 0.7508 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/5.317, allocations: 4 kB / 0.7508 GB, free: 11.98 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 (2): * Single equations (assignments): 2 * 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.0001044/5.317, allocations: 105 kB / 0.7509 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.624e-05/5.317, allocations: 3.906 kB / 0.7509 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.639e-05/5.317, allocations: 3.312 kB / 0.7509 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/5.317, allocations: 4 kB / 0.7509 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/5.317, allocations: 0 / 0.7509 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/5.317, allocations: 0 / 0.7509 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/5.317, allocations: 138.2 kB / 0.751 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/5.317, allocations: 0 / 0.751 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/5.317, allocations: 12 kB / 0.751 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/5.317, allocations: 3.906 kB / 0.751 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/5.317, allocations: 0 / 0.751 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/5.317, allocations: 4 kB / 0.751 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/5.317, allocations: 0 / 0.751 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002168/5.318, allocations: 139.4 kB / 0.7512 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000382/5.318, allocations: 0.5116 MB / 0.7517 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.849e-05/5.318, allocations: 81.02 kB / 0.7517 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/5.318, allocations: 7.984 kB / 0.7517 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/5.318, allocations: 8.234 kB / 0.7517 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.923e-05/5.319, allocations: 4 kB / 0.7518 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/5.319, allocations: 8.031 kB / 0.7518 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.216e-05/5.319, allocations: 83.28 kB / 0.7518 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001906/5.321, allocations: 4 kB / 0.7518 GB, free: 10.78 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 (2): * Single equations (assignments): 2 * 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.000259/5.321, allocations: 103.2 kB / 0.7519 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001787/5.321, allocations: 12 kB / 0.752 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/5.321, allocations: 0 / 0.752 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.391e-05/5.321, allocations: 7.938 kB / 0.752 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/5.322, allocations: 19.97 kB / 0.752 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003473/5.322, allocations: 51.92 kB / 0.752 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005066/5.322, allocations: 0.6918 MB / 0.7527 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of SimCode: time 1.282e-06/5.323, allocations: 0 / 0.7527 GB, free: 9.836 MB / 0.6355 GB