Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FMI.Validation.FlowSplitter_u.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_7_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.179/2.18, allocations: 248.6 MB / 255.9 MB, free: 7.574 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001689/0.001689, allocations: 179.5 kB / 315.1 MB, free: 8.578 MB / 254.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.977/1.977, allocations: 205.1 MB / 0.5658 GB, free: 4.176 MB / 414.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00135/0.001349, allocations: 97.73 kB / 0.67 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.5255/0.5269, allocations: 112.4 MB / 0.7797 GB, free: 107.4 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.7659, allocations: 106.2 MB / 0.8835 GB, free: 1.066 MB / 0.545 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.944/6.71, allocations: 2.18 GB / 3.064 GB, free: 211.1 MB / 0.8731 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/6.711, allocations: 82.33 kB / 3.064 GB, free: 211.1 MB / 0.8731 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/FMI/FlowSplitter_u.mo:68:5-68:46:writable] Warning: Connecting two signal sources while connecting outlet[1].forward to inlet.forward. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.5041/7.215, allocations: 163.6 MB / 3.224 GB, free: 53.07 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/7.215, allocations: 8 kB / 3.224 GB, free: 53.07 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.911e-05/7.215, allocations: 23.81 kB / 3.224 GB, free: 53.04 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004459/7.215, allocations: 250.5 kB / 3.224 GB, free: 52.76 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/7.215, allocations: 4 kB / 3.224 GB, free: 52.75 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/7.215, allocations: 8 kB / 3.224 GB, free: 52.75 MB / 0.8731 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001611/7.216, allocations: 48.45 kB / 3.224 GB, free: 52.7 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/7.216, allocations: 163.5 kB / 3.224 GB, free: 52.5 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/7.216, allocations: 0 / 3.224 GB, free: 52.5 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/7.216, allocations: 4 kB / 3.224 GB, free: 52.5 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/7.216, allocations: 4 kB / 3.224 GB, free: 52.5 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008413/7.217, allocations: 1.114 MB / 3.225 GB, free: 51.32 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 5.508e-05/7.217, allocations: 165.1 kB / 3.225 GB, free: 51.14 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.398e-05/7.217, allocations: 84.14 kB / 3.226 GB, free: 51.06 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/7.217, allocations: 75.28 kB / 3.226 GB, free: 50.98 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/7.217, allocations: 117.8 kB / 3.226 GB, free: 50.86 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.483e-06/7.217, allocations: 0 / 3.226 GB, free: 50.86 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 8.554e-05/7.217, allocations: 33.61 kB / 3.226 GB, free: 50.82 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/7.217, allocations: 110.8 kB / 3.226 GB, free: 50.69 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/7.217, allocations: 154.5 kB / 3.226 GB, free: 50.53 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/7.217, allocations: 25.92 kB / 3.226 GB, free: 50.5 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 6.424e-05/7.217, allocations: 131.5 kB / 3.226 GB, free: 50.37 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.856e-06/7.217, allocations: 11.92 kB / 3.226 GB, free: 50.36 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/7.217, allocations: 4 kB / 3.226 GB, free: 50.35 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 6.409e-05/7.217, allocations: 314.8 kB / 3.226 GB, free: 50.04 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.241e-05/7.217, allocations: 11.98 kB / 3.227 GB, free: 50.02 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.179e-05/7.218, allocations: 59.73 kB / 3.227 GB, free: 49.94 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.771e-05/7.218, allocations: 23.92 kB / 3.227 GB, free: 49.91 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/7.218, allocations: 3.906 kB / 3.227 GB, free: 49.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001773/7.218, allocations: 69.53 kB / 3.227 GB, free: 49.84 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/7.218, allocations: 6.812 kB / 3.227 GB, free: 49.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/7.218, allocations: 160 / 3.227 GB, free: 49.83 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/7.218, allocations: 8 kB / 3.227 GB, free: 49.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.001e-05/7.218, allocations: 15.92 kB / 3.227 GB, free: 49.81 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/7.218, allocations: 4.109 kB / 3.227 GB, free: 49.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/7.218, allocations: 15.84 kB / 3.227 GB, free: 49.79 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/7.218, allocations: 0 / 3.227 GB, free: 49.79 MB / 0.8731 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.339e-05/7.218, allocations: 182.8 kB / 3.227 GB, free: 49.61 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.067e-05/7.218, allocations: 108.9 kB / 3.227 GB, free: 49.49 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.111e-05/7.218, allocations: 125.4 kB / 3.227 GB, free: 49.36 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.412e-05/7.218, allocations: 180.9 kB / 3.227 GB, free: 49.18 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.625e-05/7.218, allocations: 180.2 kB / 3.227 GB, free: 49 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.345e-05/7.218, allocations: 180.2 kB / 3.228 GB, free: 48.81 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/7.219, allocations: 429.7 kB / 3.228 GB, free: 48.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-05/7.219, allocations: 101 kB / 3.228 GB, free: 48.24 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.166e-05/7.219, allocations: 108.9 kB / 3.228 GB, free: 48.13 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.328e-05/7.219, allocations: 181.6 kB / 3.228 GB, free: 47.95 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.495e-05/7.219, allocations: 176.3 kB / 3.229 GB, free: 47.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-05/7.219, allocations: 184.2 kB / 3.229 GB, free: 47.58 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-05/7.219, allocations: 176.3 kB / 3.229 GB, free: 47.4 MB / 0.8731 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.96e-05/7.219, allocations: 319.6 kB / 3.229 GB, free: 47.06 MB / 0.8731 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002796/7.219, allocations: 0.7032 MB / 3.23 GB, free: 46.33 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.296e-05/7.219, allocations: 186.2 kB / 3.23 GB, free: 46.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.754e-05/7.219, allocations: 188.2 kB / 3.23 GB, free: 45.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/7.22, allocations: 105 kB / 3.23 GB, free: 45.82 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/7.22, allocations: 184.2 kB / 3.231 GB, free: 45.64 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/7.22, allocations: 105 kB / 3.231 GB, free: 45.53 MB / 0.8731 GB Notification: Performance of sort global known variables: time 0.000127/7.22, allocations: 128.2 kB / 3.231 GB, free: 45.4 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001584/7.221, allocations: 175.8 kB / 3.231 GB, free: 45.23 MB / 0.8731 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.001459/7.223, allocations: 1.165 MB / 3.232 GB, free: 44.06 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001362/7.223, allocations: 19.94 kB / 3.232 GB, free: 44.04 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/7.223, allocations: 0 / 3.232 GB, free: 44.04 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.185e-06/7.223, allocations: 4.312 kB / 3.232 GB, free: 44.04 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/7.223, allocations: 0.534 MB / 3.233 GB, free: 43.5 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004606/7.224, allocations: 218.8 kB / 3.233 GB, free: 43.26 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002287/7.224, allocations: 0.7348 MB / 3.234 GB, free: 42.5 MB / 0.8731 GB Notification: Performance of SimCode: time 1.082e-06/7.224, allocations: 0 / 3.234 GB, free: 42.5 MB / 0.8731 GB