Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",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.7068/0.7068, allocations: 127.4 MB / 134.6 MB, free: 4.133 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.001262/0.001262, allocations: 185.3 kB / 164.4 MB, free: 6.871 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.79/1.79, allocations: 205.1 MB / 399.1 MB, free: 6.098 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.001043/0.001043, allocations: 81.73 kB / 476.3 MB, free: 8.848 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3459/0.347, allocations: 82.97 MB / 0.5461 GB, free: 42.58 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.5344, allocations: 76.73 MB / 0.6211 GB, free: 13.77 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5099/1.044, allocations: 106.6 MB / 0.7252 GB, free: 5.652 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003612/1.045, allocations: 115.9 kB / 0.7253 GB, free: 5.539 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01927/1.064, allocations: 6.265 MB / 0.7314 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/1.064, allocations: 8 kB / 0.7314 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/1.064, allocations: 7.906 kB / 0.7314 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/1.064, allocations: 167.7 kB / 0.7316 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/1.064, allocations: 4 kB / 0.7316 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/1.064, allocations: 0 / 0.7316 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.402e-05/1.064, allocations: 12 kB / 0.7316 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/1.065, allocations: 37.59 kB / 0.7316 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/1.065, allocations: 0 / 0.7316 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/1.065, allocations: 0 / 0.7316 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/1.065, allocations: 7.984 kB / 0.7316 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001604/1.065, allocations: 142.2 kB / 0.7318 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.816e-05/1.065, allocations: 42.55 kB / 0.7318 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.389e-05/1.065, allocations: 12.89 kB / 0.7318 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000968/1.066, allocations: 0.9788 MB / 0.7328 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/1.066, allocations: 38.55 kB / 0.7328 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/1.066, allocations: 0 / 0.7328 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0002304/1.066, allocations: 49.59 kB / 0.7329 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/1.066, allocations: 51.41 kB / 0.7329 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.997e-05/1.066, allocations: 109.6 kB / 0.733 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/1.066, allocations: 25.7 kB / 0.733 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.091e-05/1.066, allocations: 80.14 kB / 0.7331 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/1.066, allocations: 23.73 kB / 0.7331 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-06/1.066, allocations: 0 / 0.7331 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001408/1.067, allocations: 314.8 kB / 0.7334 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.044e-05/1.067, allocations: 8 kB / 0.7334 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.523e-05/1.067, allocations: 4 kB / 0.7334 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.685e-05/1.067, allocations: 15.98 kB / 0.7335 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.067, allocations: 0 / 0.7335 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001134/1.067, allocations: 53.59 kB / 0.7335 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/1.067, allocations: 4 kB / 0.7335 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/1.067, allocations: 0 / 0.7335 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/1.067, allocations: 4 kB / 0.7335 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/1.067, allocations: 11.98 kB / 0.7335 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/1.067, allocations: 4 kB / 0.7335 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.416e-05/1.067, allocations: 0 / 0.7335 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/1.067, allocations: 0 / 0.7335 GB, free: 12.68 MB / 0.4948 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 (4): * Single equations (assignments): 4 * 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 7.385e-05/1.067, allocations: 112.8 kB / 0.7336 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.458e-06/1.067, allocations: 4 kB / 0.7336 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001752/1.067, allocations: 64.06 kB / 0.7337 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/1.067, allocations: 0 / 0.7337 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/1.067, allocations: 3.906 kB / 0.7337 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/1.067, allocations: 0 / 0.7337 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/1.067, allocations: 138.2 kB / 0.7338 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/1.067, allocations: 0 / 0.7338 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.158e-05/1.068, allocations: 15.98 kB / 0.7339 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/1.068, allocations: 4 kB / 0.7339 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/1.068, allocations: 0 / 0.7339 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/1.068, allocations: 0 / 0.7339 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/1.068, allocations: 0 / 0.7339 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000125/1.068, allocations: 81.2 kB / 0.7339 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002739/1.068, allocations: 469.5 kB / 0.7344 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.079e-05/1.068, allocations: 88.95 kB / 0.7345 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/1.068, allocations: 0 / 0.7345 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.736e-05/1.068, allocations: 4 kB / 0.7345 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.358e-05/1.068, allocations: 7.938 kB / 0.7345 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/1.068, allocations: 0 / 0.7345 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.815e-05/1.068, allocations: 83.27 kB / 0.7346 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008165/1.069, allocations: 47.94 kB / 0.7346 GB, free: 11.47 MB / 0.4948 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 (4): * Single equations (assignments): 4 * 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.0003052/1.069, allocations: 166 kB / 0.7348 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.067e-05/1.069, allocations: 15.98 kB / 0.7348 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.069, allocations: 4 kB / 0.7348 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.049e-05/1.069, allocations: 12 kB / 0.7348 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/1.07, allocations: 7.922 kB / 0.7348 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002869/1.07, allocations: 70.95 kB / 0.7349 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000392/1.07, allocations: 0.7003 MB / 0.7356 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of SimCode: time 2.61e-07/1.07, allocations: 0 / 0.7356 GB, free: 10.45 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)