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.AddParameter.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.AddParameter,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_AddParameter",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.104/4.104, allocations: 433 MB / 440.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5612/4.665, allocations: 104.4 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/4.912, allocations: 98.72 MB / 0.6283 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2554/5.167, allocations: 123.4 MB / 0.7488 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/5.168, allocations: 75.59 kB / 0.7489 GB, free: 14.14 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.002843/5.171, allocations: 0.6664 MB / 0.7496 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/5.171, allocations: 8 kB / 0.7496 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.296e-05/5.171, allocations: 4 kB / 0.7496 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/5.171, allocations: 171 kB / 0.7497 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/5.171, allocations: 3.938 kB / 0.7497 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/5.171, allocations: 4 kB / 0.7497 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.054e-05/5.171, allocations: 15.94 kB / 0.7497 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.647e-05/5.171, allocations: 33.69 kB / 0.7498 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/5.171, allocations: 0 / 0.7498 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/5.171, allocations: 0 / 0.7498 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/5.171, allocations: 4 kB / 0.7498 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005833/5.172, allocations: 253.4 kB / 0.75 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.273e-05/5.172, allocations: 26.58 kB / 0.7501 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.242e-05/5.172, allocations: 12.92 kB / 0.7501 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/5.172, allocations: 3.938 kB / 0.7501 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/5.172, allocations: 30.56 kB / 0.7501 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.044e-06/5.172, allocations: 4 kB / 0.7501 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000192/5.172, allocations: 41.61 kB / 0.7501 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/5.172, allocations: 51.41 kB / 0.7502 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/5.172, allocations: 101 kB / 0.7503 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/5.172, allocations: 25.7 kB / 0.7503 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.228e-05/5.172, allocations: 80.14 kB / 0.7504 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/5.173, allocations: 3.906 kB / 0.7504 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/5.173, allocations: 0 / 0.7504 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001531/5.173, allocations: 322.9 kB / 0.7507 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.348e-05/5.173, allocations: 0 / 0.7507 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.697e-05/5.173, allocations: 8 kB / 0.7507 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.039e-05/5.173, allocations: 4 kB / 0.7507 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/5.173, allocations: 3.938 kB / 0.7507 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001152/5.173, allocations: 49.53 kB / 0.7508 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/5.173, allocations: 8 kB / 0.7508 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/5.173, allocations: 0 / 0.7508 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/5.173, allocations: 96 / 0.7508 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/5.173, allocations: 15.98 kB / 0.7508 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/5.173, allocations: 0 / 0.7508 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.803e-05/5.173, allocations: 8.25 kB / 0.7508 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/5.173, allocations: 0 / 0.7508 GB, free: 12 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 8.383e-05/5.173, allocations: 109 kB / 0.7509 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.835e-05/5.173, allocations: 7.891 kB / 0.7509 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.802e-05/5.174, allocations: 11.62 kB / 0.7509 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/5.174, allocations: 0 / 0.7509 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/5.174, allocations: 0 / 0.7509 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/5.174, allocations: 0 / 0.7509 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/5.174, allocations: 142.1 kB / 0.7511 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/5.174, allocations: 0 / 0.7511 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/5.174, allocations: 15.98 kB / 0.7511 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/5.174, allocations: 3.938 kB / 0.7511 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-05/5.174, allocations: 0 / 0.7511 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/5.174, allocations: 0 / 0.7511 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.892e-06/5.174, allocations: 0 / 0.7511 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001701/5.174, allocations: 143.4 kB / 0.7512 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003181/5.175, allocations: 0.5155 MB / 0.7517 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/5.175, allocations: 77.11 kB / 0.7518 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/5.175, allocations: 4 kB / 0.7518 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/5.175, allocations: 7.984 kB / 0.7518 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/5.175, allocations: 4 kB / 0.7518 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/5.175, allocations: 4.031 kB / 0.7518 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.294e-05/5.175, allocations: 83.28 kB / 0.7519 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001092/5.176, allocations: 7.906 kB / 0.7519 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.0001794/5.176, allocations: 103.2 kB / 0.752 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001256/5.176, allocations: 12 kB / 0.752 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/5.176, allocations: 0 / 0.752 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.227e-05/5.176, allocations: 11.98 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.0002664/5.177, allocations: 8.125 kB / 0.752 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/5.177, allocations: 63.72 kB / 0.7521 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003447/5.177, allocations: 0.6919 MB / 0.7528 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of SimCode: time 3.848e-06/5.177, allocations: 0 / 0.7528 GB, free: 9.836 MB / 0.6355 GB