Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.15/2.15, allocations: 284.8 MB / 292.1 MB, free: 10.73 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.001567/0.001567, allocations: 181.3 kB / 360.3 MB, free: 7.539 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.623/1.623, allocations: 205.2 MB / 0.6187 GB, free: 13.18 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.00115/0.001149, allocations: 89.69 kB / 0.7317 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2443/0.2455, allocations: 121.4 MB / 0.8502 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5495/0.795, allocations: 115.2 MB / 0.9628 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2028/0.9979, allocations: 136.1 MB / 1.096 GB, free: 4.73 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.9982, allocations: 69.89 kB / 1.096 GB, free: 4.664 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.000715/0.9989, allocations: 368.2 kB / 1.096 GB, free: 4.266 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.999, allocations: 9.188 kB / 1.096 GB, free: 4.258 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.141e-05/0.999, allocations: 4 kB / 1.096 GB, free: 4.254 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.9992, allocations: 163 kB / 1.096 GB, free: 4.055 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.9992, allocations: 3.531 kB / 1.096 GB, free: 4.055 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.9992, allocations: 0.6094 kB / 1.096 GB, free: 4.055 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.861e-05/0.9993, allocations: 0.9375 kB / 1.096 GB, free: 4.055 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.823e-05/0.9994, allocations: 29.7 kB / 1.096 GB, free: 4.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.9994, allocations: 0 / 1.096 GB, free: 4.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.9994, allocations: 0 / 1.096 GB, free: 4.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.9994, allocations: 0.9844 kB / 1.096 GB, free: 4.02 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003064/0.9997, allocations: 370 kB / 1.097 GB, free: 3.621 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.014e-05/0.9998, allocations: 165.1 kB / 1.097 GB, free: 3.449 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.143e-05/0.9999, allocations: 81.33 kB / 1.097 GB, free: 3.367 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.926e-05/0.9999, allocations: 78.91 kB / 1.097 GB, free: 3.293 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.389e-05/1, allocations: 109.8 kB / 1.097 GB, free: 3.176 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.523e-06/1, allocations: 1.969 kB / 1.097 GB, free: 3.176 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.78e-05/1, allocations: 33.64 kB / 1.097 GB, free: 3.137 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/1, allocations: 55.39 kB / 1.097 GB, free: 3.07 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.916e-05/1, allocations: 85 kB / 1.097 GB, free: 2.98 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/1, allocations: 26.55 kB / 1.097 GB, free: 2.949 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.717e-05/1, allocations: 82.08 kB / 1.097 GB, free: 2.867 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/1, allocations: 0 / 1.097 GB, free: 2.867 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-07/1, allocations: 0 / 1.097 GB, free: 2.867 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001983/1.001, allocations: 321.3 kB / 1.098 GB, free: 2.547 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.547e-06/1.001, allocations: 1.156 kB / 1.098 GB, free: 2.547 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.905e-06/1.001, allocations: 0 / 1.098 GB, free: 2.547 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.823e-05/1.001, allocations: 75.28 kB / 1.098 GB, free: 2.473 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.589e-05/1.001, allocations: 78.06 kB / 1.098 GB, free: 2.398 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.934e-05/1.001, allocations: 31.86 kB / 1.098 GB, free: 2.363 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/1.001, allocations: 8 kB / 1.098 GB, free: 2.355 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.662e-05/1.001, allocations: 80.84 kB / 1.098 GB, free: 2.277 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001036/1.001, allocations: 154.5 kB / 1.098 GB, free: 2.125 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.028e-05/1.001, allocations: 79.25 kB / 1.098 GB, free: 2.051 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.774e-05/1.001, allocations: 162.4 kB / 1.098 GB, free: 1.891 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/1.001, allocations: 76.27 kB / 1.098 GB, free: 1.816 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.575e-05/1.001, allocations: 75.28 kB / 1.098 GB, free: 1.742 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 0.0001267/1.001, allocations: 259.2 kB / 1.099 GB, free: 1.48 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.746e-05/1.002, allocations: 111.3 kB / 1.099 GB, free: 1.367 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.476e-05/1.002, allocations: 108 kB / 1.099 GB, free: 1.254 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001051/1.002, allocations: 180.3 kB / 1.099 GB, free: 1.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001181/1.002, allocations: 180.8 kB / 1.099 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.747e-05/1.002, allocations: 177.1 kB / 1.099 GB, free: 0.707 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/1.002, allocations: 386.6 kB / 1.1 GB, free: 292 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-05/1.002, allocations: 106.8 kB / 1.1 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.073e-05/1.002, allocations: 103.1 kB / 1.1 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.194e-05/1.002, allocations: 180.2 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-05/1.002, allocations: 185.3 kB / 1.1 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.555e-05/1.003, allocations: 185.7 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.164e-05/1.003, allocations: 177.2 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001651/1.003, allocations: 301.5 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004073/1.003, allocations: 0.6741 MB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.258e-05/1.003, allocations: 188.2 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.924e-05/1.003, allocations: 180.9 kB / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/1.004, allocations: 109.8 kB / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.687e-05/1.004, allocations: 181.4 kB / 1.102 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-05/1.004, allocations: 101.7 kB / 1.102 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.458e-05/1.004, allocations: 79.41 kB / 1.102 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001135/1.005, allocations: 7.906 kB / 1.102 GB, free: 13.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.000164/1.005, allocations: 170.5 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 3.364e-05/1.005, allocations: 3.938 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.005, allocations: 0 / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.704e-06/1.005, allocations: 0 / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/1.006, allocations: 0.5264 MB / 1.103 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002071/1.006, allocations: 119.4 kB / 1.103 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003041/1.006, allocations: 0.6841 MB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of SimCode: time 3.937e-06/1.006, allocations: 0 / 1.104 GB, free: 11.88 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)