Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.552/1.552, allocations: 289.8 MB / 297 MB, free: 6.715 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.001163/0.001163, allocations: 180.7 kB / 366.3 MB, free: 2.004 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.626/1.626, allocations: 205.2 MB / 0.6256 GB, free: 5.812 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.0009063/0.0009062, allocations: 91.58 kB / 0.7396 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2989/0.2998, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7689/1.069, allocations: 116.3 MB / 0.9727 GB, free: 68.3 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.774/5.843, allocations: 2.078 GB / 3.051 GB, free: 353.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/5.843, allocations: 95.3 kB / 3.051 GB, free: 353.6 MB / 0.948 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.2025/6.046, allocations: 86.23 MB / 3.135 GB, free: 299.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/6.046, allocations: 12 kB / 3.135 GB, free: 299.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0823/6.128, allocations: 16.39 MB / 3.151 GB, free: 283 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003345/6.131, allocations: 1.035 MB / 3.152 GB, free: 281.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/6.132, allocations: 54.19 kB / 3.152 GB, free: 281.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000876/6.132, allocations: 64 kB / 3.152 GB, free: 281.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0111/6.144, allocations: 4.131 MB / 3.156 GB, free: 277.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006499/6.15, allocations: 2.713 MB / 3.159 GB, free: 274.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.568e-05/6.15, allocations: 0 / 3.159 GB, free: 274.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004229/6.151, allocations: 3.984 kB / 3.159 GB, free: 274.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.025e-05/6.151, allocations: 32 kB / 3.159 GB, free: 274.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05785/6.209, allocations: 10.85 MB / 3.17 GB, free: 263.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004395/6.213, allocations: 2.174 MB / 3.172 GB, free: 261.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002279/6.215, allocations: 1.519 MB / 3.173 GB, free: 260.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004998/6.216, allocations: 0.5944 MB / 3.174 GB, free: 259.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003209/6.219, allocations: 1.974 MB / 3.176 GB, free: 257.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=101): time 8.756e-06/6.219, allocations: 4 kB / 3.176 GB, free: 257.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=101): time 0.006583/6.226, allocations: 2.842 MB / 3.178 GB, free: 254.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/6.226, allocations: 248.3 kB / 3.179 GB, free: 254.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009517/6.227, allocations: 0.5738 MB / 3.179 GB, free: 253.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003427/6.227, allocations: 25.7 kB / 3.179 GB, free: 253.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003232/6.227, allocations: 384.2 kB / 3.18 GB, free: 253.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004663/6.228, allocations: 323.1 kB / 3.18 GB, free: 253 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002593/6.228, allocations: 0 / 3.18 GB, free: 253 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000159/6.228, allocations: 386.8 kB / 3.18 GB, free: 252.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002171/6.231, allocations: 1.591 MB / 3.182 GB, free: 251.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002266/6.233, allocations: 1.721 MB / 3.184 GB, free: 249.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001943/6.235, allocations: 1.1 MB / 3.185 GB, free: 248.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/6.235, allocations: 4 kB / 3.185 GB, free: 248.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.006026/6.241, allocations: 3.076 MB / 3.188 GB, free: 245.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/6.241, allocations: 8.875 kB / 3.188 GB, free: 245.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/6.241, allocations: 0 / 3.188 GB, free: 245.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006653/6.242, allocations: 88.83 kB / 3.188 GB, free: 245 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01876/6.26, allocations: 3.769 MB / 3.191 GB, free: 241.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/6.262, allocations: 1.453 MB / 3.193 GB, free: 239.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01872/6.281, allocations: 3.55 MB / 3.196 GB, free: 236.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008222/6.282, allocations: 91.83 kB / 3.196 GB, free: 236 MB / 0.948 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.001049/6.283, allocations: 116.9 kB / 3.196 GB, free: 235.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006989/6.284, allocations: 90.88 kB / 3.197 GB, free: 235.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009509/6.293, allocations: 3.742 MB / 3.2 GB, free: 232.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.166e-05/6.293, allocations: 15.98 kB / 3.2 GB, free: 232 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/6.293, allocations: 0 / 3.2 GB, free: 232 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.802e-05/6.293, allocations: 3.984 kB / 3.2 GB, free: 232 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/6.304, allocations: 5.373 MB / 3.205 GB, free: 226.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/6.304, allocations: 0 / 3.205 GB, free: 226.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01871/6.323, allocations: 3.773 MB / 3.209 GB, free: 222.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005888/6.324, allocations: 92.75 kB / 3.209 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005885/6.324, allocations: 67.84 kB / 3.209 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001708/6.326, allocations: 1.484 MB / 3.211 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/6.326, allocations: 7.906 kB / 3.211 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006906/6.333, allocations: 3.051 MB / 3.214 GB, free: 218 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00699/6.34, allocations: 3.466 MB / 3.217 GB, free: 214.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001648/6.341, allocations: 0.6163 MB / 3.218 GB, free: 213.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007778/6.342, allocations: 7.984 kB / 3.218 GB, free: 213.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01849/6.361, allocations: 3.523 MB / 3.221 GB, free: 210.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004516/6.361, allocations: 72.88 kB / 3.221 GB, free: 210.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007949/6.362, allocations: 91.83 kB / 3.221 GB, free: 210.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001026/6.363, allocations: 467.1 kB / 3.222 GB, free: 209.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004227/6.367, allocations: 0.7331 MB / 3.222 GB, free: 209 MB / 0.948 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.002733/6.37, allocations: 1.066 MB / 3.224 GB, free: 208 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006141/6.376, allocations: 3.439 MB / 3.227 GB, free: 204.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/6.376, allocations: 0 / 3.227 GB, free: 204.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003083/6.379, allocations: 1.805 MB / 3.229 GB, free: 202.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/6.381, allocations: 214.2 kB / 3.229 GB, free: 202.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008965/6.39, allocations: 3.226 MB / 3.232 GB, free: 199.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003597/6.394, allocations: 1.57 MB / 3.234 GB, free: 197.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.714e-06/6.394, allocations: 0 / 3.234 GB, free: 197.6 MB / 0.948 GB (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.fmu > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe 2>&1)