Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.128/2.128, allocations: 284.8 MB / 292.1 MB, free: 10.71 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.001588/0.001588, allocations: 183.4 kB / 360.3 MB, free: 7.512 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.645/1.645, allocations: 205.1 MB / 0.6187 GB, free: 13.17 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001211/0.00121, allocations: 78.84 kB / 0.7317 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2423/0.2435, allocations: 121.4 MB / 0.8502 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5432/0.7868, allocations: 115.2 MB / 0.9628 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2052/0.992, allocations: 137 MB / 1.097 GB, free: 3.816 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.9924, allocations: 72.7 kB / 1.097 GB, free: 3.746 MB / 0.698 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.01113/1.004, allocations: 2.146 MB / 1.099 GB, free: 1.617 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/1.004, allocations: 8.5 kB / 1.099 GB, free: 1.609 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.471e-05/1.004, allocations: 7.906 kB / 1.099 GB, free: 1.602 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/1.004, allocations: 211.4 kB / 1.099 GB, free: 1.352 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/1.004, allocations: 4.609 kB / 1.099 GB, free: 1.348 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/1.004, allocations: 8 kB / 1.099 GB, free: 1.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003231/1.004, allocations: 81.17 kB / 1.099 GB, free: 1.262 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/1.005, allocations: 106.4 kB / 1.099 GB, free: 1.152 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/1.005, allocations: 0 / 1.099 GB, free: 1.152 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/1.005, allocations: 6.125 kB / 1.099 GB, free: 1.148 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/1.005, allocations: 2.062 kB / 1.099 GB, free: 1.148 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009491/1.006, allocations: 392.9 kB / 1.099 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/1.007, allocations: 122.5 kB / 1.1 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/1.007, allocations: 49.05 kB / 1.1 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/1.007, allocations: 4.797 kB / 1.1 GB, free: 0.543 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/1.007, allocations: 34.56 kB / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.733e-06/1.007, allocations: 0 / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0004616/1.008, allocations: 125.7 kB / 1.1 GB, free: 380 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/1.008, allocations: 55.41 kB / 1.1 GB, free: 312 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/1.008, allocations: 136.1 kB / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/1.008, allocations: 25.7 kB / 1.1 GB, free: 132 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.108e-05/1.008, allocations: 96.03 kB / 1.1 GB, free: 32 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/1.008, allocations: 27.59 kB / 1.1 GB, free: 4 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.635e-05/1.008, allocations: 4.656 kB / 1.1 GB, free: 0 / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001894/1.008, allocations: 321.4 kB / 1.1 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/1.008, allocations: 39.98 kB / 1.1 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/1.008, allocations: 43.17 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/1.009, allocations: 35.83 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.009, allocations: 4 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003829/1.009, allocations: 121.6 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/1.009, allocations: 4 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/1.009, allocations: 0 / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/1.009, allocations: 8 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005293/1.01, allocations: 47.89 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/1.01, allocations: 3.984 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000385/1.01, allocations: 31.89 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/1.01, allocations: 7.984 kB / 1.101 GB, free: 15.34 MB / 0.7136 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.0001101/1.01, allocations: 115.1 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-05/1.01, allocations: 12.38 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.487e-05/1.01, allocations: 12.5 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/1.01, allocations: 3.984 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.01, allocations: 4 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/1.01, allocations: 0 / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/1.011, allocations: 206 kB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/1.011, allocations: 0.5156 kB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004909/1.011, allocations: 59.83 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/1.011, allocations: 0 / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/1.011, allocations: 0 / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/1.011, allocations: 8.562 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.011, allocations: 0 / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004289/1.012, allocations: 228.9 kB / 1.101 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005441/1.012, allocations: 0.5857 MB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.536e-05/1.012, allocations: 92.86 kB / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.456e-05/1.012, allocations: 4.516 kB / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000412/1.013, allocations: 31.97 kB / 1.102 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/1.013, allocations: 33.64 kB / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/1.013, allocations: 4 kB / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001074/1.013, allocations: 115.3 kB / 1.102 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001179/1.014, allocations: 23.91 kB / 1.102 GB, free: 13.73 MB / 0.7136 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.0001719/1.015, allocations: 107.2 kB / 1.102 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003568/1.015, allocations: 95.91 kB / 1.102 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.015, allocations: 0 / 1.102 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002116/1.015, allocations: 63.98 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/1.015, allocations: 12.17 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007134/1.016, allocations: 172.2 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005333/1.017, allocations: 0.7279 MB / 1.103 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of SimCode: time 6.91e-07/1.017, allocations: 4 kB / 1.103 GB, free: 12.51 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1)