Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_SteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_SteadyState",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/Complex 4.0.0+maint.om/package.mo): time 0.002026/0.002026, allocations: 188.9 kB / 7.803 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5448/0.5448, allocations: 90.84 MB / 99.07 MB, free: 14.99 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 221.4 MB / 342.7 MB, free: 5.223 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 100.2 kB / 415.5 MB, free: 6.434 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1715/0.1725, allocations: 78.49 MB / 494 MB, free: 7.953 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.5373, allocations: 72.3 MB / 0.553 GB, free: 73.4 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1145/0.6518, allocations: 102.2 MB / 0.6528 GB, free: 7.848 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.6521, allocations: 107.8 kB / 0.6529 GB, free: 7.742 MB / 474.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.007547/0.6597, allocations: 1.594 MB / 0.6545 GB, free: 6.129 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.6597, allocations: 8.781 kB / 0.6545 GB, free: 6.121 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.6597, allocations: 4 kB / 0.6545 GB, free: 6.117 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.6599, allocations: 167.9 kB / 0.6547 GB, free: 5.914 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.6599, allocations: 3.984 kB / 0.6547 GB, free: 5.91 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.908e-06/0.6599, allocations: 4 kB / 0.6547 GB, free: 5.906 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.817e-05/0.66, allocations: 13.06 kB / 0.6547 GB, free: 5.895 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.674e-05/0.6601, allocations: 37.69 kB / 0.6547 GB, free: 5.852 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.6601, allocations: 0.5312 kB / 0.6547 GB, free: 5.852 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.6601, allocations: 0.6875 kB / 0.6547 GB, free: 5.852 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.6601, allocations: 3.938 kB / 0.6547 GB, free: 5.848 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.6603, allocations: 149.6 kB / 0.6549 GB, free: 5.668 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.355e-05/0.6603, allocations: 34.66 kB / 0.6549 GB, free: 5.625 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.036e-05/0.6604, allocations: 16.72 kB / 0.6549 GB, free: 5.609 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005839/0.661, allocations: 145.3 kB / 0.6551 GB, free: 5.453 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.661, allocations: 40.02 kB / 0.6551 GB, free: 5.406 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.661, allocations: 0 / 0.6551 GB, free: 5.406 MB / 474.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002076/0.6612, allocations: 41.7 kB / 0.6551 GB, free: 5.359 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.6613, allocations: 52.12 kB / 0.6552 GB, free: 5.297 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.257e-05/0.6614, allocations: 96.98 kB / 0.6553 GB, free: 5.195 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.6614, allocations: 26.67 kB / 0.6553 GB, free: 5.164 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.969e-05/0.6614, allocations: 80.14 kB / 0.6554 GB, free: 5.082 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.6615, allocations: 16.81 kB / 0.6554 GB, free: 5.066 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-06/0.6615, allocations: 0 / 0.6554 GB, free: 5.066 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.6616, allocations: 315.4 kB / 0.6557 GB, free: 4.75 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.758e-05/0.6616, allocations: 4.938 kB / 0.6557 GB, free: 4.746 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.735e-05/0.6616, allocations: 11.94 kB / 0.6557 GB, free: 4.734 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.953e-05/0.6617, allocations: 8.938 kB / 0.6557 GB, free: 4.727 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.6617, allocations: 3.906 kB / 0.6557 GB, free: 4.723 MB / 474.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001167/0.6618, allocations: 49.88 kB / 0.6558 GB, free: 4.668 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.6619, allocations: 7.844 kB / 0.6558 GB, free: 4.664 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.6619, allocations: 0 / 0.6558 GB, free: 4.664 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.6619, allocations: 0 / 0.6558 GB, free: 4.664 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.264e-05/0.662, allocations: 11.98 kB / 0.6558 GB, free: 4.652 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.662, allocations: 0 / 0.6558 GB, free: 4.652 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.895e-05/0.662, allocations: 8.391 kB / 0.6558 GB, free: 4.645 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.662, allocations: 4.5 kB / 0.6558 GB, free: 4.641 MB / 474.7 MB 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 6.676e-05/0.6621, allocations: 102.2 kB / 0.6559 GB, free: 4.535 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.055e-06/0.6621, allocations: 0 / 0.6559 GB, free: 4.535 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001869/0.6623, allocations: 73.59 kB / 0.656 GB, free: 4.457 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.6623, allocations: 4 kB / 0.656 GB, free: 4.453 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.6623, allocations: 7.109 kB / 0.656 GB, free: 4.449 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.6623, allocations: 0 / 0.656 GB, free: 4.449 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.6624, allocations: 135.2 kB / 0.6561 GB, free: 4.281 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.6625, allocations: 4 kB / 0.6561 GB, free: 4.277 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.097e-05/0.6625, allocations: 7.938 kB / 0.6561 GB, free: 4.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.6625, allocations: 0.9375 kB / 0.6561 GB, free: 4.27 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.6625, allocations: 7.906 kB / 0.6561 GB, free: 4.262 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.6625, allocations: 3.469 kB / 0.6561 GB, free: 4.262 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.6625, allocations: 0 / 0.6561 GB, free: 4.262 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001289/0.6627, allocations: 77 kB / 0.6562 GB, free: 4.172 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002763/0.6629, allocations: 465.4 kB / 0.6567 GB, free: 3.695 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.179e-05/0.663, allocations: 85.02 kB / 0.6567 GB, free: 3.594 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.663, allocations: 0 / 0.6567 GB, free: 3.594 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.578e-05/0.6631, allocations: 3.984 kB / 0.6567 GB, free: 3.59 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.745e-05/0.6631, allocations: 4.688 kB / 0.6568 GB, free: 3.586 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.6631, allocations: 6.562 kB / 0.6568 GB, free: 3.582 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.825e-05/0.6631, allocations: 79.28 kB / 0.6568 GB, free: 3.504 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008218/0.664, allocations: 30 kB / 0.6569 GB, free: 3.477 MB / 474.7 MB 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.0002485/0.6642, allocations: 123.2 kB / 0.657 GB, free: 3.344 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 8.192e-05/0.6643, allocations: 28.42 kB / 0.657 GB, free: 3.316 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6643, allocations: 0.5 kB / 0.657 GB, free: 3.316 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.924e-05/0.6644, allocations: 12.78 kB / 0.657 GB, free: 3.305 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.6645, allocations: 12.5 kB / 0.657 GB, free: 3.297 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002117/0.6647, allocations: 68.38 kB / 0.6571 GB, free: 3.207 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002965/0.665, allocations: 0.6956 MB / 0.6578 GB, free: 2.492 MB / 474.7 MB Notification: Performance of SimCode: time 2.51e-07/0.665, allocations: 0 / 0.6578 GB, free: 2.492 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_SteadyState_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_SteadyState.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.pipe 2>&1)