Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,fileNamePrefix="Buildings_7_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.279/2.279, allocations: 248.6 MB / 255.9 MB, free: 7.141 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001659/0.001659, allocations: 187.4 kB / 315.1 MB, free: 4.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.867/1.867, allocations: 205.1 MB / 0.5658 GB, free: 356 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001266/0.001265, allocations: 95.31 kB / 0.67 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4514/0.4527, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.6352, allocations: 106.3 MB / 0.8835 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6553/1.291, allocations: 132.5 MB / 1.013 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/1.291, allocations: 70.41 kB / 1.013 GB, free: 7.57 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.04178/1.333, allocations: 9.004 MB / 1.022 GB, free: 168 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/1.333, allocations: 12 kB / 1.022 GB, free: 152 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/1.333, allocations: 35.72 kB / 1.022 GB, free: 116 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/1.333, allocations: 203.5 kB / 1.022 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002691/1.333, allocations: 251.8 kB / 1.022 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.288e-05/1.334, allocations: 23.12 kB / 1.022 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005088/1.334, allocations: 131.9 kB / 1.022 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005724/1.335, allocations: 222.4 kB / 1.023 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/1.335, allocations: 11.02 kB / 1.023 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.677e-05/1.335, allocations: 0 / 1.023 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/1.335, allocations: 15.98 kB / 1.023 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/1.336, allocations: 0.7217 MB / 1.023 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005786/1.337, allocations: 183.7 kB / 1.024 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002951/1.337, allocations: 105.6 kB / 1.024 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.701e-05/1.337, allocations: 8.547 kB / 1.024 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005532/1.338, allocations: 252.2 kB / 1.024 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 2.675e-06/1.338, allocations: 0 / 1.024 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.0008691/1.339, allocations: 276.6 kB / 1.024 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.212e-05/1.339, allocations: 118.5 kB / 1.024 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/1.339, allocations: 151.3 kB / 1.024 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.164e-05/1.339, allocations: 28.52 kB / 1.024 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.639e-05/1.339, allocations: 107.2 kB / 1.025 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/1.339, allocations: 142 kB / 1.025 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/1.34, allocations: 3.688 kB / 1.025 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001575/1.34, allocations: 341.4 kB / 1.025 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000376/1.34, allocations: 115.8 kB / 1.025 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004975/1.341, allocations: 218.1 kB / 1.025 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/1.341, allocations: 130.5 kB / 1.025 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/1.341, allocations: 4 kB / 1.025 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001081/1.342, allocations: 401.3 kB / 1.026 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/1.342, allocations: 4 kB / 1.026 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/1.342, allocations: 4 kB / 1.026 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.761e-05/1.342, allocations: 7.906 kB / 1.026 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000793/1.343, allocations: 107.5 kB / 1.026 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/1.343, allocations: 4.703 kB / 1.026 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005325/1.344, allocations: 59.66 kB / 1.026 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.463e-05/1.344, allocations: 19.88 kB / 1.026 GB, free: 12.19 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.0002174/1.344, allocations: 126.7 kB / 1.026 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.873e-05/1.344, allocations: 27.72 kB / 1.026 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/1.344, allocations: 41.48 kB / 1.026 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/1.344, allocations: 4 kB / 1.026 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.344, allocations: 0 / 1.026 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/1.344, allocations: 3.984 kB / 1.026 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005174/1.345, allocations: 312.1 kB / 1.026 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.345, allocations: 0 / 1.026 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008693/1.346, allocations: 87.45 kB / 1.027 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/1.346, allocations: 0 / 1.027 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.278e-05/1.346, allocations: 11.98 kB / 1.027 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.986e-06/1.346, allocations: 4 kB / 1.027 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.346, allocations: 3.938 kB / 1.027 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001295/1.347, allocations: 0.5014 MB / 1.027 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001878/1.349, allocations: 1.04 MB / 1.028 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.046e-05/1.349, allocations: 104.7 kB / 1.028 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.13e-05/1.349, allocations: 7.75 kB / 1.028 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005007/1.35, allocations: 47.95 kB / 1.028 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/1.35, allocations: 34.02 kB / 1.028 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.528e-05/1.35, allocations: 19.36 kB / 1.028 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001252/1.35, allocations: 118 kB / 1.028 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001311/1.351, allocations: 63.91 kB / 1.028 GB, free: 9.953 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.0002322/1.352, allocations: 113.5 kB / 1.029 GB, free: 9.836 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009442/1.352, allocations: 327.3 kB / 1.029 GB, free: 9.609 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.353, allocations: 0 / 1.029 GB, free: 9.609 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004513/1.353, allocations: 158.1 kB / 1.029 GB, free: 9.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/1.353, allocations: 24 kB / 1.029 GB, free: 9.48 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/1.355, allocations: 498.3 kB / 1.03 GB, free: 9.008 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007253/1.356, allocations: 0.8304 MB / 1.03 GB, free: 8.152 MB / 0.6511 GB Notification: Performance of SimCode: time 8.12e-07/1.356, allocations: 0 / 1.03 GB, free: 8.152 MB / 0.6511 GB