Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.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.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.086/2.086, allocations: 390.4 MB / 397.7 MB, free: 11.2 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.0009942/0.0009941, allocations: 185.3 kB / 490.8 MB, free: 1.914 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.451/1.451, allocations: 221.4 MB / 0.7863 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.00101, allocations: 90.47 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.6158/0.6168, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.8857, allocations: 143 MB / 1.212 GB, free: 39.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.545/4.431, allocations: 1.737 GB / 2.948 GB, free: 141.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/4.431, allocations: 91.94 kB / 2.949 GB, free: 141.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: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.1946/4.626, allocations: 87.52 MB / 3.034 GB, free: 53.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/4.626, allocations: 11.94 kB / 3.034 GB, free: 53.59 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08007/4.706, allocations: 16.39 MB / 3.05 GB, free: 37.18 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002952/4.709, allocations: 1.035 MB / 3.051 GB, free: 36.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.47e-05/4.709, allocations: 51.83 kB / 3.051 GB, free: 36.05 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003807/4.709, allocations: 68 kB / 3.051 GB, free: 35.98 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006649/4.716, allocations: 4.146 MB / 3.055 GB, free: 31.83 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003965/4.72, allocations: 2.734 MB / 3.058 GB, free: 29.04 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/4.72, allocations: 4 kB / 3.058 GB, free: 29.03 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002728/4.72, allocations: 0 / 3.058 GB, free: 29.03 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.377e-05/4.72, allocations: 28 kB / 3.058 GB, free: 29 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04039/4.761, allocations: 11.3 MB / 3.069 GB, free: 17.61 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003653/4.765, allocations: 2.179 MB / 3.071 GB, free: 15.42 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002141/4.767, allocations: 1.519 MB / 3.073 GB, free: 13.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004503/4.767, allocations: 0.6021 MB / 3.073 GB, free: 13.17 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002676/4.77, allocations: 1.982 MB / 3.075 GB, free: 11.16 MB / 1.151 GB Notification: Performance of pre-optimization done (n=101): time 2.795e-06/4.77, allocations: 0 / 3.075 GB, free: 11.16 MB / 1.151 GB Notification: Performance of matching and sorting (n=101): time 0.005736/4.776, allocations: 2.834 MB / 3.078 GB, free: 8.316 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.199e-05/4.776, allocations: 252.2 kB / 3.078 GB, free: 8.016 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007534/4.777, allocations: 0.5544 MB / 3.079 GB, free: 7.457 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002912/4.777, allocations: 29.7 kB / 3.079 GB, free: 7.422 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002682/4.777, allocations: 396 kB / 3.079 GB, free: 7.027 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003891/4.777, allocations: 323.1 kB / 3.079 GB, free: 6.707 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002487/4.778, allocations: 7.938 kB / 3.079 GB, free: 6.699 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001071/4.778, allocations: 386.8 kB / 3.08 GB, free: 6.312 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002127/4.78, allocations: 1.591 MB / 3.081 GB, free: 4.723 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002218/4.782, allocations: 1.725 MB / 3.083 GB, free: 2.961 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001815/4.784, allocations: 1.096 MB / 3.084 GB, free: 1.863 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/4.784, allocations: 0 / 3.084 GB, free: 1.863 MB / 1.151 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.4602/5.244, allocations: 3.08 MB / 3.087 GB, free: 0.5098 GB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/5.244, allocations: 7.156 kB / 3.087 GB, free: 0.5098 GB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/5.244, allocations: 3.969 kB / 3.087 GB, free: 0.5098 GB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006778/5.245, allocations: 84.19 kB / 3.087 GB, free: 0.5098 GB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01915/5.264, allocations: 3.766 MB / 3.091 GB, free: 0.5098 GB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/5.266, allocations: 1.457 MB / 3.092 GB, free: 0.5086 GB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01828/5.285, allocations: 3.552 MB / 3.096 GB, free: 0.5085 GB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008579/5.285, allocations: 87.27 kB / 3.096 GB, free: 0.5085 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.0006478/5.286, allocations: 122.4 kB / 3.096 GB, free: 0.5084 GB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004337/5.287, allocations: 86.88 kB / 3.096 GB, free: 0.5084 GB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008491/5.295, allocations: 3.728 MB / 3.1 GB, free: 0.5082 GB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/5.295, allocations: 17.38 kB / 3.1 GB, free: 0.5082 GB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/5.295, allocations: 1.562 kB / 3.1 GB, free: 0.5082 GB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/5.295, allocations: 9.453 kB / 3.1 GB, free: 0.5082 GB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009634/5.305, allocations: 5.376 MB / 3.105 GB, free: 0.5079 GB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/5.305, allocations: 6.953 kB / 3.105 GB, free: 0.5079 GB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01901/5.324, allocations: 3.773 MB / 3.109 GB, free: 0.5076 GB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000567/5.324, allocations: 84.8 kB / 3.109 GB, free: 0.5076 GB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005812/5.325, allocations: 71.98 kB / 3.109 GB, free: 0.5076 GB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001619/5.327, allocations: 1.481 MB / 3.11 GB, free: 0.5064 GB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/5.327, allocations: 0 / 3.11 GB, free: 0.5064 GB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006386/5.333, allocations: 3.058 MB / 3.113 GB, free: 0.5061 GB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006/5.339, allocations: 3.455 MB / 3.117 GB, free: 0.5056 GB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001232/5.34, allocations: 0.6374 MB / 3.117 GB, free: 0.5054 GB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005541/5.341, allocations: 0 / 3.117 GB, free: 0.5054 GB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01853/5.36, allocations: 3.519 MB / 3.121 GB, free: 0.5051 GB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002906/5.36, allocations: 69.25 kB / 3.121 GB, free: 0.5051 GB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005627/5.36, allocations: 91.5 kB / 3.121 GB, free: 0.5051 GB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007045/5.361, allocations: 461.6 kB / 3.121 GB, free: 0.505 GB / 1.151 GB Notification: Performance of remove unused functions: time 0.003244/5.364, allocations: 0.7686 MB / 3.122 GB, free: 0.505 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.001985/5.366, allocations: 1.105 MB / 3.123 GB, free: 0.5048 GB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.005562/5.372, allocations: 3.441 MB / 3.126 GB, free: 0.5047 GB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/5.372, allocations: 0 / 3.126 GB, free: 0.5047 GB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002921/5.375, allocations: 1.8 MB / 3.128 GB, free: 0.5046 GB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/5.376, allocations: 213.5 kB / 3.128 GB, free: 0.5046 GB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008362/5.385, allocations: 3.239 MB / 3.131 GB, free: 0.5039 GB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002968/5.388, allocations: 1.567 MB / 3.133 GB, free: 0.5031 GB / 1.151 GB Notification: Performance of SimCode: time 9.82e-07/5.388, allocations: 7.125 kB / 3.133 GB, free: 0.5031 GB / 1.151 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang_res.mat does not exist to compare? outputFormat=mat