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_nonZeroStart.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_nonZeroStart,fileNamePrefix="Buildings_7_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.342/2.342, allocations: 248.6 MB / 255.9 MB, free: 7.094 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.001663/0.001663, allocations: 186.9 kB / 315.1 MB, free: 4.273 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.892/1.892, allocations: 205.1 MB / 0.5658 GB, free: 320 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.00123/0.00123, allocations: 91.31 kB / 0.67 GB, free: 5.527 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4474/0.4487, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.6591, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6086/1.268, allocations: 132.5 MB / 1.013 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/1.268, allocations: 70.89 kB / 1.013 GB, free: 7.668 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.05116/1.319, allocations: 9.008 MB / 1.022 GB, free: 256 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/1.319, allocations: 8 kB / 1.022 GB, free: 248 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/1.32, allocations: 31.72 kB / 1.022 GB, free: 216 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/1.32, allocations: 199.5 kB / 1.022 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002907/1.32, allocations: 251.2 kB / 1.022 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.379e-05/1.32, allocations: 20 kB / 1.022 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005492/1.321, allocations: 135.1 kB / 1.022 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005887/1.321, allocations: 221.1 kB / 1.023 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/1.321, allocations: 7.906 kB / 1.023 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.579e-05/1.322, allocations: 7.484 kB / 1.023 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/1.322, allocations: 4 kB / 1.023 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00175/1.323, allocations: 0.7302 MB / 1.023 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005989/1.324, allocations: 176.6 kB / 1.024 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003008/1.324, allocations: 107.5 kB / 1.024 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.903e-05/1.324, allocations: 12.5 kB / 1.024 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005628/1.325, allocations: 246.8 kB / 1.024 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 5.43e-06/1.325, allocations: 3.984 kB / 1.024 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.0008927/1.326, allocations: 274.8 kB / 1.024 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.259e-05/1.326, allocations: 121.8 kB / 1.024 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/1.326, allocations: 147.4 kB / 1.024 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.062e-05/1.326, allocations: 33.02 kB / 1.024 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.427e-05/1.326, allocations: 101.2 kB / 1.025 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/1.327, allocations: 149.9 kB / 1.025 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/1.327, allocations: 0 / 1.025 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002148/1.327, allocations: 337.4 kB / 1.025 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003846/1.327, allocations: 117.5 kB / 1.025 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004802/1.328, allocations: 215.8 kB / 1.025 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004057/1.328, allocations: 133.7 kB / 1.025 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/1.328, allocations: 0 / 1.025 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001104/1.329, allocations: 404.2 kB / 1.026 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/1.329, allocations: 10.8 kB / 1.026 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/1.329, allocations: 4 kB / 1.026 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.263e-05/1.329, allocations: 7.906 kB / 1.026 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008568/1.33, allocations: 99.45 kB / 1.026 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/1.33, allocations: 8.062 kB / 1.026 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005479/1.331, allocations: 63.66 kB / 1.026 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-05/1.331, allocations: 27.23 kB / 1.026 GB, free: 12.29 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.0001849/1.331, allocations: 122.7 kB / 1.026 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.507e-05/1.331, allocations: 31.62 kB / 1.026 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/1.331, allocations: 31.3 kB / 1.026 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/1.331, allocations: 8 kB / 1.026 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/1.331, allocations: 3.938 kB / 1.026 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/1.331, allocations: 0 / 1.026 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005118/1.332, allocations: 303.4 kB / 1.026 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.677e-06/1.332, allocations: 7.984 kB / 1.026 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008696/1.333, allocations: 75.66 kB / 1.027 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/1.333, allocations: 7.984 kB / 1.027 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.91e-05/1.333, allocations: 7.688 kB / 1.027 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.897e-06/1.333, allocations: 7.938 kB / 1.027 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.333, allocations: 0 / 1.027 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001382/1.334, allocations: 0.5083 MB / 1.027 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001915/1.336, allocations: 1.039 MB / 1.028 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/1.336, allocations: 104.8 kB / 1.028 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.514e-05/1.336, allocations: 11.97 kB / 1.028 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005271/1.337, allocations: 39.97 kB / 1.028 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/1.337, allocations: 40.33 kB / 1.028 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.217e-05/1.337, allocations: 14.67 kB / 1.028 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001339/1.337, allocations: 121.5 kB / 1.028 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001345/1.339, allocations: 67.89 kB / 1.028 GB, free: 10.05 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.0002522/1.339, allocations: 114.4 kB / 1.029 GB, free: 9.934 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009788/1.34, allocations: 333.8 kB / 1.029 GB, free: 9.703 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.34, allocations: 0 / 1.029 GB, free: 9.703 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000472/1.34, allocations: 155 kB / 1.029 GB, free: 9.594 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004214/1.341, allocations: 21.8 kB / 1.029 GB, free: 9.578 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/1.343, allocations: 497.6 kB / 1.03 GB, free: 9.105 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007184/1.343, allocations: 0.8338 MB / 1.03 GB, free: 8.246 MB / 0.6511 GB Notification: Performance of SimCode: time 8.61e-07/1.343, allocations: 384 / 1.03 GB, free: 8.246 MB / 0.6511 GB