Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.8275/0.8275, allocations: 127.4 MB / 134.6 MB, free: 4.07 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 177.3 kB / 164.4 MB, free: 6.867 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.753/1.753, allocations: 205.1 MB / 399.1 MB, free: 6.125 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 76.45 kB / 476.3 MB, free: 8.883 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.376/0.3771, allocations: 82.94 MB / 0.5461 GB, free: 42.59 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.574, allocations: 76.75 MB / 0.6211 GB, free: 13.76 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5681/1.142, allocations: 110.9 MB / 0.7293 GB, free: 1.312 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003387/1.143, allocations: 111.9 kB / 0.7294 GB, free: 1.203 MB / 490.7 MB 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.05432/1.197, allocations: 18.58 MB / 0.7476 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/1.197, allocations: 16 kB / 0.7476 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/1.197, allocations: 43.44 kB / 0.7476 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008077/1.198, allocations: 359.5 kB / 0.748 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/1.198, allocations: 8 kB / 0.748 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.95e-05/1.198, allocations: 12 kB / 0.748 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003438/1.198, allocations: 124.9 kB / 0.7481 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003454/1.199, allocations: 150.5 kB / 0.7483 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/1.199, allocations: 0 / 0.7483 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.533e-05/1.199, allocations: 3.906 kB / 0.7483 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/1.199, allocations: 4 kB / 0.7483 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/1.2, allocations: 0.8307 MB / 0.7491 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/1.201, allocations: 109.9 kB / 0.7492 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/1.201, allocations: 88.86 kB / 0.7493 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/1.201, allocations: 3.984 kB / 0.7493 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/1.201, allocations: 42.44 kB / 0.7493 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 2.385e-06/1.201, allocations: 0 / 0.7493 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0003868/1.201, allocations: 149.8 kB / 0.7495 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/1.201, allocations: 59.41 kB / 0.7495 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004407/1.202, allocations: 334 kB / 0.7498 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/1.202, allocations: 25.7 kB / 0.7499 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.255e-05/1.202, allocations: 160.1 kB / 0.75 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.544e-05/1.202, allocations: 59.11 kB / 0.7501 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-06/1.202, allocations: 0 / 0.7501 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001781/1.202, allocations: 346.8 kB / 0.7504 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.881e-05/1.202, allocations: 40 kB / 0.7504 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.148e-05/1.202, allocations: 43.27 kB / 0.7505 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.864e-05/1.202, allocations: 47.98 kB / 0.7505 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/1.202, allocations: 0 / 0.7505 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000278/1.203, allocations: 173.4 kB / 0.7507 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/1.203, allocations: 6.5 kB / 0.7507 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/1.203, allocations: 0 / 0.7507 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/1.203, allocations: 0 / 0.7507 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003108/1.203, allocations: 59.97 kB / 0.7507 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/1.203, allocations: 4 kB / 0.7508 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/1.203, allocations: 19.89 kB / 0.7508 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/1.203, allocations: 4 kB / 0.7508 GB, free: 11.07 MB / 0.5105 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 9.451e-05/1.204, allocations: 104.9 kB / 0.7509 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.269e-05/1.204, allocations: 39.52 kB / 0.7509 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.013e-05/1.204, allocations: 35.19 kB / 0.7509 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/1.204, allocations: 4 kB / 0.751 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.204, allocations: 0 / 0.751 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/1.204, allocations: 0 / 0.751 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004227/1.204, allocations: 333.8 kB / 0.7513 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.204, allocations: 0 / 0.7513 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002891/1.204, allocations: 55.97 kB / 0.7513 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.788e-06/1.204, allocations: 4 kB / 0.7513 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/1.204, allocations: 11.84 kB / 0.7513 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/1.205, allocations: 3.984 kB / 0.7513 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.205, allocations: 0 / 0.7513 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004564/1.205, allocations: 319 kB / 0.7516 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006928/1.206, allocations: 0.7678 MB / 0.7524 GB, free: 9.332 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/1.206, allocations: 116.8 kB / 0.7525 GB, free: 9.199 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.638e-05/1.206, allocations: 0 / 0.7525 GB, free: 9.199 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/1.206, allocations: 15.89 kB / 0.7525 GB, free: 9.184 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/1.206, allocations: 15.86 kB / 0.7525 GB, free: 9.168 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/1.206, allocations: 8 kB / 0.7525 GB, free: 9.16 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0003673/1.207, allocations: 272.6 kB / 0.7528 GB, free: 8.898 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001054/1.208, allocations: 75.84 kB / 0.7529 GB, free: 8.824 MB / 0.5105 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.0004265/1.208, allocations: 275.3 kB / 0.7531 GB, free: 8.547 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002415/1.208, allocations: 111.9 kB / 0.7532 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/1.208, allocations: 0 / 0.7532 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/1.208, allocations: 63.94 kB / 0.7533 GB, free: 8.375 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004914/1.209, allocations: 67 kB / 0.7534 GB, free: 8.312 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/1.21, allocations: 0.5148 MB / 0.7539 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006353/1.211, allocations: 0.8485 MB / 0.7547 GB, free: 6.898 MB / 0.5105 GB Notification: Performance of SimCode: time 4.6e-07/1.211, allocations: 0 / 0.7547 GB, free: 6.898 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)