Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_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.305/1.305, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.0008817/0.0008817, allocations: 187.3 kB / 361.1 MB, free: 7.102 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.9989/0.9989, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0007597/0.0007597, allocations: 90.8 kB / 0.7325 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1718/0.1726, allocations: 121.5 MB / 0.8512 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.5676, allocations: 115.3 MB / 0.9638 GB, free: 78.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1259/0.6935, allocations: 136.3 MB / 1.097 GB, free: 3.719 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001918/0.6938, allocations: 68.56 kB / 1.097 GB, free: 3.652 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.0005261/0.6943, allocations: 363 kB / 1.097 GB, free: 3.262 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.6943, allocations: 12 kB / 1.097 GB, free: 3.25 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.215e-05/0.6944, allocations: 0.5312 kB / 1.097 GB, free: 3.25 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.648e-05/0.6945, allocations: 163.6 kB / 1.097 GB, free: 3.051 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.6945, allocations: 0.5625 kB / 1.097 GB, free: 3.051 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.723e-06/0.6945, allocations: 4.547 kB / 1.097 GB, free: 3.047 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.319e-05/0.6945, allocations: 9.219 kB / 1.097 GB, free: 3.039 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.997e-05/0.6946, allocations: 25.7 kB / 1.097 GB, free: 3.008 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.799e-06/0.6946, allocations: 0 / 1.097 GB, free: 3.008 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-06/0.6946, allocations: 4.719 kB / 1.097 GB, free: 3.008 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.257e-06/0.6946, allocations: 0 / 1.097 GB, free: 3.008 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002231/0.6948, allocations: 368.4 kB / 1.098 GB, free: 2.613 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.749e-05/0.6949, allocations: 165.1 kB / 1.098 GB, free: 2.441 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.598e-05/0.695, allocations: 84.08 kB / 1.098 GB, free: 2.355 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.695, allocations: 75.28 kB / 1.098 GB, free: 2.281 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.695, allocations: 113.9 kB / 1.098 GB, free: 2.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.543e-06/0.695, allocations: 4.328 kB / 1.098 GB, free: 2.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 5.699e-05/0.6951, allocations: 25.7 kB / 1.098 GB, free: 2.129 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.179e-05/0.6951, allocations: 51.41 kB / 1.098 GB, free: 2.066 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.961e-05/0.6952, allocations: 86.56 kB / 1.098 GB, free: 1.977 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.6952, allocations: 25.7 kB / 1.098 GB, free: 1.945 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.917e-05/0.6952, allocations: 80.14 kB / 1.099 GB, free: 1.863 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.011e-06/0.6952, allocations: 5.094 kB / 1.099 GB, free: 1.859 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.9e-07/0.6952, allocations: 0 / 1.099 GB, free: 1.859 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.366e-05/0.6953, allocations: 322.6 kB / 1.099 GB, free: 1.539 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.334e-06/0.6953, allocations: 0 / 1.099 GB, free: 1.539 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.978e-06/0.6953, allocations: 3.938 kB / 1.099 GB, free: 1.535 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.559e-05/0.6954, allocations: 77.25 kB / 1.099 GB, free: 1.461 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.772e-05/0.6954, allocations: 75.28 kB / 1.099 GB, free: 1.387 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.126e-05/0.6955, allocations: 33.7 kB / 1.099 GB, free: 1.348 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.6955, allocations: 4 kB / 1.099 GB, free: 1.344 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/0.6955, allocations: 76.31 kB / 1.099 GB, free: 1.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.77e-05/0.6955, allocations: 154.5 kB / 1.099 GB, free: 1.117 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.905e-05/0.6956, allocations: 80.81 kB / 1.099 GB, free: 1.039 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.086e-05/0.6956, allocations: 151.8 kB / 1.099 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.935e-05/0.6957, allocations: 87.14 kB / 1.1 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.6957, allocations: 77.12 kB / 1.1 GB, free: 0.7305 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 8.047e-05/0.6958, allocations: 262.1 kB / 1.1 GB, free: 480 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.306e-05/0.6959, allocations: 101 kB / 1.1 GB, free: 372 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.011e-05/0.6959, allocations: 108.8 kB / 1.1 GB, free: 256 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.29e-05/0.696, allocations: 181 kB / 1.1 GB, free: 68 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-05/0.696, allocations: 180.8 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.001e-05/0.6961, allocations: 186.3 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.6962, allocations: 378.9 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.396e-05/0.6963, allocations: 102.8 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.89e-05/0.6963, allocations: 109.4 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.96e-05/0.6964, allocations: 184.8 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.426e-05/0.6964, allocations: 177.7 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.57e-05/0.6965, allocations: 187.1 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.264e-05/0.6965, allocations: 176.3 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.466e-05/0.6966, allocations: 306.8 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001801/0.6968, allocations: 0.6713 MB / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.091e-05/0.6968, allocations: 186.1 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.718e-05/0.6969, allocations: 181.5 kB / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.169e-05/0.697, allocations: 101.5 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/0.697, allocations: 184.8 kB / 1.103 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.697, allocations: 107.3 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.169e-05/0.6971, allocations: 79.94 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007434/0.6978, allocations: 4.531 kB / 1.104 GB, free: 12.44 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.0001073/0.6979, allocations: 175.9 kB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 2.196e-05/0.698, allocations: 4 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.698, allocations: 4.219 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.91e-07/0.698, allocations: 0 / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.6982, allocations: 0.5213 MB / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001465/0.6984, allocations: 127.4 kB / 1.104 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.6986, allocations: 0.6763 MB / 1.105 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.6986, allocations: 6.25 kB / 1.105 GB, free: 10.87 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)