Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.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.Integers.Validation.MultiSum,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_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.242/1.242, allocations: 249.4 MB / 256.7 MB, free: 7.055 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.0009802/0.0009802, allocations: 180.4 kB / 316 MB, free: 3.559 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.174/1.174, allocations: 205.2 MB / 0.5667 GB, free: 15.67 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.0008831/0.0008832, allocations: 102 kB / 0.671 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3499/0.3509, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.5282, allocations: 106.3 MB / 0.8847 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4764/1.005, allocations: 132.2 MB / 1.014 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001864/1.005, allocations: 67.81 kB / 1.014 GB, free: 6.316 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.006886/1.012, allocations: 2.18 MB / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/1.012, allocations: 16 kB / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.116e-05/1.012, allocations: 11.81 kB / 1.016 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/1.012, allocations: 198.1 kB / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/1.012, allocations: 4 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/1.012, allocations: 4 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001722/1.012, allocations: 82.91 kB / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/1.013, allocations: 107.7 kB / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/1.013, allocations: 0 / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/1.013, allocations: 0 / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/1.013, allocations: 4 kB / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005538/1.013, allocations: 393.1 kB / 1.017 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005553/1.014, allocations: 127.8 kB / 1.017 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.875e-05/1.014, allocations: 46.84 kB / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/1.014, allocations: 7.359 kB / 1.017 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/1.014, allocations: 34.75 kB / 1.017 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.265e-06/1.014, allocations: 0 / 1.017 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002808/1.014, allocations: 126.3 kB / 1.017 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/1.014, allocations: 51.41 kB / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.609e-05/1.014, allocations: 136.2 kB / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/1.014, allocations: 29.64 kB / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.48e-05/1.014, allocations: 95.09 kB / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/1.014, allocations: 26.94 kB / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-06/1.014, allocations: 0 / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.147e-05/1.014, allocations: 328.7 kB / 1.018 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.561e-05/1.015, allocations: 41.05 kB / 1.018 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.426e-05/1.015, allocations: 37.98 kB / 1.018 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.733e-05/1.015, allocations: 33.55 kB / 1.018 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/1.015, allocations: 4 kB / 1.018 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002032/1.015, allocations: 128.6 kB / 1.018 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/1.015, allocations: 11.84 kB / 1.018 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/1.015, allocations: 0.6875 kB / 1.018 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.338e-06/1.015, allocations: 0 / 1.018 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/1.015, allocations: 47.95 kB / 1.018 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/1.015, allocations: 4 kB / 1.018 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/1.015, allocations: 31.97 kB / 1.018 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/1.015, allocations: 4.859 kB / 1.018 GB, free: 2.32 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001171/1.016, allocations: 108.9 kB / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/1.016, allocations: 11.09 kB / 1.018 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.282e-05/1.016, allocations: 12.25 kB / 1.018 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/1.016, allocations: 0 / 1.018 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.016, allocations: 7.984 kB / 1.018 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/1.016, allocations: 0 / 1.018 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/1.016, allocations: 209.4 kB / 1.018 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.016, allocations: 0 / 1.018 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/1.016, allocations: 55.02 kB / 1.018 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/1.016, allocations: 4.281 kB / 1.018 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/1.016, allocations: 0 / 1.018 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/1.016, allocations: 0.7031 kB / 1.018 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.016, allocations: 3.938 kB / 1.018 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002581/1.016, allocations: 228.6 kB / 1.019 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003562/1.017, allocations: 0.5982 MB / 1.019 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.92e-05/1.017, allocations: 84.95 kB / 1.019 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/1.017, allocations: 4 kB / 1.019 GB, free: 1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/1.017, allocations: 39.81 kB / 1.019 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.713e-05/1.017, allocations: 30.77 kB / 1.019 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/1.017, allocations: 4 kB / 1.019 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.729e-05/1.017, allocations: 108.8 kB / 1.019 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007758/1.018, allocations: 24 kB / 1.02 GB, free: 0.8203 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0001653/1.018, allocations: 103.2 kB / 1.02 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002077/1.019, allocations: 98.52 kB / 1.02 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.019, allocations: 4 kB / 1.02 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/1.019, allocations: 60.11 kB / 1.02 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/1.019, allocations: 15.95 kB / 1.02 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004976/1.019, allocations: 160 kB / 1.02 GB, free: 436 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003818/1.02, allocations: 0.7336 MB / 1.021 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/1.02, allocations: 0 / 1.021 GB, free: 15.67 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1)