Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",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.323/1.323, 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.0009083/0.0009084, allocations: 183.2 kB / 361.1 MB, free: 7.125 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.9936/0.9936, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.0007197/0.00072, allocations: 96.3 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.175/0.1758, allocations: 121.5 MB / 0.8512 GB, free: 2.898 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.5748, allocations: 115.3 MB / 0.9638 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1304/0.7053, allocations: 136.3 MB / 1.097 GB, free: 3.746 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001749/0.7055, allocations: 76.34 kB / 1.097 GB, free: 3.676 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005067/0.706, allocations: 359.5 kB / 1.097 GB, free: 3.285 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.706, allocations: 8 kB / 1.097 GB, free: 3.277 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.247e-05/0.7061, allocations: 0 / 1.097 GB, free: 3.277 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.76e-05/0.7062, allocations: 167 kB / 1.097 GB, free: 3.074 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.7062, allocations: 2.188 kB / 1.097 GB, free: 3.074 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-06/0.7062, allocations: 0 / 1.097 GB, free: 3.074 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.684e-05/0.7062, allocations: 6.031 kB / 1.097 GB, free: 3.07 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.868e-05/0.7063, allocations: 31.2 kB / 1.097 GB, free: 3.035 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.889e-06/0.7063, allocations: 4 kB / 1.097 GB, free: 3.031 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-06/0.7063, allocations: 0 / 1.097 GB, free: 3.031 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.7063, allocations: 0 / 1.097 GB, free: 3.031 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002143/0.7065, allocations: 359.6 kB / 1.098 GB, free: 2.645 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.806e-05/0.7066, allocations: 173.2 kB / 1.098 GB, free: 2.465 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.443e-05/0.7066, allocations: 85.92 kB / 1.098 GB, free: 2.379 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.7066, allocations: 75.28 kB / 1.098 GB, free: 2.305 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.7067, allocations: 107.2 kB / 1.098 GB, free: 2.191 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.7067, allocations: 0 / 1.098 GB, free: 2.191 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.081e-05/0.7068, allocations: 29.69 kB / 1.098 GB, free: 2.156 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.7068, allocations: 59.03 kB / 1.098 GB, free: 2.09 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.743e-05/0.7068, allocations: 85 kB / 1.098 GB, free: 2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.774e-06/0.7069, allocations: 25.7 kB / 1.098 GB, free: 1.969 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.604e-05/0.7069, allocations: 84.08 kB / 1.099 GB, free: 1.883 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.192e-06/0.7069, allocations: 0 / 1.099 GB, free: 1.883 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.41e-07/0.7069, allocations: 0 / 1.099 GB, free: 1.883 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.58e-05/0.707, allocations: 321.9 kB / 1.099 GB, free: 1.562 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.575e-06/0.707, allocations: 0 / 1.099 GB, free: 1.562 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.811e-06/0.707, allocations: 6.438 kB / 1.099 GB, free: 1.559 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.804e-05/0.707, allocations: 79.22 kB / 1.099 GB, free: 1.48 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-05/0.707, allocations: 75.28 kB / 1.099 GB, free: 1.406 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.244e-05/0.7071, allocations: 25.7 kB / 1.099 GB, free: 1.375 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.7071, allocations: 11.98 kB / 1.099 GB, free: 1.363 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/0.7071, allocations: 75.84 kB / 1.099 GB, free: 1.289 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.225e-05/0.7072, allocations: 155.8 kB / 1.099 GB, free: 1.137 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.659e-05/0.7072, allocations: 76.31 kB / 1.099 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.413e-05/0.7072, allocations: 152.2 kB / 1.099 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.254e-05/0.7073, allocations: 83.22 kB / 1.1 GB, free: 0.832 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.7073, allocations: 77.22 kB / 1.1 GB, free: 0.7578 MB / 0.698 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 (0): * Single equations (assignments): 0 * 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 7.676e-05/0.7074, allocations: 258.8 kB / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.03e-05/0.7075, allocations: 110.3 kB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.604e-05/0.7075, allocations: 112.9 kB / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.168e-05/0.7076, allocations: 176.8 kB / 1.1 GB, free: 92 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-05/0.7076, allocations: 176.8 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.12e-05/0.7077, allocations: 181.4 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.7078, allocations: 388.9 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.781e-05/0.7079, allocations: 104.5 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.62e-05/0.7079, allocations: 112.8 kB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.49e-05/0.708, allocations: 179 kB / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-05/0.708, allocations: 184.9 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.066e-05/0.7081, allocations: 181.3 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.269e-05/0.7081, allocations: 176.3 kB / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.447e-05/0.7082, allocations: 306.4 kB / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001689/0.7084, allocations: 0.6656 MB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.094e-05/0.7084, allocations: 190.6 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.822e-05/0.7085, allocations: 181.5 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.246e-05/0.7086, allocations: 105.8 kB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.7086, allocations: 180.9 kB / 1.103 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.7087, allocations: 101 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.162e-05/0.7087, allocations: 80.09 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000761/0.7095, allocations: 8.688 kB / 1.104 GB, free: 12.46 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 (0): * Single equations (assignments): 0 * 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.0001046/0.7096, allocations: 179.2 kB / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 2.222e-05/0.7096, allocations: 0.6562 kB / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.7096, allocations: 0.5312 kB / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.7096, allocations: 224 / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.7098, allocations: 0.531 MB / 1.104 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001324/0.71, allocations: 117.5 kB / 1.104 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.7102, allocations: 0.6841 MB / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of SimCode: time 3.1e-07/0.7102, allocations: 0 / 1.105 GB, free: 10.89 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1)