Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.435/1.435, allocations: 289.8 MB / 297.1 MB, free: 9.039 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009586/0.0009586, allocations: 189.2 kB / 366.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.113/1.113, allocations: 205.1 MB / 0.6256 GB, free: 11.45 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008641/0.0008641, allocations: 85.27 kB / 0.7396 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.3763/0.3772, allocations: 122.4 MB / 0.8591 GB, free: 148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.5309, allocations: 116.3 MB / 0.9727 GB, free: 31.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.436/0.9669, allocations: 138.1 MB / 1.108 GB, free: 16.07 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001788/0.9671, allocations: 70.7 kB / 1.108 GB, free: 16.07 MB / 0.6823 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.00642/0.9736, allocations: 2.132 MB / 1.11 GB, free: 15.58 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.9736, allocations: 8.844 kB / 1.11 GB, free: 15.58 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.238e-05/0.9737, allocations: 10.06 kB / 1.11 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.9738, allocations: 214 kB / 1.11 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.9739, allocations: 3.219 kB / 1.11 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.9739, allocations: 4.906 kB / 1.11 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002057/0.9741, allocations: 80.7 kB / 1.11 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.9743, allocations: 101.6 kB / 1.11 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.9743, allocations: 4.5 kB / 1.11 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.9743, allocations: 4.516 kB / 1.11 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.9743, allocations: 2.219 kB / 1.11 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005588/0.9749, allocations: 389.5 kB / 1.111 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005973/0.9755, allocations: 127.4 kB / 1.111 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.784e-05/0.9756, allocations: 56.44 kB / 1.111 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.9756, allocations: 4.453 kB / 1.111 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.217e-05/0.9757, allocations: 31.69 kB / 1.111 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/0.9757, allocations: 0 / 1.111 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0002998/0.976, allocations: 128.7 kB / 1.111 GB, free: 14.94 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.372e-05/0.976, allocations: 54.28 kB / 1.111 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.741e-05/0.9761, allocations: 130.5 kB / 1.111 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.9761, allocations: 26.89 kB / 1.111 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.541e-05/0.9761, allocations: 99.89 kB / 1.111 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.9762, allocations: 29.39 kB / 1.111 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.899e-06/0.9762, allocations: 0 / 1.111 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.338e-05/0.9762, allocations: 322.7 kB / 1.111 GB, free: 14.33 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.947e-05/0.9763, allocations: 38.69 kB / 1.112 GB, free: 14.33 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.521e-05/0.9764, allocations: 40.67 kB / 1.112 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.946e-05/0.9765, allocations: 43.31 kB / 1.112 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.9765, allocations: 0 / 1.112 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002025/0.9767, allocations: 127.3 kB / 1.112 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.9767, allocations: 5.5 kB / 1.112 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.9767, allocations: 0 / 1.112 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.9767, allocations: 2.594 kB / 1.112 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/0.977, allocations: 51.45 kB / 1.112 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.977, allocations: 2.047 kB / 1.112 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.9772, allocations: 36.95 kB / 1.112 GB, free: 14.26 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.9772, allocations: 2.688 kB / 1.112 GB, free: 14.26 MB / 0.6823 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 5.513e-05/0.9773, allocations: 107.8 kB / 1.112 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.9774, allocations: 8.156 kB / 1.112 GB, free: 14.15 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.226e-05/0.9774, allocations: 21.06 kB / 1.112 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.9774, allocations: 1.25 kB / 1.112 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.9774, allocations: 0 / 1.112 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.9774, allocations: 1.531 kB / 1.112 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.9776, allocations: 208.8 kB / 1.112 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.9776, allocations: 0 / 1.112 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002586/0.9779, allocations: 56.86 kB / 1.112 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.9779, allocations: 0.9688 kB / 1.112 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.9779, allocations: 2.5 kB / 1.112 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.9779, allocations: 5 kB / 1.112 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.9779, allocations: 0 / 1.112 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002197/0.9781, allocations: 226.4 kB / 1.112 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002359/0.9784, allocations: 0.5932 MB / 1.113 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.219e-05/0.9784, allocations: 92.33 kB / 1.113 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.9784, allocations: 1.547 kB / 1.113 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.9787, allocations: 31.17 kB / 1.113 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.698e-05/0.9788, allocations: 30.56 kB / 1.113 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.9788, allocations: 4.891 kB / 1.113 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.686e-05/0.9788, allocations: 111.4 kB / 1.113 GB, free: 13.13 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008352/0.9797, allocations: 31.56 kB / 1.113 GB, free: 13.12 MB / 0.6823 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.0001162/0.9798, allocations: 104.2 kB / 1.113 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001876/0.98, allocations: 97.88 kB / 1.113 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.98, allocations: 0 / 1.113 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.9801, allocations: 61.08 kB / 1.114 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.9803, allocations: 13.81 kB / 1.114 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003996/0.9807, allocations: 171.8 kB / 1.114 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003486/0.9811, allocations: 0.7313 MB / 1.114 GB, free: 28.23 MB / 0.698 GB Notification: Performance of SimCode: time 3.21e-07/0.9811, allocations: 0 / 1.114 GB, free: 28.23 MB / 0.698 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1)