Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.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.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",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.805/3.805, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5477/4.353, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/4.591, allocations: 98.72 MB / 0.6283 GB, free: 9.828 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.472/10.06, allocations: 2.195 GB / 2.824 GB, free: 152.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005203/10.06, allocations: 90.27 kB / 2.824 GB, free: 152.2 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 3.595/13.66, allocations: 0.766 GB / 3.59 GB, free: 17.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/13.66, allocations: 8 kB / 3.59 GB, free: 17.69 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003178/13.66, allocations: 274.5 kB / 3.59 GB, free: 17.42 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003386/13.67, allocations: 0.812 MB / 3.591 GB, free: 16.56 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/13.67, allocations: 23.22 kB / 3.591 GB, free: 16.54 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/13.67, allocations: 35.94 kB / 3.591 GB, free: 16.51 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001738/13.67, allocations: 0.5877 MB / 3.591 GB, free: 15.92 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/13.67, allocations: 0.5237 MB / 3.592 GB, free: 15.39 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/13.67, allocations: 0 / 3.592 GB, free: 15.39 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.185e-05/13.67, allocations: 0 / 3.592 GB, free: 15.39 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/13.67, allocations: 12 kB / 3.592 GB, free: 15.38 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006519/13.68, allocations: 2.651 MB / 3.595 GB, free: 12.52 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001684/13.68, allocations: 0.4959 MB / 3.595 GB, free: 12.02 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007605/13.68, allocations: 337.4 kB / 3.595 GB, free: 11.68 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001185/13.68, allocations: 0.6406 MB / 3.596 GB, free: 10.91 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/13.68, allocations: 42.22 kB / 3.596 GB, free: 10.87 MB / 0.823 GB Notification: Performance of pre-optimization done (n=45): time 2.945e-06/13.68, allocations: 0 / 3.596 GB, free: 10.87 MB / 0.823 GB Notification: Performance of matching and sorting (n=45): time 0.004671/13.68, allocations: 0.9512 MB / 3.597 GB, free: 9.906 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/13.68, allocations: 59.34 kB / 3.597 GB, free: 9.836 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009211/13.69, allocations: 463.7 kB / 3.598 GB, free: 9.375 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001895/13.69, allocations: 29.7 kB / 3.598 GB, free: 9.34 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/13.69, allocations: 240.8 kB / 3.598 GB, free: 9.098 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/13.69, allocations: 153.6 kB / 3.598 GB, free: 8.945 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-05/13.69, allocations: 0 / 3.598 GB, free: 8.945 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001384/13.69, allocations: 378.8 kB / 3.598 GB, free: 8.566 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005783/13.69, allocations: 232.8 kB / 3.598 GB, free: 8.336 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007244/13.69, allocations: 343.8 kB / 3.599 GB, free: 7.961 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/13.69, allocations: 352.4 kB / 3.599 GB, free: 7.613 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/13.69, allocations: 0 / 3.599 GB, free: 7.613 MB / 0.823 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002843/13.69, allocations: 0.8079 MB / 3.6 GB, free: 6.801 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001064/13.69, allocations: 272.8 kB / 3.6 GB, free: 6.512 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/13.69, allocations: 0 / 3.6 GB, free: 6.512 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003127/13.69, allocations: 52.84 kB / 3.6 GB, free: 6.457 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/13.69, allocations: 107.8 kB / 3.6 GB, free: 6.352 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008396/13.69, allocations: 0.6537 MB / 3.601 GB, free: 5.672 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/13.7, allocations: 78.31 kB / 3.601 GB, free: 5.598 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/13.7, allocations: 27.97 kB / 3.601 GB, free: 5.57 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/13.7, allocations: 4 kB / 3.601 GB, free: 5.566 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00234/13.7, allocations: 0.6698 MB / 3.602 GB, free: 4.895 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/13.7, allocations: 0 / 3.602 GB, free: 4.895 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003729/13.7, allocations: 64.88 kB / 3.602 GB, free: 4.828 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/13.7, allocations: 99.86 kB / 3.602 GB, free: 4.73 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002379/13.7, allocations: 1.618 MB / 3.603 GB, free: 2.996 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/13.7, allocations: 75.69 kB / 3.604 GB, free: 2.922 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/13.7, allocations: 31.91 kB / 3.604 GB, free: 2.891 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002417/13.7, allocations: 112.8 kB / 3.604 GB, free: 2.773 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002314/13.7, allocations: 71.16 kB / 3.604 GB, free: 2.703 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002996/13.71, allocations: 0.8388 MB / 3.605 GB, free: 1.855 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/13.71, allocations: 8 kB / 3.605 GB, free: 1.848 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/13.71, allocations: 0 / 3.605 GB, free: 1.848 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/13.71, allocations: 11.83 kB / 3.605 GB, free: 1.836 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005055/13.71, allocations: 1.667 MB / 3.606 GB, free: 84 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.357e-06/13.71, allocations: 4 kB / 3.606 GB, free: 80 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.3857/14.1, allocations: 91.16 kB / 3.606 GB, free: 204.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002556/14.1, allocations: 54.86 kB / 3.606 GB, free: 204.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001357/14.1, allocations: 9.188 kB / 3.606 GB, free: 204.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005459/14.1, allocations: 0.606 MB / 3.607 GB, free: 204.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.106e-06/14.1, allocations: 4.375 kB / 3.607 GB, free: 204.1 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002903/14.1, allocations: 1.311 MB / 3.608 GB, free: 203.7 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004265/14.11, allocations: 2.119 MB / 3.61 GB, free: 202.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000636/14.11, allocations: 201.3 kB / 3.611 GB, free: 202.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/14.11, allocations: 7.016 kB / 3.611 GB, free: 202.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/14.11, allocations: 90.33 kB / 3.611 GB, free: 202.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/14.11, allocations: 39.73 kB / 3.611 GB, free: 202.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-05/14.11, allocations: 16.78 kB / 3.611 GB, free: 202.7 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0006287/14.11, allocations: 363.6 kB / 3.611 GB, free: 202.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005606/14.12, allocations: 1.072 MB / 3.612 GB, free: 202.6 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00379/14.12, allocations: 2.38 MB / 3.614 GB, free: 201.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002649/14.12, allocations: 0.9675 MB / 3.615 GB, free: 201.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/14.12, allocations: 3.969 kB / 3.615 GB, free: 201.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007684/14.12, allocations: 281.2 kB / 3.616 GB, free: 201.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004492/14.13, allocations: 452.5 kB / 3.616 GB, free: 201.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009715/14.14, allocations: 1.536 MB / 3.618 GB, free: 201.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/14.14, allocations: 1.067 MB / 3.619 GB, free: 200.7 MB / 0.823 GB Notification: Performance of SimCode: time 1.733e-06/14.14, allocations: 0 / 3.619 GB, free: 200.7 MB / 0.823 GB