Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.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.Validation.HeatCapacityVariableShadeDT,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT",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.018/2.018, allocations: 390.4 MB / 397.7 MB, free: 1.973 MB / 307 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 174.7 kB / 490.8 MB, free: 7.555 MB / 403 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 221.3 MB / 0.7863 GB, free: 284 kB / 0.5498 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009071/0.0009071, allocations: 104.6 kB / 0.9264 GB, free: 0.6641 MB / 0.6904 GB Notification: Performance of FrontEnd - loaded program: time 0.5152/0.5161, allocations: 149.1 MB / 1.072 GB, free: 137.5 MB / 0.7217 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.7916, allocations: 143 MB / 1.212 GB, free: 10.52 MB / 0.7373 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6916/1.483, allocations: 152.7 MB / 1.361 GB, free: 9.273 MB / 0.8311 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003323/1.484, allocations: 83.94 kB / 1.361 GB, free: 9.191 MB / 0.8311 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.01387/1.498, allocations: 4.57 MB / 1.365 GB, free: 4.555 MB / 0.8311 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/1.498, allocations: 12 kB / 1.365 GB, free: 4.543 MB / 0.8311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.751e-05/1.498, allocations: 23.72 kB / 1.365 GB, free: 4.52 MB / 0.8311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/1.498, allocations: 251.5 kB / 1.366 GB, free: 4.23 MB / 0.8311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/1.498, allocations: 4 kB / 1.366 GB, free: 4.227 MB / 0.8311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/1.498, allocations: 19.52 kB / 1.366 GB, free: 4.211 MB / 0.8311 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001864/1.498, allocations: 75.98 kB / 1.366 GB, free: 4.137 MB / 0.8311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/1.499, allocations: 109.2 kB / 1.366 GB, free: 4.023 MB / 0.8311 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/1.499, allocations: 7.938 kB / 1.366 GB, free: 4.016 MB / 0.8311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/1.499, allocations: 0 / 1.366 GB, free: 4.016 MB / 0.8311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/1.499, allocations: 4.844 kB / 1.366 GB, free: 4.012 MB / 0.8311 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007756/1.499, allocations: 484.8 kB / 1.366 GB, free: 3.496 MB / 0.8311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003408/1.5, allocations: 134.8 kB / 1.366 GB, free: 3.355 MB / 0.8311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/1.5, allocations: 60.84 kB / 1.366 GB, free: 3.293 MB / 0.8311 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/1.5, allocations: 0 / 1.366 GB, free: 3.293 MB / 0.8311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/1.5, allocations: 42.5 kB / 1.367 GB, free: 3.242 MB / 0.8311 GB Notification: Performance of pre-optimization done (n=15): time 1.132e-06/1.5, allocations: 0 / 1.367 GB, free: 3.242 MB / 0.8311 GB Notification: Performance of matching and sorting (n=15): time 0.0002546/1.5, allocations: 109.5 kB / 1.367 GB, free: 3.129 MB / 0.8311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/1.5, allocations: 63.62 kB / 1.367 GB, free: 3.055 MB / 0.8311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/1.5, allocations: 132.1 kB / 1.367 GB, free: 2.918 MB / 0.8311 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/1.5, allocations: 25.7 kB / 1.367 GB, free: 2.887 MB / 0.8311 GB Notification: Performance of collectInitialEqns (initialization): time 6.531e-05/1.5, allocations: 120.1 kB / 1.367 GB, free: 2.762 MB / 0.8311 GB Notification: Performance of collectInitialBindings (initialization): time 4.605e-05/1.5, allocations: 55.2 kB / 1.367 GB, free: 2.707 MB / 0.8311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/1.5, allocations: 0 / 1.367 GB, free: 2.707 MB / 0.8311 GB Notification: Performance of setup shared object (initialization): time 0.0002009/1.501, allocations: 322.8 kB / 1.367 GB, free: 2.383 MB / 0.8311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.979e-05/1.501, allocations: 32 kB / 1.367 GB, free: 2.352 MB / 0.8311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.46e-05/1.501, allocations: 39.91 kB / 1.367 GB, free: 2.312 MB / 0.8311 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.515e-05/1.501, allocations: 34.8 kB / 1.367 GB, free: 2.281 MB / 0.8311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.501, allocations: 0 / 1.367 GB, free: 2.281 MB / 0.8311 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001789/1.501, allocations: 129.5 kB / 1.368 GB, free: 2.148 MB / 0.8311 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/1.501, allocations: 4 kB / 1.368 GB, free: 2.145 MB / 0.8311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/1.501, allocations: 0 / 1.368 GB, free: 2.145 MB / 0.8311 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/1.501, allocations: 3.906 kB / 1.368 GB, free: 2.141 MB / 0.8311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/1.501, allocations: 43.92 kB / 1.368 GB, free: 2.098 MB / 0.8311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/1.501, allocations: 7.984 kB / 1.368 GB, free: 2.09 MB / 0.8311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/1.501, allocations: 8 kB / 1.368 GB, free: 2.082 MB / 0.8311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/1.501, allocations: 4 kB / 1.368 GB, free: 2.078 MB / 0.8311 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (18): * Single equations (assignments): 18 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.05e-05/1.502, allocations: 120.8 kB / 1.368 GB, free: 1.953 MB / 0.8311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.834e-05/1.502, allocations: 15.8 kB / 1.368 GB, free: 1.938 MB / 0.8311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.893e-05/1.502, allocations: 21.47 kB / 1.368 GB, free: 1.918 MB / 0.8311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/1.502, allocations: 4 kB / 1.368 GB, free: 1.914 MB / 0.8311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/1.502, allocations: 0 / 1.368 GB, free: 1.914 MB / 0.8311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/1.502, allocations: 0 / 1.368 GB, free: 1.914 MB / 0.8311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002142/1.502, allocations: 210 kB / 1.368 GB, free: 1.672 MB / 0.8311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/1.502, allocations: 0 / 1.368 GB, free: 1.672 MB / 0.8311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/1.502, allocations: 51.91 kB / 1.368 GB, free: 1.621 MB / 0.8311 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/1.502, allocations: 0 / 1.368 GB, free: 1.621 MB / 0.8311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/1.502, allocations: 8 kB / 1.368 GB, free: 1.613 MB / 0.8311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/1.502, allocations: 0 / 1.368 GB, free: 1.613 MB / 0.8311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.502, allocations: 0 / 1.368 GB, free: 1.613 MB / 0.8311 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000291/1.502, allocations: 267.2 kB / 1.368 GB, free: 1.336 MB / 0.8311 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000442/1.503, allocations: 0.6833 MB / 1.369 GB, free: 0.6328 MB / 0.8311 GB Notification: Performance of postOpt removeConstants (simulation): time 6.585e-05/1.503, allocations: 100.9 kB / 1.369 GB, free: 0.5156 MB / 0.8311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/1.503, allocations: 4 kB / 1.369 GB, free: 0.5117 MB / 0.8311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/1.503, allocations: 7.984 kB / 1.369 GB, free: 0.5039 MB / 0.8311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/1.503, allocations: 4 kB / 1.369 GB, free: 0.5 MB / 0.8311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/1.503, allocations: 7.984 kB / 1.369 GB, free: 0.4922 MB / 0.8311 GB Notification: Performance of sort global known variables: time 8.073e-05/1.503, allocations: 124.7 kB / 1.369 GB, free: 380 kB / 0.8311 GB Notification: Performance of remove unused functions: time 0.000854/1.504, allocations: 44.12 kB / 1.369 GB, free: 336 kB / 0.8311 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (heaCapGla.TUns,heaCapGla.TSha,heaCapSha.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002019/1.504, allocations: 123.2 kB / 1.369 GB, free: 200 kB / 0.8311 GB Notification: Performance of simCode: created initialization part: time 0.000178/1.505, allocations: 99.53 kB / 1.369 GB, free: 104 kB / 0.8311 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/1.505, allocations: 0 / 1.369 GB, free: 104 kB / 0.8311 GB Notification: Performance of simCode: created simulation system equations: time 7.123e-05/1.505, allocations: 51.94 kB / 1.369 GB, free: 52 kB / 0.8311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/1.505, allocations: 21.61 kB / 1.37 GB, free: 32 kB / 0.8311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008398/1.506, allocations: 406.1 kB / 1.37 GB, free: 15.61 MB / 0.8467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003328/1.506, allocations: 0.7589 MB / 1.371 GB, free: 14.83 MB / 0.8467 GB Notification: Performance of SimCode: time 4.41e-07/1.506, allocations: 0 / 1.371 GB, free: 14.83 MB / 0.8467 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT_res.mat does not exist to compare? outputFormat=mat