Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",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 loadModel(Buildings): time 3.973/3.973, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5544/4.527, allocations: 104.4 MB / 0.5319 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/4.762, allocations: 98.72 MB / 0.6283 GB, free: 9.758 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2659/5.028, allocations: 138.6 MB / 0.7637 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004508/5.029, allocations: 115.5 kB / 0.7638 GB, free: 14.8 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.5504/5.579, allocations: 26.28 MB / 0.7895 GB, free: 98.45 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/5.579, allocations: 7.719 kB / 0.7895 GB, free: 98.45 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007746/5.58, allocations: 153 kB / 0.7896 GB, free: 98.36 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001589/5.582, allocations: 0.6234 MB / 0.7902 GB, free: 98 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/5.582, allocations: 10.62 kB / 0.7902 GB, free: 98 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/5.582, allocations: 19.12 kB / 0.7903 GB, free: 98 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000437/5.582, allocations: 425 kB / 0.7907 GB, free: 98 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004278/5.583, allocations: 378.5 kB / 0.791 GB, free: 97.95 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/5.583, allocations: 3.984 kB / 0.791 GB, free: 97.95 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/5.583, allocations: 3.562 kB / 0.791 GB, free: 97.95 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/5.583, allocations: 4.438 kB / 0.791 GB, free: 97.95 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/5.585, allocations: 0.9214 MB / 0.7919 GB, free: 97.68 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006986/5.585, allocations: 0.554 MB / 0.7925 GB, free: 97.63 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004602/5.586, allocations: 333.7 kB / 0.7928 GB, free: 97.61 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001307/5.587, allocations: 1.04 MB / 0.7938 GB, free: 96.48 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006826/5.588, allocations: 402.2 kB / 0.7942 GB, free: 96.42 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 3.586e-06/5.588, allocations: 0 / 0.7942 GB, free: 96.42 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.001547/5.59, allocations: 0.7965 MB / 0.795 GB, free: 96.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/5.59, allocations: 79.7 kB / 0.7951 GB, free: 96.21 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003354/5.593, allocations: 1.539 MB / 0.7966 GB, free: 95.92 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002418/5.593, allocations: 26.7 kB / 0.7966 GB, free: 95.89 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007406/5.594, allocations: 334.5 kB / 0.7969 GB, free: 95.76 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/5.594, allocations: 15.41 kB / 0.7969 GB, free: 95.75 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/5.594, allocations: 4.031 kB / 0.7969 GB, free: 95.75 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002152/5.595, allocations: 407.7 kB / 0.7973 GB, free: 95.44 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003163/5.598, allocations: 1.471 MB / 0.7987 GB, free: 95.44 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003255/5.601, allocations: 1.612 MB / 0.8003 GB, free: 95.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003706/5.605, allocations: 1.863 MB / 0.8021 GB, free: 95.06 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/5.605, allocations: 0 / 0.8021 GB, free: 95.06 MB / 0.6511 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01448/5.619, allocations: 7.719 MB / 0.8097 GB, free: 94.17 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/5.62, allocations: 11.88 kB / 0.8097 GB, free: 94.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001724/5.62, allocations: 21.59 kB / 0.8097 GB, free: 94.14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.832e-05/5.62, allocations: 8 kB / 0.8097 GB, free: 94.13 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001518/5.621, allocations: 143.3 kB / 0.8099 GB, free: 94.03 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/5.621, allocations: 4 kB / 0.8099 GB, free: 94.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/5.623, allocations: 229.6 kB / 0.8101 GB, free: 93.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001942/5.623, allocations: 90.78 kB / 0.8102 GB, free: 93.72 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * 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 0.0001675/5.623, allocations: 118.8 kB / 0.8103 GB, free: 93.61 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/5.623, allocations: 123.6 kB / 0.8104 GB, free: 93.49 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/5.625, allocations: 0.7897 MB / 0.8112 GB, free: 92.82 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/5.625, allocations: 4 kB / 0.8112 GB, free: 92.82 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/5.625, allocations: 0 / 0.8112 GB, free: 92.82 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/5.625, allocations: 0 / 0.8112 GB, free: 92.82 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009461/5.626, allocations: 0.6532 MB / 0.8118 GB, free: 92.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/5.626, allocations: 0 / 0.8118 GB, free: 92.36 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/5.626, allocations: 5.688 kB / 0.8118 GB, free: 92.36 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/5.626, allocations: 4.031 kB / 0.8118 GB, free: 92.36 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/5.626, allocations: 9.125 kB / 0.8118 GB, free: 92.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/5.626, allocations: 1.453 kB / 0.8118 GB, free: 92.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/5.626, allocations: 0 / 0.8118 GB, free: 92.35 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008529/5.627, allocations: 0.8421 MB / 0.8126 GB, free: 91.59 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009371/5.628, allocations: 1.259 MB / 0.8139 GB, free: 90.41 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002776/5.628, allocations: 200.5 kB / 0.8141 GB, free: 90.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/5.628, allocations: 0 / 0.8141 GB, free: 90.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004278/5.629, allocations: 10.5 kB / 0.8141 GB, free: 90.19 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/5.629, allocations: 9.5 kB / 0.8141 GB, free: 90.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-05/5.629, allocations: 14.28 kB / 0.8141 GB, free: 90.18 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.001779/5.631, allocations: 1.016 MB / 0.8151 GB, free: 89.47 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002941/5.633, allocations: 0.535 MB / 0.8156 GB, free: 88.99 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002936/5.636, allocations: 0.593 MB / 0.8162 GB, free: 88.47 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005818/5.642, allocations: 2.508 MB / 0.8186 GB, free: 86.96 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/5.642, allocations: 0 / 0.8186 GB, free: 86.96 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007132/5.643, allocations: 337.6 kB / 0.819 GB, free: 86.68 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009986/5.644, allocations: 46.27 kB / 0.819 GB, free: 86.66 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007301/5.652, allocations: 2.126 MB / 0.8211 GB, free: 84.82 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002171/5.654, allocations: 1.231 MB / 0.8223 GB, free: 83.8 MB / 0.6511 GB Notification: Performance of SimCode: time 1.753e-06/5.654, allocations: 0 / 0.8223 GB, free: 83.8 MB / 0.6511 GB