Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_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 9.1.1-maint.9.1.x/package.mo): time 2.088/2.088, allocations: 387.2 MB / 394.5 MB, free: 13.69 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 172 kB / 487 MB, free: 5.426 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 221.3 MB / 0.7819 GB, free: 1.398 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 98.12 kB / 0.9213 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5528/0.5539, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.8139, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.559/4.373, allocations: 1.737 GB / 2.943 GB, free: 121.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/4.373, allocations: 79.95 kB / 2.943 GB, free: 121.5 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 295 * Number of variables: 295 Notification: Performance of Generate backend data structure: time 0.1757/4.549, allocations: 82.82 MB / 3.024 GB, free: 38.35 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/4.549, allocations: 8 kB / 3.024 GB, free: 38.34 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08294/4.632, allocations: 16.39 MB / 3.04 GB, free: 21.94 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002504/4.634, allocations: 1.176 MB / 3.041 GB, free: 20.72 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.836e-05/4.635, allocations: 40 kB / 3.041 GB, free: 20.68 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003777/4.635, allocations: 64 kB / 3.041 GB, free: 20.62 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007102/4.642, allocations: 4.603 MB / 3.045 GB, free: 16.01 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004314/4.646, allocations: 2.96 MB / 3.048 GB, free: 12.98 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/4.646, allocations: 4 kB / 3.048 GB, free: 12.98 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002896/4.647, allocations: 0 / 3.048 GB, free: 12.98 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/4.647, allocations: 28 kB / 3.048 GB, free: 12.95 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0443/4.691, allocations: 12.52 MB / 3.06 GB, free: 356 kB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4691/5.16, allocations: 2.507 MB / 3.063 GB, free: 0.512 GB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002607/5.163, allocations: 1.797 MB / 3.065 GB, free: 0.5119 GB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004585/5.163, allocations: 0.5957 MB / 3.065 GB, free: 0.5113 GB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003124/5.166, allocations: 2.248 MB / 3.067 GB, free: 0.5112 GB / 1.151 GB Notification: Performance of pre-optimization done (n=103): time 4.829e-06/5.166, allocations: 0 / 3.067 GB, free: 0.5112 GB / 1.151 GB Notification: Performance of matching and sorting (n=103): time 0.007059/5.173, allocations: 3.264 MB / 3.071 GB, free: 0.5112 GB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.859e-05/5.174, allocations: 246.1 kB / 3.071 GB, free: 0.5109 GB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008948/5.175, allocations: 0.5918 MB / 3.071 GB, free: 0.5108 GB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002836/5.175, allocations: 29.64 kB / 3.071 GB, free: 0.5108 GB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003513/5.175, allocations: 393.5 kB / 3.072 GB, free: 0.5106 GB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004534/5.176, allocations: 323.1 kB / 3.072 GB, free: 0.5105 GB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002446/5.176, allocations: 0 / 3.072 GB, free: 0.5105 GB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001425/5.176, allocations: 395.9 kB / 3.073 GB, free: 0.5102 GB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002545/5.179, allocations: 1.817 MB / 3.074 GB, free: 0.5102 GB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002668/5.181, allocations: 1.954 MB / 3.076 GB, free: 0.5101 GB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002124/5.183, allocations: 1.238 MB / 3.077 GB, free: 0.5101 GB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/5.183, allocations: 7.594 kB / 3.077 GB, free: 0.5101 GB / 1.151 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.006503/5.19, allocations: 3.443 MB / 3.081 GB, free: 0.5099 GB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/5.19, allocations: 6.75 kB / 3.081 GB, free: 0.5099 GB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/5.19, allocations: 0 / 3.081 GB, free: 0.5099 GB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006224/5.191, allocations: 86.66 kB / 3.081 GB, free: 0.5099 GB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01956/5.21, allocations: 3.769 MB / 3.085 GB, free: 0.5099 GB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00204/5.212, allocations: 1.464 MB / 3.086 GB, free: 0.5088 GB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01935/5.232, allocations: 3.547 MB / 3.089 GB, free: 0.5086 GB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007591/5.232, allocations: 91.36 kB / 3.09 GB, free: 0.5086 GB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,ove.ove.solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 112 * 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.0006983/5.233, allocations: 143.5 kB / 3.09 GB, free: 0.5085 GB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004643/5.234, allocations: 89.66 kB / 3.09 GB, free: 0.5085 GB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009152/5.243, allocations: 4.145 MB / 3.094 GB, free: 0.5075 GB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/5.243, allocations: 14 kB / 3.094 GB, free: 0.5075 GB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/5.243, allocations: 0 / 3.094 GB, free: 0.5075 GB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.768e-05/5.243, allocations: 6.797 kB / 3.094 GB, free: 0.5075 GB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/5.254, allocations: 6.533 MB / 3.1 GB, free: 0.5048 GB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/5.254, allocations: 0 / 3.1 GB, free: 0.5048 GB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01928/5.273, allocations: 3.776 MB / 3.104 GB, free: 0.5044 GB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005911/5.274, allocations: 94.58 kB / 3.104 GB, free: 0.5043 GB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005195/5.274, allocations: 72.67 kB / 3.104 GB, free: 0.5043 GB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001755/5.276, allocations: 1.481 MB / 3.105 GB, free: 0.503 GB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/5.276, allocations: 3.422 kB / 3.105 GB, free: 0.503 GB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006662/5.283, allocations: 3.466 MB / 3.109 GB, free: 0.5016 GB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007543/5.29, allocations: 3.9 MB / 3.113 GB, free: 0.4997 GB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001622/5.292, allocations: 0.7397 MB / 3.113 GB, free: 0.4993 GB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006632/5.292, allocations: 5.969 kB / 3.113 GB, free: 0.4993 GB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01989/5.312, allocations: 3.519 MB / 3.117 GB, free: 0.4989 GB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004101/5.313, allocations: 73.72 kB / 3.117 GB, free: 0.4989 GB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007163/5.314, allocations: 95.78 kB / 3.117 GB, free: 0.4989 GB / 1.151 GB Notification: Performance of sort global known variables: time 0.001123/5.315, allocations: 481.6 kB / 3.117 GB, free: 0.4987 GB / 1.151 GB Notification: Performance of remove unused functions: time 0.00493/5.32, allocations: 0.7613 MB / 3.118 GB, free: 0.4985 GB / 1.151 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 (123): * Single equations (assignments): 120 * 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.002986/5.323, allocations: 1.108 MB / 3.119 GB, free: 0.4983 GB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.007942/5.331, allocations: 3.942 MB / 3.123 GB, free: 0.4965 GB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.411e-06/5.331, allocations: 0 / 3.123 GB, free: 0.4965 GB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.003437/5.334, allocations: 2.069 MB / 3.125 GB, free: 0.4947 GB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/5.336, allocations: 227.9 kB / 3.125 GB, free: 0.4945 GB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009551/5.345, allocations: 3.535 MB / 3.129 GB, free: 0.4916 GB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004227/5.35, allocations: 1.581 MB / 3.13 GB, free: 0.4905 GB / 1.151 GB Notification: Performance of SimCode: time 2.475e-06/5.35, allocations: 0 / 3.13 GB, free: 0.4905 GB / 1.151 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_Examples_Overhang_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_Examples_Overhang.fmu > Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat does not exist to compare? outputFormat=mat