Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.152/2.152, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.001032/0.001032, allocations: 185.2 kB / 490.8 MB, free: 1.918 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.475/1.475, allocations: 221.4 MB / 0.7863 GB, free: 13.64 MB / 0.5574 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000895/0.0008951, allocations: 96.11 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.6467/0.6476, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.951, allocations: 143 MB / 1.212 GB, free: 40 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.888/4.839, allocations: 1.738 GB / 2.95 GB, free: 107.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/4.84, allocations: 78.45 kB / 2.95 GB, free: 107.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.1834/5.023, allocations: 82.81 MB / 3.031 GB, free: 29.99 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/5.023, allocations: 12 kB / 3.031 GB, free: 29.98 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08201/5.105, allocations: 16.39 MB / 3.047 GB, free: 13.57 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003587/5.109, allocations: 1.176 MB / 3.048 GB, free: 12.35 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.518e-05/5.109, allocations: 44 kB / 3.048 GB, free: 12.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007577/5.11, allocations: 64 kB / 3.048 GB, free: 12.24 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007756/5.117, allocations: 4.592 MB / 3.052 GB, free: 7.645 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00447/5.122, allocations: 2.964 MB / 3.055 GB, free: 4.617 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/5.122, allocations: 4 kB / 3.055 GB, free: 4.613 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002939/5.122, allocations: 0 / 3.055 GB, free: 4.613 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/5.122, allocations: 28 kB / 3.055 GB, free: 4.586 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4367/5.559, allocations: 12.53 MB / 3.068 GB, free: 0.5034 GB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00421/5.563, allocations: 2.505 MB / 3.07 GB, free: 0.5033 GB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002504/5.566, allocations: 1.795 MB / 3.072 GB, free: 0.5033 GB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004157/5.566, allocations: 0.5986 MB / 3.072 GB, free: 0.5027 GB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00306/5.569, allocations: 2.248 MB / 3.075 GB, free: 0.5026 GB / 1.151 GB Notification: Performance of pre-optimization done (n=103): time 3.246e-06/5.569, allocations: 0 / 3.075 GB, free: 0.5026 GB / 1.151 GB Notification: Performance of matching and sorting (n=103): time 0.00645/5.576, allocations: 3.267 MB / 3.078 GB, free: 0.5026 GB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.248e-05/5.576, allocations: 247.4 kB / 3.078 GB, free: 0.5023 GB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008759/5.577, allocations: 0.5851 MB / 3.079 GB, free: 0.5022 GB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002996/5.577, allocations: 25.7 kB / 3.079 GB, free: 0.5021 GB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000333/5.577, allocations: 392.6 kB / 3.079 GB, free: 0.502 GB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004396/5.578, allocations: 327.6 kB / 3.079 GB, free: 0.5018 GB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002586/5.578, allocations: 0 / 3.079 GB, free: 0.5018 GB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001141/5.578, allocations: 391.6 kB / 3.08 GB, free: 0.5015 GB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002415/5.581, allocations: 1.819 MB / 3.081 GB, free: 0.5015 GB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002577/5.583, allocations: 1.951 MB / 3.083 GB, free: 0.5014 GB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002084/5.585, allocations: 1.246 MB / 3.085 GB, free: 0.5014 GB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/5.585, allocations: 0 / 3.085 GB, free: 0.5014 GB / 1.151 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.006408/5.592, allocations: 3.447 MB / 3.088 GB, free: 0.5013 GB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/5.592, allocations: 3.812 kB / 3.088 GB, free: 0.5013 GB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/5.592, allocations: 0 / 3.088 GB, free: 0.5013 GB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006798/5.592, allocations: 85.48 kB / 3.088 GB, free: 0.5013 GB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01941/5.612, allocations: 3.775 MB / 3.092 GB, free: 0.501 GB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/5.614, allocations: 1.463 MB / 3.093 GB, free: 0.4998 GB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0189/5.633, allocations: 3.55 MB / 3.097 GB, free: 0.4995 GB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008241/5.634, allocations: 93.22 kB / 3.097 GB, free: 0.4995 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.000656/5.634, allocations: 120.1 kB / 3.097 GB, free: 0.4994 GB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004361/5.635, allocations: 94.19 kB / 3.097 GB, free: 0.4993 GB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009048/5.644, allocations: 4.16 MB / 3.101 GB, free: 0.4983 GB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/5.644, allocations: 14.56 kB / 3.101 GB, free: 0.4983 GB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/5.644, allocations: 3.969 kB / 3.101 GB, free: 0.4983 GB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/5.644, allocations: 6.188 kB / 3.101 GB, free: 0.4983 GB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01026/5.654, allocations: 6.523 MB / 3.107 GB, free: 0.4956 GB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/5.654, allocations: 0 / 3.107 GB, free: 0.4956 GB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01923/5.673, allocations: 3.773 MB / 3.111 GB, free: 0.4952 GB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006331/5.674, allocations: 93.02 kB / 3.111 GB, free: 0.4952 GB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005949/5.675, allocations: 72.81 kB / 3.111 GB, free: 0.4952 GB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001832/5.676, allocations: 1.495 MB / 3.113 GB, free: 0.4938 GB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/5.676, allocations: 0 / 3.113 GB, free: 0.4938 GB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007501/5.684, allocations: 3.469 MB / 3.116 GB, free: 0.4924 GB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007298/5.691, allocations: 3.888 MB / 3.12 GB, free: 0.4906 GB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00152/5.693, allocations: 0.7443 MB / 3.121 GB, free: 0.4901 GB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005437/5.693, allocations: 8.219 kB / 3.121 GB, free: 0.4901 GB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01953/5.713, allocations: 3.527 MB / 3.124 GB, free: 0.4894 GB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002812/5.713, allocations: 70.34 kB / 3.124 GB, free: 0.4893 GB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005743/5.714, allocations: 94.23 kB / 3.124 GB, free: 0.4893 GB / 1.151 GB Notification: Performance of sort global known variables: time 0.0006497/5.715, allocations: 483.8 kB / 3.125 GB, free: 0.4888 GB / 1.151 GB Notification: Performance of remove unused functions: time 0.003125/5.718, allocations: 0.7641 MB / 3.125 GB, free: 499.9 MB / 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.002432/5.72, allocations: 1.1 MB / 3.126 GB, free: 499.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.006162/5.726, allocations: 3.929 MB / 3.13 GB, free: 495.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/5.726, allocations: 0 / 3.13 GB, free: 495.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.003213/5.73, allocations: 2.07 MB / 3.132 GB, free: 493.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/5.731, allocations: 236.1 kB / 3.133 GB, free: 493.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00924/5.74, allocations: 3.533 MB / 3.136 GB, free: 490.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003773/5.744, allocations: 1.576 MB / 3.138 GB, free: 489.5 MB / 1.151 GB Notification: Performance of SimCode: time 7.31e-07/5.744, allocations: 0 / 3.138 GB, free: 489.5 MB / 1.151 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Overhang_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Overhang.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat does not exist to compare? outputFormat=mat