Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.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.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition",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 4.075/4.075, allocations: 433 MB / 440.3 MB, free: 4.789 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6539/4.729, allocations: 104.3 MB / 0.5319 GB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/5.005, allocations: 98.72 MB / 0.6283 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2368/5.242, allocations: 128.6 MB / 0.7538 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003337/5.242, allocations: 99.56 kB / 0.7539 GB, free: 8.949 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.02782/5.27, allocations: 5.522 MB / 0.7593 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/5.27, allocations: 8 kB / 0.7593 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.856e-05/5.27, allocations: 23.72 kB / 0.7594 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006046/5.271, allocations: 305.6 kB / 0.7597 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/5.271, allocations: 4 kB / 0.7597 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.588e-05/5.271, allocations: 16 kB / 0.7597 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002767/5.271, allocations: 60.45 kB / 0.7597 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003948/5.272, allocations: 172.1 kB / 0.7599 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/5.272, allocations: 4 kB / 0.7599 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/5.272, allocations: 4 kB / 0.7599 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/5.272, allocations: 4 kB / 0.7599 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/5.273, allocations: 0.865 MB / 0.7608 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004598/5.274, allocations: 159 kB / 0.7609 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/5.274, allocations: 58.73 kB / 0.761 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/5.274, allocations: 4 kB / 0.761 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003692/5.274, allocations: 171.7 kB / 0.7611 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=23): time 2.795e-06/5.274, allocations: 0 / 0.7611 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23): time 0.0007873/5.275, allocations: 189.3 kB / 0.7613 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.666e-05/5.275, allocations: 114.8 kB / 0.7614 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/5.276, allocations: 204.2 kB / 0.7616 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.555e-05/5.276, allocations: 29.7 kB / 0.7616 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.315e-05/5.276, allocations: 112.5 kB / 0.7617 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.029e-05/5.276, allocations: 63.39 kB / 0.7618 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.733e-05/5.276, allocations: 0 / 0.7618 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001378/5.276, allocations: 342.7 kB / 0.7621 GB, free: 248 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/5.276, allocations: 52.81 kB / 0.7622 GB, free: 192 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003186/5.276, allocations: 234.3 kB / 0.7624 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/5.277, allocations: 79.98 kB / 0.7625 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/5.277, allocations: 4.094 kB / 0.7625 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008382/5.278, allocations: 277.2 kB / 0.7628 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/5.278, allocations: 4 kB / 0.7628 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/5.278, allocations: 8 kB / 0.7628 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.236e-05/5.278, allocations: 11.98 kB / 0.7628 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004706/5.278, allocations: 76.22 kB / 0.7628 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.818e-05/5.278, allocations: 15.94 kB / 0.7629 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004751/5.279, allocations: 43.61 kB / 0.7629 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.239e-05/5.279, allocations: 20 kB / 0.7629 GB, free: 15.34 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.TBouSte.QAve_flow,TBouSte.QAve_flow,$PRE.TBouSte.UOld,TBouSte.UOld,$PRE.TBouSte.port.T,TBouSte.port.T,$PRE.TBouSte.iSam,TBouSte.iSam,$whenCondition4,$PRE.TBouCon.QAve_flow,TBouCon.QAve_flow,$PRE.TBouCon.UOld,TBouCon.UOld,$PRE.TBouCon.port.T,TBouCon.port.T,$PRE.TBouCon.iSam,TBouCon.iSam,$whenCondition3,$PRE.TBouPul.QAve_flow,TBouPul.QAve_flow,$PRE.TBouPul.UOld,TBouPul.UOld,$PRE.TBouPul.port.T,TBouPul.port.T,$PRE.TBouPul.iSam,TBouPul.iSam,$whenCondition1,$whenCondition2,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * 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.0001835/5.279, allocations: 147.3 kB / 0.7631 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.901e-05/5.279, allocations: 23.72 kB / 0.7631 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.694e-05/5.279, allocations: 25.7 kB / 0.7631 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/5.279, allocations: 0 / 0.7631 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.689e-06/5.279, allocations: 4 kB / 0.7631 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/5.279, allocations: 0 / 0.7631 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003829/5.28, allocations: 237.9 kB / 0.7633 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/5.28, allocations: 0 / 0.7633 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002417/5.28, allocations: 27.98 kB / 0.7634 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/5.28, allocations: 0 / 0.7634 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.524e-05/5.28, allocations: 15.89 kB / 0.7634 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/5.28, allocations: 4 kB / 0.7634 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/5.28, allocations: 0 / 0.7634 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001053/5.281, allocations: 337.6 kB / 0.7637 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001314/5.282, allocations: 0.7675 MB / 0.7645 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001797/5.283, allocations: 100.8 kB / 0.7646 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.406e-05/5.283, allocations: 11.98 kB / 0.7646 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003457/5.283, allocations: 19.89 kB / 0.7646 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.989e-05/5.283, allocations: 23.97 kB / 0.7646 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.073e-05/5.283, allocations: 15.98 kB / 0.7646 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002245/5.283, allocations: 152.4 kB / 0.7648 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002494/5.286, allocations: 83.92 kB / 0.7649 GB, free: 13.23 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (TBouSte.U,TBouCon.U,TBouPul.U) * Number of discrete variables: 18 ($whenCondition4,TBouSte.QAve_flow,TBouSte.port.T,TBouSte.UOld,TBouSte.iSam,$whenCondition3,TBouCon.QAve_flow,TBouCon.port.T,TBouCon.UOld,TBouCon.iSam,$whenCondition2,$whenCondition1,TBouPul.QAve_flow,TBouPul.port.T,TBouPul.UOld,TBouPul.iSam,pulse.T_start,pulse.count) * Number of discrete states: 7 (TBouPul.iSam,TBouPul.UOld,pulse.count,TBouCon.iSam,TBouCon.UOld,TBouSte.iSam,TBouSte.UOld) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0006792/5.287, allocations: 183.5 kB / 0.765 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000662/5.287, allocations: 203 kB / 0.7652 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/5.287, allocations: 0 / 0.7652 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002587/5.288, allocations: 83.92 kB / 0.7653 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00075/5.288, allocations: 55.94 kB / 0.7654 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/5.291, allocations: 0.5873 MB / 0.7659 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004978/5.291, allocations: 0.7743 MB / 0.7667 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of SimCode: time 1.202e-06/5.291, allocations: 0 / 0.7667 GB, free: 11.3 MB / 0.6511 GB