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_nonZeroStart.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_nonZeroStart,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart",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.154/4.154, allocations: 433 MB / 440.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5557/4.71, allocations: 104.3 MB / 0.5319 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/4.97, allocations: 98.72 MB / 0.6283 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2457/5.216, allocations: 124.4 MB / 0.7498 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004693/5.216, allocations: 75.59 kB / 0.7499 GB, free: 13.09 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.05028/5.267, allocations: 8.941 MB / 0.7586 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/5.267, allocations: 8 kB / 0.7586 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/5.267, allocations: 35.62 kB / 0.7587 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/5.267, allocations: 195.6 kB / 0.7589 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002766/5.267, allocations: 255.8 kB / 0.7591 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.941e-05/5.267, allocations: 19.98 kB / 0.7591 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005538/5.268, allocations: 128.9 kB / 0.7593 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006053/5.269, allocations: 228.8 kB / 0.7595 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/5.269, allocations: 0 / 0.7595 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.068e-05/5.269, allocations: 4 kB / 0.7595 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/5.269, allocations: 8 kB / 0.7595 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001813/5.271, allocations: 0.7199 MB / 0.7602 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006895/5.271, allocations: 176.5 kB / 0.7604 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003061/5.272, allocations: 103 kB / 0.7605 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.749e-05/5.272, allocations: 8.172 kB / 0.7605 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006431/5.272, allocations: 246.7 kB / 0.7607 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=48): time 3.878e-06/5.272, allocations: 0 / 0.7607 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.0009543/5.273, allocations: 289.5 kB / 0.761 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.998e-05/5.273, allocations: 114.8 kB / 0.7611 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/5.274, allocations: 158.6 kB / 0.7612 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.208e-05/5.274, allocations: 29.69 kB / 0.7613 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.079e-05/5.274, allocations: 101.3 kB / 0.7614 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/5.274, allocations: 141.9 kB / 0.7615 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/5.274, allocations: 8 kB / 0.7615 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001804/5.274, allocations: 338.8 kB / 0.7618 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004076/5.275, allocations: 117.3 kB / 0.7619 GB, free: 444 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006056/5.275, allocations: 219.5 kB / 0.7621 GB, free: 188 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004216/5.276, allocations: 131.9 kB / 0.7623 GB, free: 56 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/5.276, allocations: 4 kB / 0.7623 GB, free: 52 kB / 0.6355 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001216/5.277, allocations: 397.4 kB / 0.7627 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/5.277, allocations: 7.906 kB / 0.7627 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/5.277, allocations: 4 kB / 0.7627 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.757e-05/5.277, allocations: 4 kB / 0.7627 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008342/5.278, allocations: 103.8 kB / 0.7628 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.286e-05/5.278, allocations: 11.92 kB / 0.7628 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005734/5.279, allocations: 59.75 kB / 0.7628 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.902e-05/5.279, allocations: 20 kB / 0.7629 GB, free: 15.45 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.0002556/5.279, allocations: 127.5 kB / 0.763 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.877e-05/5.279, allocations: 31.56 kB / 0.763 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/5.279, allocations: 37.73 kB / 0.763 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/5.279, allocations: 4 kB / 0.763 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/5.279, allocations: 0 / 0.763 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/5.279, allocations: 7.984 kB / 0.7631 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005573/5.28, allocations: 309.8 kB / 0.7633 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/5.28, allocations: 0 / 0.7633 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009525/5.281, allocations: 79.89 kB / 0.7634 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/5.281, allocations: 0 / 0.7634 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-05/5.281, allocations: 11.98 kB / 0.7634 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/5.281, allocations: 7.938 kB / 0.7634 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/5.281, allocations: 0 / 0.7634 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001419/5.282, allocations: 0.503 MB / 0.7639 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00209/5.284, allocations: 1.041 MB / 0.765 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/5.285, allocations: 104.8 kB / 0.7651 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.247e-05/5.285, allocations: 8 kB / 0.7651 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005525/5.285, allocations: 43.97 kB / 0.7651 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/5.285, allocations: 35.94 kB / 0.7651 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.416e-05/5.286, allocations: 16 kB / 0.7652 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.000142/5.286, allocations: 116.1 kB / 0.7653 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001391/5.287, allocations: 71.84 kB / 0.7653 GB, free: 12.78 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.0003183/5.287, allocations: 115.7 kB / 0.7654 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001406/5.289, allocations: 322.8 kB / 0.7657 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/5.289, allocations: 0 / 0.7657 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005386/5.289, allocations: 167.7 kB / 0.7659 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004758/5.29, allocations: 20.86 kB / 0.7659 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/5.292, allocations: 494.5 kB / 0.7664 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000817/5.293, allocations: 0.8231 MB / 0.7672 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of SimCode: time 1.233e-06/5.293, allocations: 0 / 0.7672 GB, free: 10.8 MB / 0.6511 GB