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.MovingMean.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.MovingMean,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean",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.366/4.366, allocations: 433 MB / 440.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5349/4.901, allocations: 104.4 MB / 0.5319 GB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/5.133, allocations: 98.72 MB / 0.6283 GB, free: 9.828 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.246/5.379, allocations: 124.4 MB / 0.7498 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003169/5.379, allocations: 75.59 kB / 0.7499 GB, free: 13.15 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.05243/5.432, allocations: 8.939 MB / 0.7586 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/5.432, allocations: 12 kB / 0.7586 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/5.432, allocations: 35.61 kB / 0.7587 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/5.432, allocations: 191.6 kB / 0.7589 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002618/5.433, allocations: 251.8 kB / 0.7591 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.58e-05/5.433, allocations: 20 kB / 0.7591 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005272/5.433, allocations: 132.9 kB / 0.7592 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005854/5.434, allocations: 228.8 kB / 0.7595 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/5.434, allocations: 4 kB / 0.7595 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/5.434, allocations: 3.984 kB / 0.7595 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/5.434, allocations: 8 kB / 0.7595 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002042/5.436, allocations: 0.716 MB / 0.7602 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006614/5.437, allocations: 180.3 kB / 0.7603 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000299/5.437, allocations: 103 kB / 0.7604 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.158e-05/5.437, allocations: 16.17 kB / 0.7605 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005708/5.438, allocations: 246.9 kB / 0.7607 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=48): time 3.176e-06/5.438, allocations: 0 / 0.7607 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.0009361/5.439, allocations: 285.5 kB / 0.761 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.091e-05/5.439, allocations: 110.8 kB / 0.7611 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/5.439, allocations: 158.6 kB / 0.7612 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.45e-05/5.439, allocations: 29.7 kB / 0.7613 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.509e-05/5.439, allocations: 105.3 kB / 0.7614 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000278/5.439, allocations: 149.9 kB / 0.7615 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-05/5.44, allocations: 0 / 0.7615 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001902/5.44, allocations: 338.8 kB / 0.7618 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003988/5.44, allocations: 117.3 kB / 0.7619 GB, free: 500 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004993/5.441, allocations: 219.5 kB / 0.7621 GB, free: 244 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004272/5.441, allocations: 131.9 kB / 0.7623 GB, free: 112 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/5.441, allocations: 0 / 0.7623 GB, free: 112 kB / 0.6355 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001154/5.442, allocations: 405.2 kB / 0.7627 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/5.442, allocations: 7.906 kB / 0.7627 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/5.442, allocations: 4 kB / 0.7627 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-05/5.442, allocations: 4 kB / 0.7627 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/5.443, allocations: 99.83 kB / 0.7628 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.376e-05/5.443, allocations: 11.94 kB / 0.7628 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005791/5.444, allocations: 59.66 kB / 0.7628 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.913e-05/5.444, allocations: 23.98 kB / 0.7629 GB, free: 15.5 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition5,$PRE.movingMean_1.mode,movingMean_1.mode,$whenCondition6,$PRE.movingMean_2.mode,movingMean_2.mode,$whenCondition7,$PRE.movingMean_3.mode,movingMean_3.mode,$whenCondition8,$PRE.movingMean_4.mode,movingMean_4.mode,$whenCondition9,$PRE.movingMean_5.mode,movingMean_5.mode,$whenCondition3,$PRE.movingMean_6.mode,movingMean_6.mode,$whenCondition4,$PRE.movingMean_7.mode,movingMean_7.mode,$whenCondition1,$PRE.movingMean_8.mode,movingMean_8.mode,$whenCondition2,$PRE.movingMean_9.mode,movingMean_9.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0002516/5.444, allocations: 127.6 kB / 0.763 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.449e-05/5.445, allocations: 31.62 kB / 0.763 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/5.445, allocations: 29.73 kB / 0.763 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/5.445, allocations: 8 kB / 0.763 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/5.445, allocations: 0 / 0.763 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/5.445, allocations: 0 / 0.763 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005512/5.445, allocations: 313.7 kB / 0.7633 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/5.445, allocations: 0 / 0.7633 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009044/5.446, allocations: 79.89 kB / 0.7634 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/5.446, allocations: 4 kB / 0.7634 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.815e-05/5.446, allocations: 8 kB / 0.7634 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.375e-06/5.446, allocations: 8 kB / 0.7634 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/5.446, allocations: 4 kB / 0.7634 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001444/5.448, allocations: 0.5107 MB / 0.7639 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002242/5.45, allocations: 1.041 MB / 0.765 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/5.45, allocations: 100.8 kB / 0.7651 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.699e-05/5.45, allocations: 7.984 kB / 0.7651 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005368/5.451, allocations: 39.97 kB / 0.7651 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/5.451, allocations: 39.94 kB / 0.7651 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.587e-05/5.451, allocations: 16 kB / 0.7652 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001374/5.451, allocations: 112.1 kB / 0.7653 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00159/5.453, allocations: 71.83 kB / 0.7653 GB, free: 12.84 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movingMean_1.mu,movingMean_2.mu,movingMean_3.mu,movingMean_4.mu,movingMean_5.mu,movingMean_6.mu,movingMean_7.mu,movingMean_8.mu,movingMean_9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movingMean_1.mode,movingMean_2.mode,movingMean_3.mode,movingMean_4.mode,movingMean_5.mode,$whenCondition4,$whenCondition3,movingMean_6.mode,movingMean_7.mode,$whenCondition2,$whenCondition1,movingMean_8.mode,movingMean_9.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0004351/5.453, allocations: 122.2 kB / 0.7654 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001609/5.455, allocations: 318.8 kB / 0.7657 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.749e-06/5.455, allocations: 4 kB / 0.7658 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007737/5.456, allocations: 163.7 kB / 0.7659 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007898/5.457, allocations: 28.86 kB / 0.7659 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003291/5.46, allocations: 486.2 kB / 0.7664 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001362/5.461, allocations: 0.8231 MB / 0.7672 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of SimCode: time 2.144e-06/5.461, allocations: 3.938 kB / 0.7672 GB, free: 10.85 MB / 0.6511 GB