Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.397/1.397, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.0009904/0.0009904, allocations: 177.3 kB / 361.1 MB, free: 7.094 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.146/1.146, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0008865/0.0008867, allocations: 100.2 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2029/0.2038, allocations: 121.5 MB / 0.8512 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4995/0.7033, allocations: 115.3 MB / 0.9638 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1549/0.8582, allocations: 140.3 MB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/0.8584, allocations: 91.38 kB / 1.101 GB, free: 15.6 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.01304/0.8715, allocations: 3.434 MB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.8715, allocations: 8.5 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.244e-05/0.8716, allocations: 83.19 kB / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.8718, allocations: 266.2 kB / 1.105 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.372e-05/0.8719, allocations: 154.5 kB / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.554e-05/0.872, allocations: 154.4 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.682e-05/0.872, allocations: 160.2 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.151e-05/0.8721, allocations: 101 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.8721, allocations: 75.28 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.775e-05/0.8722, allocations: 150.6 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.049e-05/0.8722, allocations: 150.6 kB / 1.105 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002569/0.8725, allocations: 450.4 kB / 1.106 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.333e-05/0.8726, allocations: 169.1 kB / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.886e-05/0.8726, allocations: 80.14 kB / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.8726, allocations: 75.28 kB / 1.106 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.235e-05/0.8727, allocations: 117.8 kB / 1.106 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.553e-06/0.8727, allocations: 0 / 1.106 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 7.588e-05/0.8728, allocations: 29.61 kB / 1.106 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.8728, allocations: 54.69 kB / 1.106 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.611e-05/0.8729, allocations: 122.3 kB / 1.106 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.8729, allocations: 25.7 kB / 1.107 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.223e-05/0.873, allocations: 92.06 kB / 1.107 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.232e-06/0.873, allocations: 0 / 1.107 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-06/0.873, allocations: 0 / 1.107 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.8731, allocations: 322.8 kB / 1.107 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.799e-05/0.8731, allocations: 4 kB / 1.107 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.508e-06/0.8731, allocations: 4 kB / 1.107 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.8733, allocations: 27.95 kB / 1.107 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.8733, allocations: 0 / 1.107 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002333/0.8735, allocations: 69.58 kB / 1.107 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.8735, allocations: 4 kB / 1.107 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.8736, allocations: 0 / 1.107 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/0.8736, allocations: 0 / 1.107 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.8736, allocations: 4 kB / 1.107 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.8736, allocations: 4.062 kB / 1.107 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.992e-05/0.8736, allocations: 0 / 1.107 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.8736, allocations: 1.875 kB / 1.107 GB, free: 9.117 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 7.715e-05/0.8737, allocations: 180.2 kB / 1.107 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-05/0.8738, allocations: 116.8 kB / 1.107 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.499e-05/0.8738, allocations: 112.6 kB / 1.107 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.954e-05/0.8739, allocations: 180.3 kB / 1.108 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.095e-05/0.874, allocations: 180.2 kB / 1.108 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.028e-05/0.874, allocations: 181 kB / 1.108 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.8743, allocations: 393.8 kB / 1.108 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.558e-05/0.8743, allocations: 104.9 kB / 1.108 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.45e-05/0.8743, allocations: 101 kB / 1.108 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.187e-05/0.8744, allocations: 192.3 kB / 1.109 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.985e-05/0.8745, allocations: 188.2 kB / 1.109 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.209e-05/0.8746, allocations: 176.3 kB / 1.109 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-05/0.8747, allocations: 180.2 kB / 1.109 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000125/0.8748, allocations: 317 kB / 1.109 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002455/0.8751, allocations: 0.6719 MB / 1.11 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.477e-05/0.8752, allocations: 187.7 kB / 1.11 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.434e-05/0.8752, allocations: 181.5 kB / 1.111 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.237e-05/0.8753, allocations: 108.9 kB / 1.111 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.294e-05/0.8754, allocations: 180.3 kB / 1.111 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.8755, allocations: 101.3 kB / 1.111 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.451e-05/0.8755, allocations: 110.1 kB / 1.111 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00093/0.8765, allocations: 35.94 kB / 1.111 GB, free: 4.785 MB / 0.7136 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.0003547/0.8768, allocations: 242.1 kB / 1.111 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.946e-05/0.8769, allocations: 37.7 kB / 1.111 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8769, allocations: 0 / 1.111 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.785e-06/0.8769, allocations: 4 kB / 1.111 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.8773, allocations: 0.5275 MB / 1.112 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002001/0.8775, allocations: 147.9 kB / 1.112 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002487/0.8777, allocations: 0.6958 MB / 1.113 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.8777, allocations: 0 / 1.113 GB, free: 3.07 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)