Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",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 7.0.3-maint.7.0.x/package.mo): time 1.248/1.248, allocations: 249.4 MB / 256.7 MB, free: 7.102 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001036/0.001037, allocations: 177.2 kB / 316 MB, free: 3.562 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.183/1.183, allocations: 205.2 MB / 0.5667 GB, free: 15.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009147/0.0009146, allocations: 90.2 kB / 0.671 GB, free: 4.766 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3982/0.3991, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.5961, allocations: 106.3 MB / 0.8847 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.94/4.536, allocations: 2.196 GB / 3.081 GB, free: 206.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/4.537, allocations: 91.33 kB / 3.081 GB, free: 206.8 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.1734/4.71, allocations: 85.63 MB / 3.165 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/4.71, allocations: 12 kB / 3.165 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07571/4.786, allocations: 16.39 MB / 3.181 GB, free: 104.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002401/4.788, allocations: 1.032 MB / 3.182 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002235/4.788, allocations: 147.3 kB / 3.182 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003941/4.789, allocations: 68 kB / 3.182 GB, free: 103 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006316/4.795, allocations: 4.131 MB / 3.186 GB, free: 98.88 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003983/4.799, allocations: 2.717 MB / 3.189 GB, free: 96.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/4.799, allocations: 0 / 3.189 GB, free: 96.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002913/4.8, allocations: 0 / 3.189 GB, free: 96.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/4.8, allocations: 28 kB / 3.189 GB, free: 96.07 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03817/4.838, allocations: 10.87 MB / 3.199 GB, free: 85.11 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003586/4.841, allocations: 2.174 MB / 3.202 GB, free: 82.93 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002057/4.844, allocations: 1.53 MB / 3.203 GB, free: 81.39 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003924/4.844, allocations: 0.5983 MB / 3.204 GB, free: 80.67 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002453/4.846, allocations: 1.974 MB / 3.206 GB, free: 78.68 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=101): time 3.296e-06/4.846, allocations: 4 kB / 3.206 GB, free: 78.67 MB / 0.8698 GB Notification: Performance of matching and sorting (n=101): time 0.005519/4.852, allocations: 2.849 MB / 3.208 GB, free: 75.81 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.9e-05/4.852, allocations: 244.3 kB / 3.209 GB, free: 75.51 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008208/4.853, allocations: 0.5739 MB / 3.209 GB, free: 74.93 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002684/4.853, allocations: 29.7 kB / 3.209 GB, free: 74.89 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002477/4.853, allocations: 380.1 kB / 3.209 GB, free: 74.52 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003733/4.854, allocations: 323.1 kB / 3.21 GB, free: 74.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002332/4.854, allocations: 0 / 3.21 GB, free: 74.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001882/4.854, allocations: 386.8 kB / 3.21 GB, free: 73.81 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002021/4.856, allocations: 1.591 MB / 3.212 GB, free: 72.22 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002063/4.858, allocations: 1.721 MB / 3.213 GB, free: 70.46 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001741/4.86, allocations: 1.104 MB / 3.214 GB, free: 69.36 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/4.86, allocations: 0 / 3.214 GB, free: 69.36 MB / 0.8698 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.005466/4.866, allocations: 3.08 MB / 3.217 GB, free: 66.27 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/4.866, allocations: 7.984 kB / 3.217 GB, free: 66.26 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/4.866, allocations: 0 / 3.217 GB, free: 66.26 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006135/4.866, allocations: 84.84 kB / 3.218 GB, free: 66.18 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01813/4.884, allocations: 3.785 MB / 3.221 GB, free: 62.39 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/4.886, allocations: 1.449 MB / 3.223 GB, free: 60.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01937/4.906, allocations: 3.562 MB / 3.226 GB, free: 57.24 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006393/4.906, allocations: 91.83 kB / 3.226 GB, free: 57.15 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 109 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005578/4.907, allocations: 120.9 kB / 3.226 GB, free: 57.03 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003912/4.907, allocations: 90.81 kB / 3.226 GB, free: 56.94 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007716/4.915, allocations: 3.738 MB / 3.23 GB, free: 53.18 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/4.915, allocations: 15.91 kB / 3.23 GB, free: 53.17 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/4.915, allocations: 0 / 3.23 GB, free: 53.17 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/4.915, allocations: 7.984 kB / 3.23 GB, free: 53.16 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008665/4.924, allocations: 5.39 MB / 3.235 GB, free: 47.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/4.924, allocations: 0 / 3.235 GB, free: 47.71 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01816/4.942, allocations: 3.785 MB / 3.239 GB, free: 43.93 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005655/4.943, allocations: 88.72 kB / 3.239 GB, free: 43.84 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005124/4.943, allocations: 71.83 kB / 3.239 GB, free: 43.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001549/4.945, allocations: 1.48 MB / 3.241 GB, free: 42.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/4.945, allocations: 0 / 3.241 GB, free: 42.16 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005757/4.95, allocations: 3.055 MB / 3.244 GB, free: 39.09 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005263/4.956, allocations: 3.462 MB / 3.247 GB, free: 35.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001159/4.957, allocations: 0.624 MB / 3.248 GB, free: 34.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000512/4.957, allocations: 4 kB / 3.248 GB, free: 34.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01761/4.975, allocations: 3.531 MB / 3.251 GB, free: 31.42 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002569/4.975, allocations: 72.88 kB / 3.251 GB, free: 31.35 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005065/4.976, allocations: 91.83 kB / 3.251 GB, free: 31.26 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005703/4.976, allocations: 471.1 kB / 3.252 GB, free: 30.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002748/4.979, allocations: 0.7253 MB / 3.252 GB, free: 30.07 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001492/4.981, allocations: 1.046 MB / 3.253 GB, free: 29.07 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004882/4.986, allocations: 3.441 MB / 3.257 GB, free: 25.62 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/4.986, allocations: 4 kB / 3.257 GB, free: 25.62 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002591/4.988, allocations: 1.809 MB / 3.259 GB, free: 23.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/4.989, allocations: 215.2 kB / 3.259 GB, free: 23.59 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007232/4.997, allocations: 3.234 MB / 3.262 GB, free: 20.32 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002668/4.999, allocations: 1.575 MB / 3.263 GB, free: 18.72 MB / 0.8698 GB Notification: Performance of SimCode: time 7.52e-07/4.999, allocations: 0 / 3.263 GB, free: 18.72 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe 2>&1)