Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.FMI.Validation.FlowSplitter_u.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.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_FMI_Validation_FlowSplitter_u",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.904/3.904, allocations: 433 MB / 440.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.559/4.463, allocations: 104.3 MB / 0.5319 GB, free: 12.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/4.715, allocations: 98.72 MB / 0.6283 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.609/10.32, allocations: 2.176 GB / 2.804 GB, free: 173.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/10.32, allocations: 83.33 kB / 2.804 GB, free: 173.1 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$sou$outlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$floSpl$bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$floSpl$inlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$floSpl$outlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$floSpl$outlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/FMI/FlowSplitter_u.mo:68:5-68:46:writable] Warning: Connecting two signal sources while connecting outlet[1].forward to inlet.forward. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/FMI/FlowSplitter_u.mo:68:5-68:46:writable] Warning: Connecting two signal sources while connecting outlet[2].forward to inlet.forward. 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.5219/10.85, allocations: 163.6 MB / 2.964 GB, free: 18.14 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/10.85, allocations: 15.98 kB / 2.964 GB, free: 18.13 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.73e-05/10.85, allocations: 19.81 kB / 2.964 GB, free: 18.11 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004583/10.85, allocations: 254.3 kB / 2.964 GB, free: 17.82 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/10.85, allocations: 4 kB / 2.964 GB, free: 17.82 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/10.85, allocations: 8 kB / 2.964 GB, free: 17.81 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001572/10.85, allocations: 48.45 kB / 2.964 GB, free: 17.77 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/10.85, allocations: 159.5 kB / 2.964 GB, free: 17.57 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/10.85, allocations: 4 kB / 2.964 GB, free: 17.57 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/10.85, allocations: 3.938 kB / 2.964 GB, free: 17.57 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/10.85, allocations: 7.938 kB / 2.964 GB, free: 17.56 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/10.85, allocations: 1.11 MB / 2.965 GB, free: 16.38 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.823e-05/10.85, allocations: 169.1 kB / 2.966 GB, free: 16.21 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.053e-05/10.85, allocations: 80.14 kB / 2.966 GB, free: 16.12 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/10.85, allocations: 83.27 kB / 2.966 GB, free: 16.04 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/10.85, allocations: 109.8 kB / 2.966 GB, free: 15.93 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 3.918e-06/10.85, allocations: 0 / 2.966 GB, free: 15.93 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 0.0001537/10.85, allocations: 37.61 kB / 2.966 GB, free: 15.88 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/10.85, allocations: 102.8 kB / 2.966 GB, free: 15.76 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002904/10.85, allocations: 149.5 kB / 2.966 GB, free: 15.61 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/10.85, allocations: 25.7 kB / 2.966 GB, free: 15.57 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 9.562e-05/10.85, allocations: 139.5 kB / 2.966 GB, free: 15.43 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-06/10.85, allocations: 0 / 2.966 GB, free: 15.43 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/10.85, allocations: 0 / 2.966 GB, free: 15.43 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.07e-05/10.85, allocations: 322.7 kB / 2.967 GB, free: 15.11 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.046e-05/10.85, allocations: 15.98 kB / 2.967 GB, free: 15.09 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.016e-05/10.85, allocations: 59.67 kB / 2.967 GB, free: 15.01 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.785e-05/10.85, allocations: 19.98 kB / 2.967 GB, free: 14.99 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/10.85, allocations: 0 / 2.967 GB, free: 14.99 MB / 0.823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001822/10.85, allocations: 69.53 kB / 2.967 GB, free: 14.91 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/10.85, allocations: 7.125 kB / 2.967 GB, free: 14.91 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/10.85, allocations: 4 kB / 2.967 GB, free: 14.91 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/10.85, allocations: 4 kB / 2.967 GB, free: 14.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/10.85, allocations: 19.92 kB / 2.967 GB, free: 14.88 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/10.85, allocations: 3.938 kB / 2.967 GB, free: 14.88 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/10.85, allocations: 11.84 kB / 2.967 GB, free: 14.87 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/10.85, allocations: 0 / 2.967 GB, free: 14.87 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.229e-05/10.85, allocations: 183.8 kB / 2.967 GB, free: 14.68 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.39e-05/10.85, allocations: 108.9 kB / 2.967 GB, free: 14.57 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.193e-05/10.85, allocations: 129.2 kB / 2.967 GB, free: 14.44 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.207e-05/10.85, allocations: 184.8 kB / 2.967 GB, free: 14.25 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.114e-05/10.85, allocations: 176.3 kB / 2.968 GB, free: 14.07 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.207e-05/10.85, allocations: 180.2 kB / 2.968 GB, free: 13.89 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/10.85, allocations: 425.7 kB / 2.968 GB, free: 13.43 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.875e-05/10.85, allocations: 105 kB / 2.968 GB, free: 13.32 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.194e-05/10.85, allocations: 113 kB / 2.968 GB, free: 13.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.258e-05/10.85, allocations: 180.3 kB / 2.969 GB, free: 13.02 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/10.85, allocations: 176.3 kB / 2.969 GB, free: 12.84 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.371e-05/10.85, allocations: 184.2 kB / 2.969 GB, free: 12.65 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.242e-05/10.85, allocations: 176.3 kB / 2.969 GB, free: 12.47 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.315e-05/10.85, allocations: 323.5 kB / 2.969 GB, free: 12.13 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000296/10.85, allocations: 0.707 MB / 2.97 GB, free: 11.39 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.298e-05/10.85, allocations: 190.3 kB / 2.97 GB, free: 11.18 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.947e-05/10.85, allocations: 176.3 kB / 2.97 GB, free: 11 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/10.85, allocations: 109 kB / 2.971 GB, free: 10.89 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/10.85, allocations: 180.2 kB / 2.971 GB, free: 10.71 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/10.85, allocations: 105 kB / 2.971 GB, free: 10.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0001366/10.85, allocations: 132.2 kB / 2.971 GB, free: 10.47 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001547/10.85, allocations: 171.9 kB / 2.971 GB, free: 10.3 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.001436/10.85, allocations: 1.17 MB / 2.972 GB, free: 9.125 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001567/10.85, allocations: 19.94 kB / 2.972 GB, free: 9.105 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/10.85, allocations: 4.312 kB / 2.972 GB, free: 9.102 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.244e-06/10.85, allocations: 0 / 2.972 GB, free: 9.102 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/10.86, allocations: 0.5302 MB / 2.973 GB, free: 8.566 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005044/10.86, allocations: 218.8 kB / 2.973 GB, free: 8.328 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002605/10.86, allocations: 0.7425 MB / 2.974 GB, free: 7.559 MB / 0.823 GB Notification: Performance of SimCode: time 1.643e-06/10.86, allocations: 0 / 2.974 GB, free: 7.559 MB / 0.823 GB