Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.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.SideFins,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_Examples_SideFins",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 1.962/1.962, allocations: 387.2 MB / 394.5 MB, free: 13.18 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 190.2 kB / 487 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 221.3 MB / 0.7819 GB, free: 6.688 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009112/0.0009114, allocations: 95.36 kB / 0.9213 GB, free: 43.59 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.2976/0.2986, allocations: 148.5 MB / 1.066 GB, free: 7.398 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7228/1.021, allocations: 142.3 MB / 1.205 GB, free: 72.73 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.532/4.554, allocations: 1.737 GB / 2.942 GB, free: 349.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/4.554, allocations: 85.36 kB / 2.942 GB, free: 349.4 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: 304 * Number of variables: 304 Notification: Performance of Generate backend data structure: time 0.1721/4.726, allocations: 79.5 MB / 3.02 GB, free: 269.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/4.726, allocations: 14.62 kB / 3.02 GB, free: 269.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008444/4.735, allocations: 1.532 MB / 3.021 GB, free: 268.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002051/4.737, allocations: 0.8872 MB / 3.022 GB, free: 267.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.337e-05/4.737, allocations: 36 kB / 3.022 GB, free: 267.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003736/4.737, allocations: 71.91 kB / 3.022 GB, free: 267.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003557/4.741, allocations: 2.101 MB / 3.024 GB, free: 265.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002756/4.744, allocations: 1.537 MB / 3.026 GB, free: 263.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/4.744, allocations: 0 / 3.026 GB, free: 263.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001726/4.744, allocations: 8 kB / 3.026 GB, free: 263.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.366e-05/4.744, allocations: 28 kB / 3.026 GB, free: 263.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008953/4.753, allocations: 4.744 MB / 3.03 GB, free: 258.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002541/4.755, allocations: 1.937 MB / 3.032 GB, free: 256.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/4.756, allocations: 0.7732 MB / 3.033 GB, free: 255.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000434/4.757, allocations: 0.606 MB / 3.034 GB, free: 255.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001256/4.758, allocations: 1.006 MB / 3.034 GB, free: 254.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=121): time 3.737e-06/4.758, allocations: 0 / 3.034 GB, free: 254.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=121): time 0.003333/4.761, allocations: 1.678 MB / 3.036 GB, free: 252.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/4.762, allocations: 252.3 kB / 3.036 GB, free: 252.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007096/4.762, allocations: 0.5895 MB / 3.037 GB, free: 251.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001199/4.762, allocations: 29.7 kB / 3.037 GB, free: 251.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/4.763, allocations: 380.4 kB / 3.037 GB, free: 251.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002832/4.763, allocations: 378.2 kB / 3.038 GB, free: 250.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.726e-05/4.763, allocations: 0 / 3.038 GB, free: 250.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000113/4.763, allocations: 402.7 kB / 3.038 GB, free: 250.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008881/4.764, allocations: 0.6819 MB / 3.039 GB, free: 249.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009921/4.765, allocations: 0.8179 MB / 3.04 GB, free: 248.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/4.766, allocations: 0.7073 MB / 3.04 GB, free: 248.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/4.766, allocations: 5.531 kB / 3.04 GB, free: 248.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003088/4.769, allocations: 1.706 MB / 3.042 GB, free: 246.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/4.769, allocations: 4 kB / 3.042 GB, free: 246.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/4.769, allocations: 3.938 kB / 3.042 GB, free: 246.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006241/4.77, allocations: 88.83 kB / 3.042 GB, free: 246.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002439/4.772, allocations: 495.3 kB / 3.042 GB, free: 245.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/4.774, allocations: 1.473 MB / 3.044 GB, free: 244.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002091/4.776, allocations: 323.1 kB / 3.044 GB, free: 243.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/4.776, allocations: 55.94 kB / 3.044 GB, free: 243.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (126): * Single equations (assignments): 125 * 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.0002915/4.777, allocations: 123.5 kB / 3.044 GB, free: 243.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/4.777, allocations: 102.8 kB / 3.044 GB, free: 243.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004398/4.781, allocations: 2.177 MB / 3.047 GB, free: 241.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/4.781, allocations: 12 kB / 3.047 GB, free: 241.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/4.781, allocations: 0 / 3.047 GB, free: 241.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/4.781, allocations: 7.984 kB / 3.047 GB, free: 241.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005661/4.787, allocations: 3.847 MB / 3.05 GB, free: 237.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/4.787, allocations: 0 / 3.05 GB, free: 237.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002475/4.79, allocations: 496.7 kB / 3.051 GB, free: 237.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005234/4.79, allocations: 84.78 kB / 3.051 GB, free: 237 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001289/4.79, allocations: 39.94 kB / 3.051 GB, free: 236.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001592/4.792, allocations: 1.488 MB / 3.052 GB, free: 235.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/4.792, allocations: 3.984 kB / 3.052 GB, free: 235.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003261/4.795, allocations: 1.89 MB / 3.054 GB, free: 233.4 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003257/4.798, allocations: 2.299 MB / 3.057 GB, free: 231.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007038/4.799, allocations: 447.3 kB / 3.057 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002475/4.799, allocations: 11.89 kB / 3.057 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002098/4.801, allocations: 299.7 kB / 3.057 GB, free: 230.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/4.802, allocations: 73.19 kB / 3.057 GB, free: 230.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001464/4.802, allocations: 55.95 kB / 3.057 GB, free: 230.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0005724/4.802, allocations: 487.1 kB / 3.058 GB, free: 229.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002289/4.805, allocations: 0.5691 MB / 3.058 GB, free: 229.2 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 (135): * Single equations (assignments): 132 * 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.001864/4.807, allocations: 1.092 MB / 3.059 GB, free: 228.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002627/4.809, allocations: 1.74 MB / 3.061 GB, free: 226.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/4.809, allocations: 0 / 3.061 GB, free: 226.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001348/4.811, allocations: 1.014 MB / 3.062 GB, free: 225.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/4.812, allocations: 225.4 kB / 3.062 GB, free: 225.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00508/4.817, allocations: 2.262 MB / 3.065 GB, free: 222.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001389/4.818, allocations: 1.38 MB / 3.066 GB, free: 221.5 MB / 1.151 GB Notification: Performance of SimCode: time 9.81e-07/4.818, allocations: 3.938 kB / 3.066 GB, free: 221.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat does not exist to compare? outputFormat=mat