Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.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.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T,fileNamePrefix="Buildings_6_0_0_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_Plant_T",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.773/3.773, allocations: 433 MB / 440.3 MB, free: 4.801 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6242/4.397, allocations: 104.3 MB / 0.5319 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/4.639, allocations: 98.72 MB / 0.6283 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9271/5.566, allocations: 373.4 MB / 0.9929 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003843/5.567, allocations: 91.11 kB / 0.993 GB, free: 0.9688 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 2.693/8.259, allocations: 0.5452 GB / 1.538 GB, free: 144.2 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/8.259, allocations: 8.688 kB / 1.538 GB, free: 144.2 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005865/8.265, allocations: 0.5359 MB / 1.539 GB, free: 144 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03172/8.297, allocations: 6.924 MB / 1.546 GB, free: 139.9 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.231e-05/8.297, allocations: 18.19 kB / 1.546 GB, free: 139.9 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003202/8.298, allocations: 36.19 kB / 1.546 GB, free: 139.9 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00206/8.3, allocations: 483 kB / 1.546 GB, free: 139.7 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/8.301, allocations: 0.6082 MB / 1.547 GB, free: 139.3 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/8.301, allocations: 3.938 kB / 1.547 GB, free: 139.3 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.341e-05/8.302, allocations: 1.406 kB / 1.547 GB, free: 139.3 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.676e-05/8.302, allocations: 14.78 kB / 1.547 GB, free: 139.3 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009906/8.311, allocations: 4.533 MB / 1.551 GB, free: 135.1 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/8.313, allocations: 386.2 kB / 1.551 GB, free: 134.9 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006701/8.314, allocations: 213 kB / 1.552 GB, free: 134.8 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001197/8.315, allocations: 0.9342 MB / 1.553 GB, free: 133.8 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/8.315, allocations: 36.44 kB / 1.553 GB, free: 133.7 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=33): time 3.627e-06/8.315, allocations: 0 / 1.553 GB, free: 133.7 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33): time 0.002068/8.317, allocations: 0.4885 MB / 1.553 GB, free: 133.3 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/8.317, allocations: 55.41 kB / 1.553 GB, free: 133.3 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/8.318, allocations: 0.5506 MB / 1.554 GB, free: 132.7 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.598e-05/8.318, allocations: 25.7 kB / 1.554 GB, free: 132.7 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/8.318, allocations: 315.7 kB / 1.554 GB, free: 132.4 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/8.318, allocations: 126.2 kB / 1.554 GB, free: 132.2 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.466e-05/8.318, allocations: 3.938 kB / 1.554 GB, free: 132.2 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.236e-05/8.319, allocations: 322 kB / 1.554 GB, free: 131.9 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004988/8.319, allocations: 181 kB / 1.555 GB, free: 131.7 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006508/8.32, allocations: 372.9 kB / 1.555 GB, free: 131.3 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009342/8.321, allocations: 236.3 kB / 1.555 GB, free: 131.1 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.354e-05/8.321, allocations: 0 / 1.555 GB, free: 131.1 MB / 0.8073 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001901/8.323, allocations: 0.5902 MB / 1.556 GB, free: 130.5 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004268/8.323, allocations: 1.661 MB / 1.557 GB, free: 128.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/8.323, allocations: 4 kB / 1.557 GB, free: 128.7 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.503e-05/8.323, allocations: 8 kB / 1.557 GB, free: 128.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/8.325, allocations: 200.8 kB / 1.558 GB, free: 128.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/8.325, allocations: 4 kB / 1.558 GB, free: 128.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/8.327, allocations: 162.6 kB / 1.558 GB, free: 128.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/8.327, allocations: 35.91 kB / 1.558 GB, free: 128.3 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/8.327, allocations: 4 kB / 1.558 GB, free: 128.3 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001743/8.329, allocations: 490.3 kB / 1.558 GB, free: 127.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/8.329, allocations: 4 kB / 1.558 GB, free: 127.8 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/8.329, allocations: 11.25 kB / 1.558 GB, free: 127.8 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/8.331, allocations: 198.1 kB / 1.558 GB, free: 127.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/8.331, allocations: 11.98 kB / 1.558 GB, free: 127.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00209/8.333, allocations: 164.7 kB / 1.559 GB, free: 127.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/8.333, allocations: 27.98 kB / 1.559 GB, free: 127.5 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 55 * 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 0.0002524/8.333, allocations: 124.6 kB / 1.559 GB, free: 127.3 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002304/8.334, allocations: 75.06 kB / 1.559 GB, free: 127.3 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002783/8.336, allocations: 0.7095 MB / 1.56 GB, free: 126.6 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/8.336, allocations: 4 kB / 1.56 GB, free: 126.6 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/8.336, allocations: 3.562 kB / 1.56 GB, free: 126.6 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/8.336, allocations: 3.984 kB / 1.56 GB, free: 126.5 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004573/8.341, allocations: 1.434 MB / 1.561 GB, free: 125.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.968e-06/8.341, allocations: 0 / 1.561 GB, free: 125.1 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001566/8.343, allocations: 160.5 kB / 1.561 GB, free: 124.9 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.109e-05/8.343, allocations: 4 kB / 1.561 GB, free: 124.9 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.858e-05/8.343, allocations: 7.984 kB / 1.561 GB, free: 124.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/8.343, allocations: 0 / 1.561 GB, free: 124.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/8.343, allocations: 4 kB / 1.561 GB, free: 124.9 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002699/8.345, allocations: 0.9873 MB / 1.562 GB, free: 123.9 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003542/8.349, allocations: 1.713 MB / 1.564 GB, free: 122.2 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006021/8.35, allocations: 215.9 kB / 1.564 GB, free: 121.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001948/8.35, allocations: 0 / 1.564 GB, free: 121.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001658/8.352, allocations: 128.2 kB / 1.564 GB, free: 121.8 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/8.352, allocations: 27.95 kB / 1.564 GB, free: 121.8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-05/8.352, allocations: 18.98 kB / 1.564 GB, free: 121.8 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0008169/8.353, allocations: 427.1 kB / 1.565 GB, free: 121.4 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.004066/8.357, allocations: 0.5616 MB / 1.565 GB, free: 120.8 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (pla.coo.outCon.T,pla.hea.outCon.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001244/8.358, allocations: 0.5203 MB / 1.566 GB, free: 120.4 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002112/8.36, allocations: 0.7614 MB / 1.566 GB, free: 119.6 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/8.36, allocations: 7.938 kB / 1.566 GB, free: 119.6 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0006889/8.361, allocations: 263.6 kB / 1.567 GB, free: 119.4 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002801/8.364, allocations: 309.6 kB / 1.567 GB, free: 119.1 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/8.375, allocations: 1.708 MB / 1.569 GB, free: 117.5 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/8.376, allocations: 1.086 MB / 1.57 GB, free: 116.4 MB / 0.8073 GB Notification: Performance of SimCode: time 1.533e-06/8.376, allocations: 0 / 1.57 GB, free: 116.4 MB / 0.8073 GB