Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.571/1.571, allocations: 289.8 MB / 297.1 MB, free: 6.723 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001495/0.001495, allocations: 193.2 kB / 366.3 MB, free: 2.016 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.638/1.638, allocations: 205.1 MB / 0.6256 GB, free: 5.852 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009956/0.0009958, allocations: 88.77 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3013/0.3023, allocations: 122.4 MB / 0.8591 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.732/1.034, allocations: 116.3 MB / 0.9727 GB, free: 68.11 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1917/1.226, allocations: 141.3 MB / 1.111 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/1.226, allocations: 87.88 kB / 1.111 GB, free: 7.168 MB / 0.7136 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.01367/1.24, allocations: 3.426 MB / 1.114 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/1.24, allocations: 8 kB / 1.114 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.255e-05/1.24, allocations: 83.19 kB / 1.114 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/1.24, allocations: 270.2 kB / 1.114 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.395e-05/1.241, allocations: 154.6 kB / 1.115 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.6e-05/1.241, allocations: 153.2 kB / 1.115 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.287e-05/1.241, allocations: 155 kB / 1.115 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6e-05/1.241, allocations: 101 kB / 1.115 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/1.241, allocations: 79.28 kB / 1.115 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001355/1.241, allocations: 154.6 kB / 1.115 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.228e-05/1.241, allocations: 151.3 kB / 1.115 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003379/1.241, allocations: 446.9 kB / 1.116 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.68e-05/1.241, allocations: 169.1 kB / 1.116 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.35e-05/1.241, allocations: 84.14 kB / 1.116 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.757e-05/1.242, allocations: 79.28 kB / 1.116 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/1.242, allocations: 105.8 kB / 1.116 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.203e-06/1.242, allocations: 0 / 1.116 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 9.323e-05/1.242, allocations: 37.59 kB / 1.116 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/1.242, allocations: 51.97 kB / 1.116 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/1.242, allocations: 117.1 kB / 1.116 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/1.242, allocations: 33.7 kB / 1.116 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.922e-05/1.242, allocations: 88.08 kB / 1.116 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/1.242, allocations: 0 / 1.116 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/1.242, allocations: 0 / 1.116 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001415/1.242, allocations: 323.6 kB / 1.117 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.912e-05/1.242, allocations: 4 kB / 1.117 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.531e-05/1.242, allocations: 7.938 kB / 1.117 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/1.242, allocations: 23.97 kB / 1.117 GB, free: 0.7148 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/1.242, allocations: 0 / 1.117 GB, free: 0.7148 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002142/1.243, allocations: 69.61 kB / 1.117 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/1.243, allocations: 8 kB / 1.117 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/1.243, allocations: 0.5625 kB / 1.117 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/1.243, allocations: 3.984 kB / 1.117 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.442e-06/1.243, allocations: 1.781 kB / 1.117 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/1.243, allocations: 0 / 1.117 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.492e-05/1.243, allocations: 4 kB / 1.117 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/1.243, allocations: 4 kB / 1.117 GB, free: 0.6211 MB / 0.7136 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 9.999e-05/1.243, allocations: 180.2 kB / 1.117 GB, free: 448 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.265e-05/1.243, allocations: 116.9 kB / 1.117 GB, free: 324 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.999e-05/1.243, allocations: 108.6 kB / 1.117 GB, free: 204 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.255e-05/1.243, allocations: 184.2 kB / 1.117 GB, free: 12 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-05/1.243, allocations: 180.2 kB / 1.118 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.878e-05/1.243, allocations: 177 kB / 1.118 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/1.243, allocations: 393.8 kB / 1.118 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-05/1.244, allocations: 104.9 kB / 1.118 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.416e-05/1.244, allocations: 109 kB / 1.118 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.891e-05/1.244, allocations: 180.3 kB / 1.119 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.771e-05/1.244, allocations: 188.2 kB / 1.119 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.535e-05/1.244, allocations: 176.3 kB / 1.119 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.972e-05/1.244, allocations: 184.2 kB / 1.119 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001281/1.244, allocations: 313 kB / 1.119 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002603/1.244, allocations: 0.6759 MB / 1.12 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.769e-05/1.244, allocations: 190.5 kB / 1.12 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.641e-05/1.244, allocations: 176.3 kB / 1.12 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.594e-05/1.245, allocations: 104.9 kB / 1.12 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.69e-05/1.245, allocations: 176.3 kB / 1.121 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/1.245, allocations: 109.3 kB / 1.121 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.554e-05/1.245, allocations: 100 kB / 1.121 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00104/1.246, allocations: 44.58 kB / 1.121 GB, free: 12.29 MB / 0.7292 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.0003927/1.246, allocations: 242.3 kB / 1.121 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.563e-05/1.246, allocations: 37.66 kB / 1.121 GB, free: 12 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.246, allocations: 4.062 kB / 1.121 GB, free: 12 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/1.246, allocations: 0 / 1.121 GB, free: 12 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004878/1.247, allocations: 0.5293 MB / 1.122 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002677/1.247, allocations: 150.3 kB / 1.122 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003462/1.248, allocations: 0.6997 MB / 1.122 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of SimCode: time 7.81e-07/1.248, allocations: 0 / 1.122 GB, free: 10.57 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)