Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.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.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",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.715/3.715, allocations: 433 MB / 440.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5459/4.261, allocations: 104.3 MB / 0.5319 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/4.487, allocations: 98.71 MB / 0.6283 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.896/10.38, allocations: 2.445 GB / 3.073 GB, free: 207.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003321/10.38, allocations: 100.4 kB / 3.074 GB, free: 207.1 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 4.69/15.07, allocations: 0.976 GB / 4.05 GB, free: 124 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/15.07, allocations: 7.469 kB / 4.05 GB, free: 124 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003338/15.08, allocations: 368 kB / 4.05 GB, free: 123.9 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007317/15.08, allocations: 1.623 MB / 4.052 GB, free: 123.4 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/15.08, allocations: 35.91 kB / 4.052 GB, free: 123.4 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005513/15.09, allocations: 73.47 kB / 4.052 GB, free: 123.4 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003538/15.09, allocations: 0.7998 MB / 4.052 GB, free: 123.4 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004262/15.09, allocations: 0.9836 MB / 4.053 GB, free: 123.3 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.725e-05/15.09, allocations: 0 / 4.053 GB, free: 123.3 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001824/15.09, allocations: 0 / 4.053 GB, free: 123.3 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.229e-05/15.09, allocations: 51.36 kB / 4.053 GB, free: 123.3 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01309/15.11, allocations: 5.726 MB / 4.059 GB, free: 120.4 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/15.11, allocations: 0.6567 MB / 4.06 GB, free: 120.4 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008948/15.11, allocations: 364.2 kB / 4.06 GB, free: 120.3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006131/15.11, allocations: 454.9 kB / 4.06 GB, free: 119.9 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/15.11, allocations: 44.06 kB / 4.061 GB, free: 119.8 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=66): time 3.466e-06/15.11, allocations: 6.125 kB / 4.061 GB, free: 119.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=66): time 0.003584/15.11, allocations: 0.8069 MB / 4.061 GB, free: 119.7 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/15.11, allocations: 55.41 kB / 4.061 GB, free: 119.6 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002243/15.12, allocations: 0.8971 MB / 4.062 GB, free: 119.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002976/15.12, allocations: 33.3 kB / 4.062 GB, free: 119.4 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003877/15.12, allocations: 498.2 kB / 4.063 GB, free: 119.2 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000384/15.12, allocations: 220.8 kB / 4.063 GB, free: 119 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-05/15.12, allocations: 0 / 4.063 GB, free: 119 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.277e-05/15.12, allocations: 337.3 kB / 4.063 GB, free: 118.7 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006629/15.12, allocations: 231.8 kB / 4.063 GB, free: 118.7 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008221/15.12, allocations: 486.9 kB / 4.064 GB, free: 118.4 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009716/15.12, allocations: 327.8 kB / 4.064 GB, free: 118.4 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/15.12, allocations: 3.938 kB / 4.064 GB, free: 118.4 MB / 0.8386 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003784/15.12, allocations: 0.8876 MB / 4.065 GB, free: 118.3 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002624/15.12, allocations: 1.07 MB / 4.066 GB, free: 117.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/15.12, allocations: 2.469 kB / 4.066 GB, free: 117.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004253/15.12, allocations: 96.25 kB / 4.066 GB, free: 117.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/15.13, allocations: 166.4 kB / 4.066 GB, free: 117.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/15.13, allocations: 1.814 MB / 4.068 GB, free: 115.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002827/15.13, allocations: 137 kB / 4.068 GB, free: 115.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002501/15.13, allocations: 37.55 kB / 4.068 GB, free: 115.5 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/15.13, allocations: 3.844 kB / 4.068 GB, free: 115.5 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00229/15.13, allocations: 0.6792 MB / 4.069 GB, free: 115.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/15.13, allocations: 0 / 4.069 GB, free: 115.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007123/15.13, allocations: 100.8 kB / 4.069 GB, free: 115.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002014/15.14, allocations: 163.3 kB / 4.069 GB, free: 115.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005385/15.14, allocations: 2.985 MB / 4.072 GB, free: 112.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00362/15.15, allocations: 137.3 kB / 4.072 GB, free: 112.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003178/15.15, allocations: 32.67 kB / 4.072 GB, free: 112.9 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004516/15.15, allocations: 119.4 kB / 4.072 GB, free: 112.8 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006748/15.15, allocations: 129.9 kB / 4.073 GB, free: 112.7 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003728/15.15, allocations: 0.8102 MB / 4.073 GB, free: 112.6 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/15.15, allocations: 10.39 kB / 4.073 GB, free: 112.6 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/15.15, allocations: 0 / 4.073 GB, free: 112.6 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001948/15.15, allocations: 0.9414 MB / 4.074 GB, free: 112.1 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008158/15.16, allocations: 2.108 MB / 4.076 GB, free: 111.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.768e-05/15.16, allocations: 3.938 kB / 4.076 GB, free: 111.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002725/15.16, allocations: 155.5 kB / 4.077 GB, free: 111.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004433/15.16, allocations: 70.94 kB / 4.077 GB, free: 111.7 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000196/15.16, allocations: 14.58 kB / 4.077 GB, free: 111.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002045/15.17, allocations: 1.75 MB / 4.078 GB, free: 110.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-05/15.17, allocations: 1.688 kB / 4.078 GB, free: 110.1 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00538/15.17, allocations: 1.352 MB / 4.08 GB, free: 109.6 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005013/15.18, allocations: 2.226 MB / 4.082 GB, free: 108.8 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001358/15.18, allocations: 311 kB / 4.082 GB, free: 108.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005644/15.18, allocations: 10.12 kB / 4.082 GB, free: 108.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002541/15.18, allocations: 110.3 kB / 4.082 GB, free: 108.6 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002761/15.18, allocations: 42.91 kB / 4.082 GB, free: 108.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/15.18, allocations: 27.98 kB / 4.082 GB, free: 108.6 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.001721/15.18, allocations: 0.6866 MB / 4.083 GB, free: 108.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.008563/15.19, allocations: 1.472 MB / 4.084 GB, free: 108.3 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.vol2.dynBal.m,hex.vol2.dynBal.mXi[1],hex.mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004376/15.2, allocations: 2.249 MB / 4.087 GB, free: 107.7 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.004243/15.2, allocations: 1.257 MB / 4.088 GB, free: 107.5 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/15.2, allocations: 6.594 kB / 4.088 GB, free: 107.5 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001241/15.2, allocations: 336.7 kB / 4.088 GB, free: 107.5 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007335/15.21, allocations: 0.7185 MB / 4.089 GB, free: 107.5 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007822/15.22, allocations: 2.069 MB / 4.091 GB, free: 106.9 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00221/15.22, allocations: 1.439 MB / 4.092 GB, free: 106.2 MB / 0.8386 GB Notification: Performance of SimCode: time 3.065e-06/15.22, allocations: 0 / 4.092 GB, free: 106.2 MB / 0.8386 GB