Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",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.311/2.311, allocations: 390.4 MB / 397.7 MB, free: 10.71 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.001441/0.001441, allocations: 185.1 kB / 490.8 MB, free: 13.26 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.541/1.541, allocations: 221.4 MB / 0.7863 GB, free: 2.672 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.001594/0.001594, allocations: 104.7 kB / 0.9264 GB, free: 40.01 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.3854/0.3871, allocations: 149.2 MB / 1.072 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8829/1.27, allocations: 143 MB / 1.212 GB, free: 63.45 MB / 0.7761 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2144/1.484, allocations: 152.3 MB / 1.36 GB, free: 4.602 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/1.485, allocations: 87.94 kB / 1.36 GB, free: 4.516 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.01494/1.5, allocations: 3.535 MB / 1.364 GB, free: 0.9141 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/1.5, allocations: 15.94 kB / 1.364 GB, free: 0.8984 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.209e-05/1.5, allocations: 75.28 kB / 1.364 GB, free: 0.8242 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/1.5, allocations: 274.7 kB / 1.364 GB, free: 0.5156 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/1.5, allocations: 150.6 kB / 1.364 GB, free: 376 kB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.064e-05/1.5, allocations: 150.6 kB / 1.365 GB, free: 224 kB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.747e-05/1.5, allocations: 158.5 kB / 1.365 GB, free: 64 kB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.246e-05/1.501, allocations: 104.9 kB / 1.365 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.224e-05/1.501, allocations: 75.28 kB / 1.365 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.126e-05/1.501, allocations: 158.6 kB / 1.365 GB, free: 15.72 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-05/1.501, allocations: 150.6 kB / 1.365 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003701/1.501, allocations: 446.4 kB / 1.366 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/1.501, allocations: 169.1 kB / 1.366 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.684e-05/1.501, allocations: 88.14 kB / 1.366 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/1.501, allocations: 75.28 kB / 1.366 GB, free: 14.76 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.9e-05/1.501, allocations: 109.8 kB / 1.366 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.342e-06/1.501, allocations: 0 / 1.366 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 9.81e-05/1.502, allocations: 29.61 kB / 1.366 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/1.502, allocations: 55.39 kB / 1.366 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/1.502, allocations: 124.8 kB / 1.366 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/1.502, allocations: 25.7 kB / 1.366 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.379e-05/1.502, allocations: 84.14 kB / 1.366 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/1.502, allocations: 0 / 1.366 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/1.502, allocations: 0 / 1.366 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000142/1.502, allocations: 326.7 kB / 1.367 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.509e-05/1.502, allocations: 4 kB / 1.367 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.435e-05/1.502, allocations: 3.938 kB / 1.367 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/1.502, allocations: 32 kB / 1.367 GB, free: 13.93 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/1.502, allocations: 4.031 kB / 1.367 GB, free: 13.93 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003157/1.503, allocations: 65.58 kB / 1.367 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/1.503, allocations: 4 kB / 1.367 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/1.503, allocations: 0 / 1.367 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/1.503, allocations: 0 / 1.367 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/1.503, allocations: 4 kB / 1.367 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/1.503, allocations: 0 / 1.367 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.664e-05/1.503, allocations: 3.984 kB / 1.367 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/1.503, allocations: 0 / 1.367 GB, free: 13.84 MB / 0.8698 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0001108/1.503, allocations: 188.1 kB / 1.367 GB, free: 13.65 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.674e-05/1.503, allocations: 108.9 kB / 1.367 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.49e-05/1.503, allocations: 120.3 kB / 1.367 GB, free: 13.42 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.226e-05/1.503, allocations: 177 kB / 1.367 GB, free: 13.24 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.425e-05/1.503, allocations: 184.2 kB / 1.368 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.537e-05/1.503, allocations: 176.3 kB / 1.368 GB, free: 12.87 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/1.503, allocations: 401.8 kB / 1.368 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-05/1.503, allocations: 104.9 kB / 1.368 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.256e-05/1.503, allocations: 101 kB / 1.368 GB, free: 12.22 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.62e-05/1.504, allocations: 184.2 kB / 1.368 GB, free: 12.03 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-05/1.504, allocations: 180.2 kB / 1.369 GB, free: 11.85 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.527e-05/1.504, allocations: 181.9 kB / 1.369 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.057e-05/1.504, allocations: 180.2 kB / 1.369 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000147/1.504, allocations: 319.6 kB / 1.369 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002934/1.504, allocations: 0.672 MB / 1.37 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.307e-05/1.504, allocations: 190 kB / 1.37 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.503e-05/1.504, allocations: 176.3 kB / 1.37 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.507e-05/1.505, allocations: 104.9 kB / 1.37 GB, free: 9.945 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/1.505, allocations: 180.3 kB / 1.371 GB, free: 9.762 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.267e-05/1.505, allocations: 101.3 kB / 1.371 GB, free: 9.656 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.869e-05/1.505, allocations: 103.3 kB / 1.371 GB, free: 9.555 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001046/1.506, allocations: 39.94 kB / 1.371 GB, free: 9.516 MB / 0.8698 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 (0): * Single equations (assignments): 0 * 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.0004128/1.506, allocations: 242.4 kB / 1.371 GB, free: 9.27 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.767e-05/1.506, allocations: 41.64 kB / 1.371 GB, free: 9.223 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.506, allocations: 0 / 1.371 GB, free: 9.223 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.014e-06/1.506, allocations: 0 / 1.371 GB, free: 9.223 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/1.507, allocations: 0.5307 MB / 1.372 GB, free: 8.688 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002653/1.507, allocations: 147.1 kB / 1.372 GB, free: 8.52 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003244/1.507, allocations: 0.6998 MB / 1.372 GB, free: 7.793 MB / 0.8698 GB Notification: Performance of SimCode: time 4.81e-07/1.507, allocations: 3.938 kB / 1.372 GB, free: 7.789 MB / 0.8698 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat does not exist to compare? outputFormat=mat