Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.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.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.019/2.019, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.001317/0.001317, allocations: 181.2 kB / 487 MB, free: 5.359 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.429/1.429, allocations: 221.3 MB / 0.7819 GB, free: 1.406 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.001066/0.001066, allocations: 105.4 kB / 0.9213 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6578/0.6589, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.9464, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.768/4.714, allocations: 1.736 GB / 2.941 GB, free: 122.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/4.715, allocations: 95.53 kB / 2.941 GB, free: 122.1 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: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.1957/4.91, allocations: 87.52 MB / 3.027 GB, free: 34.22 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/4.91, allocations: 9 kB / 3.027 GB, free: 34.21 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08173/4.992, allocations: 16.39 MB / 3.043 GB, free: 17.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002867/4.995, allocations: 1.039 MB / 3.044 GB, free: 16.72 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.871e-05/4.995, allocations: 40 kB / 3.044 GB, free: 16.68 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005181/4.996, allocations: 68 kB / 3.044 GB, free: 16.62 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00759/5.003, allocations: 4.143 MB / 3.048 GB, free: 12.47 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005185/5.009, allocations: 2.738 MB / 3.051 GB, free: 9.668 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.893e-05/5.009, allocations: 0 / 3.051 GB, free: 9.668 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003249/5.009, allocations: 4 kB / 3.051 GB, free: 9.664 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.961e-05/5.009, allocations: 28 kB / 3.051 GB, free: 9.637 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.562/5.571, allocations: 11.3 MB / 3.062 GB, free: 0.5066 GB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00406/5.575, allocations: 2.164 MB / 3.064 GB, free: 0.5066 GB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002346/5.578, allocations: 1.526 MB / 3.065 GB, free: 0.5066 GB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005719/5.578, allocations: 0.5963 MB / 3.066 GB, free: 0.5059 GB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002988/5.581, allocations: 1.971 MB / 3.068 GB, free: 0.5058 GB / 1.151 GB Notification: Performance of pre-optimization done (n=101): time 4.167e-06/5.581, allocations: 3.906 kB / 3.068 GB, free: 0.5058 GB / 1.151 GB Notification: Performance of matching and sorting (n=101): time 0.005983/5.587, allocations: 2.839 MB / 3.071 GB, free: 0.5058 GB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.482e-05/5.587, allocations: 251.8 kB / 3.071 GB, free: 0.5055 GB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008693/5.588, allocations: 0.5613 MB / 3.071 GB, free: 0.5054 GB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003072/5.589, allocations: 28.22 kB / 3.071 GB, free: 0.5054 GB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004368/5.589, allocations: 393 kB / 3.072 GB, free: 0.5052 GB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005292/5.59, allocations: 318.7 kB / 3.072 GB, free: 0.5051 GB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002357/5.59, allocations: 0 / 3.072 GB, free: 0.5051 GB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001848/5.59, allocations: 391.6 kB / 3.073 GB, free: 0.5048 GB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002413/5.592, allocations: 1.592 MB / 3.074 GB, free: 0.5047 GB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002392/5.595, allocations: 1.718 MB / 3.076 GB, free: 0.5047 GB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001994/5.597, allocations: 1.111 MB / 3.077 GB, free: 0.5046 GB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/5.597, allocations: 0 / 3.077 GB, free: 0.5046 GB / 1.151 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.005925/5.603, allocations: 3.085 MB / 3.08 GB, free: 0.5045 GB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/5.603, allocations: 7.094 kB / 3.08 GB, free: 0.5045 GB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/5.603, allocations: 2.719 kB / 3.08 GB, free: 0.5045 GB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006393/5.604, allocations: 82.11 kB / 3.08 GB, free: 0.5045 GB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0187/5.622, allocations: 3.762 MB / 3.084 GB, free: 0.5045 GB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/5.624, allocations: 1.465 MB / 3.085 GB, free: 0.5033 GB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01847/5.643, allocations: 3.54 MB / 3.089 GB, free: 0.5032 GB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007428/5.644, allocations: 93.92 kB / 3.089 GB, free: 0.5032 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.solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 110 * 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.0007123/5.644, allocations: 130 kB / 3.089 GB, free: 0.5031 GB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004957/5.645, allocations: 88.22 kB / 3.089 GB, free: 0.503 GB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008431/5.653, allocations: 3.727 MB / 3.092 GB, free: 0.5028 GB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/5.653, allocations: 13.11 kB / 3.092 GB, free: 0.5028 GB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/5.653, allocations: 3.906 kB / 3.092 GB, free: 0.5028 GB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/5.653, allocations: 3.797 kB / 3.092 GB, free: 0.5028 GB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01044/5.664, allocations: 5.389 MB / 3.098 GB, free: 0.5022 GB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/5.664, allocations: 0 / 3.098 GB, free: 0.5022 GB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01908/5.683, allocations: 3.778 MB / 3.101 GB, free: 0.5018 GB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005843/5.684, allocations: 87.02 kB / 3.102 GB, free: 0.5017 GB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005377/5.684, allocations: 70.69 kB / 3.102 GB, free: 0.5017 GB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001632/5.686, allocations: 1.481 MB / 3.103 GB, free: 0.5004 GB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/5.686, allocations: 0 / 3.103 GB, free: 0.5004 GB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006432/5.692, allocations: 3.046 MB / 3.106 GB, free: 0.4993 GB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006192/5.698, allocations: 3.473 MB / 3.109 GB, free: 0.4977 GB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001582/5.7, allocations: 0.6189 MB / 3.11 GB, free: 0.4974 GB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006308/5.701, allocations: 1.531 kB / 3.11 GB, free: 0.4974 GB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01925/5.72, allocations: 3.521 MB / 3.113 GB, free: 0.497 GB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004911/5.721, allocations: 70.17 kB / 3.113 GB, free: 0.497 GB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007642/5.721, allocations: 95.7 kB / 3.114 GB, free: 0.497 GB / 1.151 GB Notification: Performance of sort global known variables: time 0.000972/5.722, allocations: 465.9 kB / 3.114 GB, free: 0.4968 GB / 1.151 GB Notification: Performance of remove unused functions: time 0.004155/5.726, allocations: 0.7627 MB / 3.115 GB, free: 0.4966 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 (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.002269/5.729, allocations: 1.112 MB / 3.116 GB, free: 0.4964 GB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.007335/5.736, allocations: 3.442 MB / 3.119 GB, free: 0.4951 GB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/5.736, allocations: 1.125 kB / 3.119 GB, free: 0.4951 GB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.003636/5.74, allocations: 1.793 MB / 3.121 GB, free: 0.4944 GB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/5.741, allocations: 221.6 kB / 3.121 GB, free: 0.4943 GB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009498/5.751, allocations: 3.233 MB / 3.124 GB, free: 0.493 GB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003016/5.754, allocations: 1.568 MB / 3.126 GB, free: 0.4918 GB / 1.151 GB Notification: Performance of SimCode: time 9.22e-07/5.754, allocations: 4 kB / 3.126 GB, free: 0.4918 GB / 1.151 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang_res.mat does not exist to compare? outputFormat=mat