Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",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.315/1.315, allocations: 285.5 MB / 292.8 MB, free: 10.51 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.0009363/0.0009364, 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 1.013/1.013, 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.0007364/0.0007364, allocations: 98.81 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1795/0.1802, allocations: 121.4 MB / 0.8511 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4338/0.614, allocations: 115.3 MB / 0.9637 GB, free: 78.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1339/0.748, allocations: 136.7 MB / 1.097 GB, free: 3.246 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001944/0.7482, allocations: 77.11 kB / 1.097 GB, free: 3.172 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.002899/0.7511, allocations: 1.189 MB / 1.099 GB, free: 1.977 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.7512, allocations: 12 kB / 1.099 GB, free: 1.965 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.122e-05/0.7513, allocations: 87.09 kB / 1.099 GB, free: 1.879 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.7515, allocations: 276.5 kB / 1.099 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.665e-05/0.7515, allocations: 152.8 kB / 1.099 GB, free: 1.422 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.033e-05/0.7516, allocations: 154.6 kB / 1.099 GB, free: 1.27 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.812e-05/0.7516, allocations: 151.1 kB / 1.099 GB, free: 1.121 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.789e-05/0.7517, allocations: 105.5 kB / 1.099 GB, free: 1.012 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.775e-05/0.7517, allocations: 75.94 kB / 1.099 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.6e-05/0.7518, allocations: 153.6 kB / 1.1 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-05/0.7519, allocations: 150.6 kB / 1.1 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003221/0.7522, allocations: 485.2 kB / 1.1 GB, free: 136 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.7523, allocations: 167.7 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.54e-05/0.7523, allocations: 84.89 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.7524, allocations: 79.86 kB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.7524, allocations: 116.5 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.7524, allocations: 0.5625 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 7.559e-05/0.7525, allocations: 34.17 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.7526, allocations: 60.06 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.7527, allocations: 198 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.7528, allocations: 26.36 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.761e-05/0.7528, allocations: 100.7 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.7528, allocations: 0 / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-06/0.7528, allocations: 0.7188 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.244e-05/0.7529, allocations: 327.7 kB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.566e-05/0.753, allocations: 44.33 kB / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.7531, allocations: 172.8 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004562/0.7536, allocations: 123.8 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.7536, allocations: 3.906 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006865/0.7543, allocations: 269 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.7543, allocations: 4 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.7543, allocations: 4 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.7543, allocations: 13.78 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.7545, allocations: 43.91 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.7545, allocations: 19.88 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.302e-05/0.7546, allocations: 19.78 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.7546, allocations: 13.67 kB / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.875e-05/0.7547, allocations: 192.1 kB / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.989e-05/0.7548, allocations: 112.8 kB / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.384e-05/0.7548, allocations: 109.5 kB / 1.102 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.484e-05/0.7549, allocations: 193.3 kB / 1.103 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-05/0.7549, allocations: 176.3 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.807e-05/0.755, allocations: 180.3 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.7552, allocations: 418 kB / 1.103 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.611e-05/0.7552, allocations: 109 kB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.516e-05/0.7552, allocations: 103.1 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.076e-05/0.7553, allocations: 184.2 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.435e-05/0.7553, allocations: 180.2 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.966e-05/0.7554, allocations: 180.3 kB / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.481e-05/0.7554, allocations: 184.2 kB / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001006/0.7556, allocations: 318.9 kB / 1.105 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001861/0.7557, allocations: 0.6797 MB / 1.105 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.248e-05/0.7558, allocations: 189.9 kB / 1.105 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.242e-05/0.7559, allocations: 180.2 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-05/0.756, allocations: 105 kB / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.841e-05/0.756, allocations: 184.2 kB / 1.106 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.756, allocations: 104.9 kB / 1.106 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.331e-05/0.7561, allocations: 156.6 kB / 1.106 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008281/0.757, allocations: 27.84 kB / 1.106 GB, free: 9.711 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.0001359/0.7571, allocations: 183.2 kB / 1.106 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001354/0.7573, allocations: 92.17 kB / 1.106 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.7573, allocations: 0 / 1.106 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.564e-06/0.7573, allocations: 3.938 kB / 1.106 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.7575, allocations: 0.5237 MB / 1.107 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002674/0.7578, allocations: 223.6 kB / 1.107 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/0.7581, allocations: 0.7312 MB / 1.108 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of SimCode: time 1.252e-06/0.7581, allocations: 0 / 1.108 GB, free: 7.906 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)