Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Max",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.1-maint.8.0.x/package.mo): time 1.299/1.299, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.0008951/0.0008951, allocations: 177.3 kB / 361.1 MB, free: 7.113 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9947/0.9947, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0007514/0.0007515, allocations: 93.62 kB / 0.7325 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1728/0.1736, allocations: 121.5 MB / 0.8512 GB, free: 2.895 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.573, allocations: 115.3 MB / 0.9638 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1279/0.701, allocations: 137 MB / 1.098 GB, free: 2.969 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001858/0.7012, allocations: 67.91 kB / 1.098 GB, free: 2.902 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.004565/0.7058, allocations: 1.512 MB / 1.099 GB, free: 1.402 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.7058, allocations: 8.5 kB / 1.099 GB, free: 1.395 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.7059, allocations: 9.594 kB / 1.099 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.706, allocations: 178.9 kB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.706, allocations: 4.594 kB / 1.099 GB, free: 1.168 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.706, allocations: 4.625 kB / 1.099 GB, free: 1.164 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001198/0.7062, allocations: 48.5 kB / 1.099 GB, free: 1.117 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.7063, allocations: 70.28 kB / 1.099 GB, free: 1.043 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-06/0.7063, allocations: 4 kB / 1.099 GB, free: 1.039 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.7063, allocations: 0 / 1.099 GB, free: 1.039 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.7063, allocations: 4.609 kB / 1.099 GB, free: 1.035 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000472/0.7068, allocations: 317.1 kB / 1.1 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004015/0.7072, allocations: 94.59 kB / 1.1 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.3e-05/0.7073, allocations: 24.86 kB / 1.1 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.7073, allocations: 8.656 kB / 1.1 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.7073, allocations: 34.56 kB / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.7074, allocations: 0 / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0002129/0.7076, allocations: 83.61 kB / 1.1 GB, free: 432 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.7076, allocations: 55.41 kB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.931e-05/0.7077, allocations: 114.3 kB / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.7077, allocations: 29.7 kB / 1.1 GB, free: 208 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.238e-05/0.7078, allocations: 84.14 kB / 1.1 GB, free: 120 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.7078, allocations: 23.64 kB / 1.1 GB, free: 96 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-06/0.7078, allocations: 0.75 kB / 1.1 GB, free: 96 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.7079, allocations: 314.8 kB / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.635e-05/0.708, allocations: 24 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.993e-05/0.708, allocations: 23.92 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.296e-05/0.7081, allocations: 16 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.7081, allocations: 4 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000146/0.7082, allocations: 85.58 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.7082, allocations: 7.938 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.7082, allocations: 2.156 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.155e-06/0.7083, allocations: 0 / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.7085, allocations: 37.53 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.7085, allocations: 0 / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.7086, allocations: 28.58 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.7086, allocations: 0 / 1.101 GB, free: 15.55 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: 3 (max1.u1,max1.u2,max1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.809e-05/0.7087, allocations: 112.9 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.7087, allocations: 7.906 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001911/0.7089, allocations: 99.8 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.709, allocations: 0 / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.709, allocations: 0.6094 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.709, allocations: 0 / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.7091, allocations: 174.1 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7091, allocations: 0 / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.7093, allocations: 35.97 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.7093, allocations: 0 / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.7094, allocations: 1.875 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.7094, allocations: 7.984 kB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.7094, allocations: 0 / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001859/0.7096, allocations: 190 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002993/0.7099, allocations: 0.5532 MB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.76e-05/0.7099, allocations: 81.67 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.71, allocations: 0 / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.7101, allocations: 26.14 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.713e-05/0.7102, allocations: 19.97 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.7102, allocations: 7.984 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.986e-05/0.7103, allocations: 92.64 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007546/0.711, allocations: 12 kB / 1.102 GB, free: 14.06 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: 3 (max1.u1,max1.u2,max1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001241/0.7112, allocations: 122.8 kB / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001315/0.7113, allocations: 52 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.7113, allocations: 0 / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.24e-05/0.7114, allocations: 39.92 kB / 1.102 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/0.7116, allocations: 8 kB / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003131/0.7119, allocations: 112.3 kB / 1.102 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002404/0.7121, allocations: 0.7162 MB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.7121, allocations: 0 / 1.103 GB, free: 12.95 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)