Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.472/1.472, allocations: 289.8 MB / 297.1 MB, free: 6.676 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.001196/0.001196, allocations: 177.3 kB / 366.3 MB, free: 1.996 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.081/1.081, allocations: 205.1 MB / 0.6256 GB, free: 5.859 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.0008401/0.0008401, allocations: 95.89 kB / 0.7396 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1951/0.1959, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4381/0.6341, allocations: 116.3 MB / 0.9727 GB, free: 68.69 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1427/0.7768, allocations: 137.9 MB / 1.107 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001624/0.777, allocations: 71.89 kB / 1.107 GB, free: 10.57 MB / 0.7136 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.006412/0.7835, allocations: 2.254 MB / 1.11 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.7835, allocations: 12 kB / 1.11 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.963e-05/0.7836, allocations: 20.47 kB / 1.11 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.7838, allocations: 218.7 kB / 1.11 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.7838, allocations: 4 kB / 1.11 GB, free: 8 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.7839, allocations: 4.188 kB / 1.11 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002352/0.7841, allocations: 115.9 kB / 1.11 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.7843, allocations: 113.6 kB / 1.11 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.7843, allocations: 0 / 1.11 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.7843, allocations: 0 / 1.11 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.7843, allocations: 4 kB / 1.11 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.7854, allocations: 0.5285 MB / 1.111 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.7855, allocations: 86.55 kB / 1.111 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.2e-05/0.7856, allocations: 60.83 kB / 1.111 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.7856, allocations: 4 kB / 1.111 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.7857, allocations: 34.69 kB / 1.111 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.7857, allocations: 0 / 1.111 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002659/0.786, allocations: 141.5 kB / 1.111 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.786, allocations: 51.41 kB / 1.111 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.7861, allocations: 165.3 kB / 1.111 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.7862, allocations: 25.7 kB / 1.111 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.026e-05/0.7862, allocations: 96.03 kB / 1.111 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.7863, allocations: 31.55 kB / 1.111 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-06/0.7863, allocations: 2.062 kB / 1.111 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.7864, allocations: 326.8 kB / 1.112 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.805e-05/0.7865, allocations: 51.92 kB / 1.112 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.978e-05/0.7866, allocations: 43.98 kB / 1.112 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.436e-05/0.7866, allocations: 47.97 kB / 1.112 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.7866, allocations: 3.906 kB / 1.112 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002159/0.7869, allocations: 142.6 kB / 1.112 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.7869, allocations: 4 kB / 1.112 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.7869, allocations: 3.906 kB / 1.112 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.876e-06/0.7869, allocations: 0 / 1.112 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003218/0.7872, allocations: 71.94 kB / 1.112 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.7872, allocations: 4 kB / 1.112 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.7875, allocations: 57.11 kB / 1.112 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.7875, allocations: 0 / 1.112 GB, free: 5.699 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: 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 6.639e-05/0.7876, allocations: 105 kB / 1.112 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.761e-05/0.7876, allocations: 15.81 kB / 1.112 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.259e-05/0.7877, allocations: 21.31 kB / 1.112 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.7877, allocations: 0 / 1.112 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.7877, allocations: 7.984 kB / 1.112 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.7877, allocations: 1.781 kB / 1.112 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.7879, allocations: 214.1 kB / 1.112 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.7879, allocations: 3.938 kB / 1.112 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002741/0.7882, allocations: 63.95 kB / 1.112 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.7882, allocations: 7.906 kB / 1.112 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.7882, allocations: 3.984 kB / 1.112 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.7882, allocations: 1.062 kB / 1.112 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.7882, allocations: 0 / 1.112 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002453/0.7885, allocations: 240.7 kB / 1.113 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003252/0.7888, allocations: 0.6097 MB / 1.113 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-05/0.7889, allocations: 88.92 kB / 1.113 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.7889, allocations: 4 kB / 1.113 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002592/0.7892, allocations: 51.95 kB / 1.113 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.7892, allocations: 11.97 kB / 1.113 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.7893, allocations: 4.469 kB / 1.113 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.534e-05/0.7893, allocations: 132.9 kB / 1.114 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008208/0.7902, allocations: 31.92 kB / 1.114 GB, free: 4 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: 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.0001073/0.7903, allocations: 95.25 kB / 1.114 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000207/0.7905, allocations: 112.7 kB / 1.114 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.7905, allocations: 0 / 1.114 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.7906, allocations: 59.98 kB / 1.114 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.7909, allocations: 35.45 kB / 1.114 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004782/0.7913, allocations: 219.2 kB / 1.114 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003658/0.7917, allocations: 0.7504 MB / 1.115 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.7917, allocations: 3.938 kB / 1.115 GB, free: 2.68 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe 2>&1)