Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum",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.3-maint.7.0.x/package.mo): time 1.261/1.261, allocations: 249.4 MB / 256.7 MB, free: 7.074 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.0009568/0.0009569, allocations: 181.2 kB / 316 MB, free: 3.504 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.159/1.159, allocations: 205.2 MB / 0.5667 GB, free: 15.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000809/0.0008091, allocations: 98.14 kB / 0.671 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3376/0.3384, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.4957, allocations: 106.3 MB / 0.8847 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4417/0.9374, allocations: 131.9 MB / 1.013 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001801/0.9376, allocations: 71.58 kB / 1.014 GB, free: 6.582 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.006581/0.9442, allocations: 2.329 MB / 1.016 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.9443, allocations: 8 kB / 1.016 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.9443, allocations: 15.81 kB / 1.016 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.9446, allocations: 221.7 kB / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.295e-06/0.9446, allocations: 4 kB / 1.016 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.9446, allocations: 4 kB / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002107/0.9448, allocations: 114.1 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.945, allocations: 118.5 kB / 1.016 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.842e-06/0.945, allocations: 0 / 1.016 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.945, allocations: 4.75 kB / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.945, allocations: 7.984 kB / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009208/0.946, allocations: 0.5125 MB / 1.017 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.9461, allocations: 93.09 kB / 1.017 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.988e-05/0.9462, allocations: 62.09 kB / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.9462, allocations: 0 / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.9463, allocations: 37.25 kB / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 9.62e-07/0.9463, allocations: 0 / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002785/0.9466, allocations: 151.5 kB / 1.017 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.9466, allocations: 55.41 kB / 1.017 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.9467, allocations: 154.8 kB / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.9467, allocations: 28.33 kB / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/0.9468, allocations: 103.1 kB / 1.017 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.9468, allocations: 30.73 kB / 1.017 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-06/0.9468, allocations: 0 / 1.017 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.9469, allocations: 329.2 kB / 1.018 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.595e-05/0.947, allocations: 45.23 kB / 1.018 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.938e-05/0.9471, allocations: 49.03 kB / 1.018 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.695e-05/0.9472, allocations: 45.72 kB / 1.018 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.9472, allocations: 0 / 1.018 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001955/0.9474, allocations: 139.9 kB / 1.018 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.9474, allocations: 8 kB / 1.018 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.9474, allocations: 0 / 1.018 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.437e-06/0.9474, allocations: 0 / 1.018 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/0.9477, allocations: 71.31 kB / 1.018 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.9477, allocations: 0 / 1.018 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.948, allocations: 55.8 kB / 1.018 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.948, allocations: 4 kB / 1.018 GB, free: 2.152 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 (9): * Single equations (assignments): 9 * 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 7.426e-05/0.9481, allocations: 109.3 kB / 1.018 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.659e-05/0.9481, allocations: 15.81 kB / 1.018 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.086e-05/0.9482, allocations: 23.83 kB / 1.018 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.9482, allocations: 0 / 1.018 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.9482, allocations: 3.938 kB / 1.018 GB, free: 2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.9482, allocations: 0 / 1.018 GB, free: 2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.9484, allocations: 222.5 kB / 1.019 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.9484, allocations: 0 / 1.019 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/0.9487, allocations: 63.95 kB / 1.019 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.9487, allocations: 4 kB / 1.019 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.9487, allocations: 0 / 1.019 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.9487, allocations: 0 / 1.019 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.9488, allocations: 0 / 1.019 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002433/0.949, allocations: 242.2 kB / 1.019 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000309/0.9493, allocations: 0.6131 MB / 1.019 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.517e-05/0.9494, allocations: 92.92 kB / 1.02 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.9494, allocations: 0 / 1.02 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000252/0.9497, allocations: 51.94 kB / 1.02 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.728e-05/0.9497, allocations: 10.67 kB / 1.02 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.9497, allocations: 11.88 kB / 1.02 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001176/0.9499, allocations: 129.9 kB / 1.02 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007634/0.9506, allocations: 27.84 kB / 1.02 GB, free: 0.5625 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 (9): * Single equations (assignments): 9 * 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.0001384/0.9508, allocations: 99.25 kB / 1.02 GB, free: 468 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002307/0.951, allocations: 111.8 kB / 1.02 GB, free: 388 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.951, allocations: 0 / 1.02 GB, free: 388 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.539e-05/0.9511, allocations: 61.61 kB / 1.02 GB, free: 344 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.9514, allocations: 26.8 kB / 1.02 GB, free: 320 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004892/0.9519, allocations: 217.6 kB / 1.02 GB, free: 96 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000308/0.9522, allocations: 0.753 MB / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of SimCode: time 3e-07/0.9522, allocations: 0 / 1.021 GB, free: 15.32 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe 2>&1)