Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.086/2.086, allocations: 390.4 MB / 397.7 MB, free: 10.68 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.001466/0.001466, allocations: 183 kB / 490.8 MB, free: 11.21 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.504/1.504, allocations: 221.4 MB / 0.7863 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 87.98 kB / 0.9264 GB, free: 4.555 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.4177/0.4189, allocations: 149.2 MB / 1.072 GB, free: 15.46 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9433/1.362, allocations: 143 MB / 1.212 GB, free: 156 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2099/1.572, allocations: 157.9 MB / 1.366 GB, free: 33.73 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/1.573, allocations: 109.2 kB / 1.366 GB, free: 33.63 MB / 0.8855 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.05163/1.624, allocations: 18.29 MB / 1.384 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/1.624, allocations: 15.98 kB / 1.384 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/1.624, allocations: 44.19 kB / 1.384 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006013/1.625, allocations: 351.1 kB / 1.384 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/1.625, allocations: 8 kB / 1.384 GB, free: 15 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.916e-05/1.625, allocations: 12 kB / 1.384 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002829/1.625, allocations: 124.8 kB / 1.384 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/1.626, allocations: 158.4 kB / 1.384 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/1.626, allocations: 0 / 1.384 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/1.626, allocations: 0 / 1.384 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/1.626, allocations: 8 kB / 1.384 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/1.627, allocations: 0.8202 MB / 1.385 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/1.627, allocations: 113.8 kB / 1.385 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/1.627, allocations: 92.83 kB / 1.385 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/1.627, allocations: 0 / 1.385 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/1.627, allocations: 38.56 kB / 1.386 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=18): time 2.324e-06/1.627, allocations: 0 / 1.386 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of matching and sorting (n=18): time 0.0003312/1.628, allocations: 149.4 kB / 1.386 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/1.628, allocations: 63.34 kB / 1.386 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003788/1.628, allocations: 334.1 kB / 1.386 GB, free: 13 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/1.628, allocations: 25.7 kB / 1.386 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.819e-05/1.628, allocations: 152.2 kB / 1.386 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.121e-05/1.628, allocations: 59.11 kB / 1.386 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.135e-06/1.628, allocations: 0 / 1.386 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.113e-05/1.628, allocations: 346.7 kB / 1.387 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.706e-05/1.629, allocations: 44 kB / 1.387 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.774e-05/1.629, allocations: 40 kB / 1.387 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.274e-05/1.629, allocations: 47.98 kB / 1.387 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.629, allocations: 0 / 1.387 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002403/1.629, allocations: 169.5 kB / 1.387 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/1.629, allocations: 4 kB / 1.387 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/1.629, allocations: 0 / 1.387 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/1.629, allocations: 0 / 1.387 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002857/1.629, allocations: 59.91 kB / 1.387 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/1.629, allocations: 7.984 kB / 1.387 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/1.63, allocations: 19.84 kB / 1.387 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/1.63, allocations: 1.5 kB / 1.387 GB, free: 12.02 MB / 0.8855 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 6.959e-05/1.63, allocations: 109 kB / 1.387 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.279e-05/1.63, allocations: 39.53 kB / 1.387 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.829e-05/1.63, allocations: 38.66 kB / 1.387 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/1.63, allocations: 4 kB / 1.387 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/1.63, allocations: 3.938 kB / 1.387 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/1.63, allocations: 0 / 1.387 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003184/1.63, allocations: 333.8 kB / 1.387 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/1.63, allocations: 0 / 1.387 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002752/1.63, allocations: 55.88 kB / 1.388 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/1.63, allocations: 11.98 kB / 1.388 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/1.63, allocations: 0 / 1.388 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/1.63, allocations: 1.688 kB / 1.388 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.63, allocations: 0 / 1.388 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003769/1.631, allocations: 333 kB / 1.388 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004609/1.631, allocations: 0.7613 MB / 1.389 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.883e-05/1.631, allocations: 113 kB / 1.389 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.003e-05/1.631, allocations: 3.906 kB / 1.389 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/1.632, allocations: 11.98 kB / 1.389 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/1.632, allocations: 11.98 kB / 1.389 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/1.632, allocations: 4 kB / 1.389 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0002536/1.632, allocations: 268.6 kB / 1.389 GB, free: 9.852 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000975/1.633, allocations: 79.75 kB / 1.389 GB, free: 9.773 MB / 0.8855 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.0004105/1.633, allocations: 259.9 kB / 1.389 GB, free: 9.52 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002114/1.634, allocations: 116 kB / 1.389 GB, free: 9.406 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.634, allocations: 0 / 1.389 GB, free: 9.406 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.608e-05/1.634, allocations: 70.47 kB / 1.39 GB, free: 9.344 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004695/1.634, allocations: 61.31 kB / 1.39 GB, free: 9.289 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/1.635, allocations: 0.5218 MB / 1.39 GB, free: 8.746 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003389/1.636, allocations: 0.8368 MB / 1.391 GB, free: 7.887 MB / 0.8855 GB Notification: Performance of SimCode: time 3.8e-07/1.636, allocations: 0 / 1.391 GB, free: 7.887 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat does not exist to compare? outputFormat=mat