Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",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.8469/0.8469, allocations: 127.4 MB / 134.6 MB, free: 4.094 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.001214/0.001213, allocations: 181.3 kB / 164.4 MB, free: 6.879 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.854/1.854, allocations: 205.1 MB / 399.1 MB, free: 6.172 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.001/0.0009999, allocations: 84.19 kB / 476.3 MB, free: 8.93 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3596/0.3606, allocations: 82.94 MB / 0.5461 GB, free: 42.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.552, allocations: 76.75 MB / 0.6211 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5512/1.103, allocations: 113.2 MB / 0.7316 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003942/1.104, allocations: 115.9 kB / 0.7317 GB, free: 15.03 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.0668/1.17, allocations: 22.97 MB / 0.7541 GB, free: 7.941 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/1.171, allocations: 12 kB / 0.7541 GB, free: 7.93 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003055/1.171, allocations: 71.16 kB / 0.7542 GB, free: 7.859 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009727/1.172, allocations: 432.8 kB / 0.7546 GB, free: 7.395 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/1.172, allocations: 16 kB / 0.7546 GB, free: 7.379 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.983e-05/1.172, allocations: 31.91 kB / 0.7546 GB, free: 7.348 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007279/1.173, allocations: 309.9 kB / 0.7549 GB, free: 7.047 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006516/1.173, allocations: 328.6 kB / 0.7553 GB, free: 6.719 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/1.173, allocations: 0 / 0.7553 GB, free: 6.719 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.141e-05/1.173, allocations: 4 kB / 0.7553 GB, free: 6.715 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/1.174, allocations: 15.94 kB / 0.7553 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002371/1.176, allocations: 1.452 MB / 0.7567 GB, free: 5.188 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003993/1.176, allocations: 246.2 kB / 0.7569 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004569/1.177, allocations: 269.6 kB / 0.7572 GB, free: 4.672 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/1.177, allocations: 12.61 kB / 0.7572 GB, free: 4.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/1.177, allocations: 38.56 kB / 0.7572 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=42): time 4.237e-06/1.177, allocations: 0 / 0.7572 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of matching and sorting (n=42): time 0.0006146/1.177, allocations: 320.4 kB / 0.7575 GB, free: 4.293 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/1.178, allocations: 55.41 kB / 0.7576 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000538/1.178, allocations: 369.2 kB / 0.7579 GB, free: 3.863 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/1.178, allocations: 25.7 kB / 0.758 GB, free: 3.832 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/1.178, allocations: 220 kB / 0.7582 GB, free: 3.609 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/1.178, allocations: 133.9 kB / 0.7583 GB, free: 3.477 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.41e-05/1.178, allocations: 4 kB / 0.7583 GB, free: 3.473 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002082/1.179, allocations: 358.8 kB / 0.7586 GB, free: 3.113 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/1.179, allocations: 96.75 kB / 0.7587 GB, free: 3.016 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/1.179, allocations: 97.12 kB / 0.7588 GB, free: 2.922 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/1.179, allocations: 122.6 kB / 0.759 GB, free: 2.805 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.179, allocations: 3.938 kB / 0.759 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005477/1.18, allocations: 332.2 kB / 0.7593 GB, free: 2.469 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/1.18, allocations: 4 kB / 0.7593 GB, free: 2.465 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/1.18, allocations: 4 kB / 0.7593 GB, free: 2.461 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.788e-05/1.18, allocations: 11.98 kB / 0.7593 GB, free: 2.449 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005872/1.18, allocations: 127.9 kB / 0.7594 GB, free: 2.324 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/1.181, allocations: 0 / 0.7594 GB, free: 2.324 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000342/1.181, allocations: 43.67 kB / 0.7595 GB, free: 2.281 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/1.181, allocations: 8 kB / 0.7595 GB, free: 2.273 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 (46): * Single equations (assignments): 46 * 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 0.0001266/1.181, allocations: 108.9 kB / 0.7596 GB, free: 2.16 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.687e-05/1.181, allocations: 43.44 kB / 0.7596 GB, free: 2.117 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/1.181, allocations: 52.64 kB / 0.7597 GB, free: 2.062 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/1.181, allocations: 7.906 kB / 0.7597 GB, free: 2.055 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/1.181, allocations: 4 kB / 0.7597 GB, free: 2.051 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/1.181, allocations: 7.984 kB / 0.7597 GB, free: 2.043 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007603/1.182, allocations: 0.4975 MB / 0.7602 GB, free: 1.508 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/1.182, allocations: 0 / 0.7602 GB, free: 1.508 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000585/1.183, allocations: 127.9 kB / 0.7603 GB, free: 1.383 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.03e-05/1.183, allocations: 0 / 0.7603 GB, free: 1.383 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.259e-05/1.183, allocations: 7.938 kB / 0.7603 GB, free: 1.375 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/1.183, allocations: 8 kB / 0.7603 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/1.183, allocations: 0 / 0.7603 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007965/1.184, allocations: 0.5689 MB / 0.7609 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001327/1.185, allocations: 1.109 MB / 0.7619 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/1.185, allocations: 132.4 kB / 0.7621 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.825e-05/1.185, allocations: 7.984 kB / 0.7621 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002649/1.186, allocations: 11.98 kB / 0.7621 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.026e-05/1.186, allocations: 24.66 kB / 0.7621 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/1.186, allocations: 8 kB / 0.7621 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0003939/1.186, allocations: 299.2 kB / 0.7624 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001181/1.187, allocations: 143.4 kB / 0.7625 GB, free: 15.03 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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.0004792/1.188, allocations: 276 kB / 0.7628 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005185/1.188, allocations: 279.8 kB / 0.7631 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/1.188, allocations: 4 kB / 0.7631 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002621/1.189, allocations: 163.6 kB / 0.7632 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005694/1.189, allocations: 71.58 kB / 0.7633 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/1.191, allocations: 0.8968 MB / 0.7642 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000672/1.192, allocations: 0.9325 MB / 0.7651 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of SimCode: time 8.42e-07/1.192, allocations: 3.938 kB / 0.7651 GB, free: 12.36 MB / 0.5261 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)