Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.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.Shade,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade",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.036/2.036, allocations: 387.2 MB / 394.5 MB, free: 13.37 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.00162/0.001619, allocations: 192.3 kB / 487 MB, free: 5.051 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.428/1.428, allocations: 221.3 MB / 0.7819 GB, free: 1.062 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.001055/0.001054, allocations: 94.86 kB / 0.9213 GB, free: 2.312 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6519/0.653, allocations: 148.5 MB / 1.066 GB, free: 167.9 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.9282, allocations: 142.3 MB / 1.205 GB, free: 25.86 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7865/1.715, allocations: 153.9 MB / 1.356 GB, free: 16.14 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/1.715, allocations: 88.08 kB / 1.356 GB, free: 16.14 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0225/1.738, allocations: 7.01 MB / 1.363 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/1.738, allocations: 9 kB / 1.363 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/1.738, allocations: 56 kB / 1.363 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005335/1.738, allocations: 317 kB / 1.363 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/1.738, allocations: 11.94 kB / 1.363 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.566e-05/1.738, allocations: 20.52 kB / 1.363 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004156/1.739, allocations: 219.6 kB / 1.363 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004959/1.739, allocations: 306.9 kB / 1.363 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/1.739, allocations: 0 / 1.363 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/1.739, allocations: 0 / 1.363 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/1.739, allocations: 11.91 kB / 1.363 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0018/1.741, allocations: 1.391 MB / 1.365 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004278/1.742, allocations: 228.7 kB / 1.365 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003067/1.742, allocations: 180.1 kB / 1.365 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.197e-05/1.742, allocations: 4.219 kB / 1.365 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/1.742, allocations: 34.8 kB / 1.365 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=27): time 1.442e-06/1.742, allocations: 0 / 1.365 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of matching and sorting (n=27): time 0.0009989/1.743, allocations: 394.1 kB / 1.366 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.889e-05/1.743, allocations: 55.41 kB / 1.366 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/1.743, allocations: 246.9 kB / 1.366 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/1.743, allocations: 25.7 kB / 1.366 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.216e-05/1.743, allocations: 191 kB / 1.366 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.088e-05/1.744, allocations: 85.31 kB / 1.366 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.368e-05/1.744, allocations: 0 / 1.366 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.437e-05/1.744, allocations: 348.7 kB / 1.366 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/1.744, allocations: 72.62 kB / 1.367 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/1.744, allocations: 142.1 kB / 1.367 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/1.744, allocations: 103.7 kB / 1.367 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.744, allocations: 0 / 1.367 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008661/1.745, allocations: 416.1 kB / 1.367 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/1.745, allocations: 0.5307 MB / 1.368 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/1.745, allocations: 0 / 1.368 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007177/1.746, allocations: 168 kB / 1.368 GB, free: 8.703 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/1.746, allocations: 43.92 kB / 1.368 GB, free: 8.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007163/1.747, allocations: 0.8366 MB / 1.369 GB, free: 7.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00029/1.747, allocations: 27.14 kB / 1.369 GB, free: 7.887 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/1.747, allocations: 8 kB / 1.369 GB, free: 7.879 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 6.122e-06/1.747, allocations: 4 kB / 1.369 GB, free: 7.875 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008185/1.748, allocations: 366.5 kB / 1.369 GB, free: 7.602 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-06/1.748, allocations: 0 / 1.369 GB, free: 7.602 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005842/1.748, allocations: 177.8 kB / 1.369 GB, free: 7.453 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/1.749, allocations: 47.59 kB / 1.369 GB, free: 7.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002394/1.751, allocations: 2.231 MB / 1.372 GB, free: 5.445 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/1.751, allocations: 31.98 kB / 1.372 GB, free: 5.414 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/1.751, allocations: 14.53 kB / 1.372 GB, free: 5.402 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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 {2 15} Notification: Performance of prepare postOptimizeDAE: time 7.969e-05/1.751, allocations: 108.9 kB / 1.372 GB, free: 5.289 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.786e-05/1.751, allocations: 39.55 kB / 1.372 GB, free: 5.25 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.288e-05/1.752, allocations: 39.55 kB / 1.372 GB, free: 5.227 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/1.752, allocations: 8 kB / 1.372 GB, free: 5.219 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/1.752, allocations: 0 / 1.372 GB, free: 5.219 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/1.752, allocations: 3.984 kB / 1.372 GB, free: 5.215 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003314/1.752, allocations: 356.1 kB / 1.372 GB, free: 4.898 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/1.752, allocations: 0 / 1.372 GB, free: 4.898 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/1.752, allocations: 27.98 kB / 1.372 GB, free: 4.871 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006126/1.753, allocations: 172.8 kB / 1.372 GB, free: 4.73 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/1.753, allocations: 4 kB / 1.372 GB, free: 4.727 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002329/1.755, allocations: 2.222 MB / 1.374 GB, free: 2.762 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.755, allocations: 160 / 1.374 GB, free: 2.762 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008114/1.756, allocations: 488.2 kB / 1.375 GB, free: 2.352 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008324/1.757, allocations: 0.8479 MB / 1.376 GB, free: 1.562 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/1.757, allocations: 133.8 kB / 1.376 GB, free: 1.426 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.115e-05/1.757, allocations: 4 kB / 1.376 GB, free: 1.422 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/1.757, allocations: 15.98 kB / 1.376 GB, free: 1.406 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.792e-05/1.757, allocations: 11.97 kB / 1.376 GB, free: 1.395 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/1.757, allocations: 7.188 kB / 1.376 GB, free: 1.391 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001781/1.757, allocations: 195.6 kB / 1.376 GB, free: 1.238 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001706/1.759, allocations: 207.2 kB / 1.376 GB, free: 1.035 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001459/1.759, allocations: 95.25 kB / 1.376 GB, free: 0.9336 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0008636/1.76, allocations: 0.5182 MB / 1.377 GB, free: 0.5273 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.76, allocations: 0 / 1.377 GB, free: 0.5273 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.00034/1.76, allocations: 260.3 kB / 1.377 GB, free: 316 kB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/1.761, allocations: 66.03 kB / 1.377 GB, free: 264 kB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/1.762, allocations: 490 kB / 1.378 GB, free: 15.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004902/1.763, allocations: 0.8307 MB / 1.378 GB, free: 14.93 MB / 0.823 GB Notification: Performance of SimCode: time 2.5e-07/1.763, allocations: 0 / 1.378 GB, free: 14.93 MB / 0.823 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat does not exist to compare? outputFormat=mat