Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",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.169/2.169, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.001364/0.001365, allocations: 184.5 kB / 487 MB, free: 5.355 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.479/1.479, allocations: 221.3 MB / 0.7819 GB, free: 1.441 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.0009931/0.0009931, allocations: 99.7 kB / 0.9213 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6567/0.6577, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.9481, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8716/1.82, allocations: 157.1 MB / 1.359 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/1.82, allocations: 106.7 kB / 1.359 GB, free: 15.8 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.04494/1.865, allocations: 18.27 MB / 1.377 GB, free: 2.43 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/1.865, allocations: 9 kB / 1.377 GB, free: 2.422 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.051e-05/1.865, allocations: 50.19 kB / 1.377 GB, free: 2.375 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004242/1.866, allocations: 358.9 kB / 1.377 GB, free: 2.039 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/1.866, allocations: 8 kB / 1.377 GB, free: 2.031 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/1.866, allocations: 12 kB / 1.377 GB, free: 2.02 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002346/1.866, allocations: 124.8 kB / 1.377 GB, free: 1.945 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/1.866, allocations: 155.7 kB / 1.377 GB, free: 1.828 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/1.866, allocations: 7.984 kB / 1.377 GB, free: 1.82 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/1.866, allocations: 0 / 1.377 GB, free: 1.82 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/1.866, allocations: 8 kB / 1.377 GB, free: 1.812 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009876/1.867, allocations: 0.8168 MB / 1.378 GB, free: 1.109 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/1.867, allocations: 106 kB / 1.378 GB, free: 1.035 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/1.868, allocations: 92.11 kB / 1.378 GB, free: 0.9766 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/1.868, allocations: 4 kB / 1.378 GB, free: 0.9727 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/1.868, allocations: 30.88 kB / 1.378 GB, free: 0.9336 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=18): time 1.813e-06/1.868, allocations: 7.984 kB / 1.378 GB, free: 0.9258 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18): time 0.000288/1.868, allocations: 165.4 kB / 1.379 GB, free: 0.7891 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.243e-05/1.868, allocations: 51.41 kB / 1.379 GB, free: 0.7266 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003286/1.868, allocations: 330.8 kB / 1.379 GB, free: 480 kB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/1.868, allocations: 25.7 kB / 1.379 GB, free: 448 kB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.828e-05/1.868, allocations: 153.4 kB / 1.379 GB, free: 308 kB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.396e-05/1.868, allocations: 58.48 kB / 1.379 GB, free: 256 kB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/1.868, allocations: 0 / 1.379 GB, free: 256 kB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001455/1.869, allocations: 349 kB / 1.379 GB, free: 15.91 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.463e-05/1.869, allocations: 40.84 kB / 1.38 GB, free: 15.89 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.928e-05/1.869, allocations: 40.45 kB / 1.38 GB, free: 15.86 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.209e-05/1.869, allocations: 49.48 kB / 1.38 GB, free: 15.84 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/1.869, allocations: 0 / 1.38 GB, free: 15.84 MB / 0.823 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002518/1.869, allocations: 165 kB / 1.38 GB, free: 15.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/1.869, allocations: 8 kB / 1.38 GB, free: 15.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/1.869, allocations: 0 / 1.38 GB, free: 15.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/1.869, allocations: 3.938 kB / 1.38 GB, free: 15.69 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002909/1.869, allocations: 62.66 kB / 1.38 GB, free: 15.63 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/1.869, allocations: 0 / 1.38 GB, free: 15.63 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/1.87, allocations: 23.83 kB / 1.38 GB, free: 15.61 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/1.87, allocations: 6.688 kB / 1.38 GB, free: 15.61 MB / 0.823 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 (20): * Single equations (assignments): 20 * 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 8.596e-05/1.87, allocations: 112.8 kB / 1.38 GB, free: 15.49 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.886e-05/1.87, allocations: 31.62 kB / 1.38 GB, free: 15.46 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.729e-05/1.87, allocations: 40.55 kB / 1.38 GB, free: 15.43 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/1.87, allocations: 0 / 1.38 GB, free: 15.43 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/1.87, allocations: 4 kB / 1.38 GB, free: 15.43 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/1.87, allocations: 3.906 kB / 1.38 GB, free: 15.42 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003732/1.87, allocations: 328.3 kB / 1.38 GB, free: 15.13 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/1.87, allocations: 4 kB / 1.38 GB, free: 15.13 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000278/1.871, allocations: 59.53 kB / 1.38 GB, free: 15.07 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/1.871, allocations: 0 / 1.38 GB, free: 15.07 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/1.871, allocations: 0 / 1.38 GB, free: 15.07 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/1.871, allocations: 0 / 1.38 GB, free: 15.07 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.871, allocations: 4 kB / 1.38 GB, free: 15.07 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00041/1.871, allocations: 334.2 kB / 1.381 GB, free: 14.79 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006085/1.872, allocations: 0.7566 MB / 1.381 GB, free: 14.11 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/1.872, allocations: 123.1 kB / 1.382 GB, free: 13.98 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.81e-05/1.872, allocations: 0 / 1.382 GB, free: 13.98 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/1.872, allocations: 11.98 kB / 1.382 GB, free: 13.97 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/1.872, allocations: 22.61 kB / 1.382 GB, free: 13.95 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/1.872, allocations: 0 / 1.382 GB, free: 13.95 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.000348/1.872, allocations: 262.7 kB / 1.382 GB, free: 13.75 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0009183/1.873, allocations: 85.92 kB / 1.382 GB, free: 13.68 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0004172/1.874, allocations: 275.7 kB / 1.382 GB, free: 13.42 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002104/1.874, allocations: 111 kB / 1.382 GB, free: 13.35 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/1.874, allocations: 0 / 1.382 GB, free: 13.35 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.723e-05/1.874, allocations: 60.92 kB / 1.382 GB, free: 13.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/1.875, allocations: 71.19 kB / 1.382 GB, free: 13.25 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/1.876, allocations: 0.5123 MB / 1.383 GB, free: 12.78 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005502/1.876, allocations: 0.8437 MB / 1.384 GB, free: 11.92 MB / 0.823 GB Notification: Performance of SimCode: time 4.2e-07/1.876, allocations: 0 / 1.384 GB, free: 11.92 MB / 0.823 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat does not exist to compare? outputFormat=mat