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.Average.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.Average,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",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.152/4.152, allocations: 433 MB / 440.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5352/4.687, allocations: 104.4 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/4.938, allocations: 98.74 MB / 0.6283 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2701/5.208, allocations: 123.4 MB / 0.7489 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004021/5.208, allocations: 71.61 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.006935/5.215, allocations: 0.8971 MB / 0.7498 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.35e-05/5.215, allocations: 16 kB / 0.7498 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.529e-05/5.216, allocations: 3.906 kB / 0.7498 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/5.216, allocations: 171 kB / 0.75 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/5.216, allocations: 0 / 0.75 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/5.216, allocations: 0 / 0.75 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001543/5.216, allocations: 23.91 kB / 0.75 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/5.216, allocations: 45.69 kB / 0.75 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/5.216, allocations: 0 / 0.75 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/5.216, allocations: 3.984 kB / 0.75 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/5.216, allocations: 0 / 0.75 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/5.217, allocations: 293.3 kB / 0.7503 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/5.217, allocations: 30.52 kB / 0.7504 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.987e-05/5.218, allocations: 16.86 kB / 0.7504 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/5.218, allocations: 0 / 0.7504 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/5.218, allocations: 34.64 kB / 0.7504 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.435e-06/5.218, allocations: 4 kB / 0.7504 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003014/5.218, allocations: 49.61 kB / 0.7505 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/5.218, allocations: 51.41 kB / 0.7505 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/5.218, allocations: 101 kB / 0.7506 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/5.218, allocations: 25.7 kB / 0.7506 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.41e-05/5.218, allocations: 84.14 kB / 0.7507 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/5.218, allocations: 3.906 kB / 0.7507 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.233e-05/5.218, allocations: 0 / 0.7507 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001805/5.219, allocations: 334.7 kB / 0.751 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.541e-05/5.219, allocations: 8 kB / 0.751 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.476e-05/5.219, allocations: 8 kB / 0.751 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.878e-05/5.219, allocations: 11.84 kB / 0.7511 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/5.219, allocations: 0 / 0.7511 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002119/5.219, allocations: 49.69 kB / 0.7511 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/5.219, allocations: 8 kB / 0.7511 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/5.219, allocations: 0 / 0.7511 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/5.219, allocations: 0 / 0.7511 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/5.22, allocations: 23.98 kB / 0.7511 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/5.22, allocations: 0 / 0.7511 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/5.22, allocations: 23.89 kB / 0.7512 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/5.22, allocations: 4 kB / 0.7512 GB, free: 11.61 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 (3): * Single equations (assignments): 3 * 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.0001089/5.22, allocations: 101 kB / 0.7513 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.49e-05/5.22, allocations: 7.891 kB / 0.7513 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.603e-05/5.22, allocations: 12 kB / 0.7513 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/5.22, allocations: 3.938 kB / 0.7513 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/5.22, allocations: 0 / 0.7513 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/5.22, allocations: 0 / 0.7513 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000343/5.221, allocations: 146.2 kB / 0.7514 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/5.221, allocations: 0 / 0.7514 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002907/5.221, allocations: 19.98 kB / 0.7514 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/5.221, allocations: 3.984 kB / 0.7514 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/5.221, allocations: 3.906 kB / 0.7514 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/5.221, allocations: 4 kB / 0.7515 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/5.221, allocations: 0 / 0.7515 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002886/5.221, allocations: 147.5 kB / 0.7516 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004755/5.222, allocations: 0.5196 MB / 0.7521 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.671e-05/5.222, allocations: 81.14 kB / 0.7522 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/5.222, allocations: 8 kB / 0.7522 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003147/5.222, allocations: 15.98 kB / 0.7522 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.893e-05/5.222, allocations: 7.984 kB / 0.7522 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/5.222, allocations: 4 kB / 0.7522 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.84e-05/5.223, allocations: 91.19 kB / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003435/5.226, allocations: 8 kB / 0.7523 GB, free: 10.34 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 (3): * Single equations (assignments): 3 * 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.0002822/5.226, allocations: 99.25 kB / 0.7524 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002215/5.227, allocations: 23.94 kB / 0.7524 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/5.227, allocations: 0 / 0.7524 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.352e-05/5.227, allocations: 19.92 kB / 0.7524 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/5.227, allocations: 4 kB / 0.7524 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003546/5.227, allocations: 79.69 kB / 0.7525 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005624/5.228, allocations: 0.7032 MB / 0.7532 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of SimCode: time 1.734e-06/5.228, allocations: 0 / 0.7532 GB, free: 9.355 MB / 0.6355 GB