Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.241/1.241, allocations: 249.4 MB / 256.7 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001032/0.001031, allocations: 192.3 kB / 316 MB, free: 3.496 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.242/1.242, allocations: 205.1 MB / 0.5667 GB, free: 15.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000846/0.0008462, allocations: 90.38 kB / 0.671 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3815/0.3823, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.5694, allocations: 106.3 MB / 0.8846 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.641/4.21, allocations: 2.181 GB / 3.065 GB, free: 207.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001892/4.21, allocations: 79.95 kB / 3.065 GB, free: 207.2 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3-maint.7.0.x/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.3-maint.7.0.x/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.3-maint.7.0.x/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.3-maint.7.0.x/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.3-maint.7.0.x/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.3-maint.7.0.x/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.3-maint.7.0.x/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.3-maint.7.0.x/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.3-maint.7.0.x/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.3-maint.7.0.x/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.3-maint.7.0.x/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.272/4.482, allocations: 163.6 MB / 3.225 GB, free: 39.79 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/4.482, allocations: 12 kB / 3.225 GB, free: 39.77 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.629e-05/4.483, allocations: 15.81 kB / 3.225 GB, free: 39.76 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/4.483, allocations: 254.5 kB / 3.226 GB, free: 39.47 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/4.483, allocations: 4 kB / 3.226 GB, free: 39.46 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/4.483, allocations: 8 kB / 3.226 GB, free: 39.46 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.897e-05/4.483, allocations: 48.45 kB / 3.226 GB, free: 39.41 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/4.483, allocations: 171.4 kB / 3.226 GB, free: 39.21 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/4.483, allocations: 0 / 3.226 GB, free: 39.21 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/4.483, allocations: 0 / 3.226 GB, free: 39.21 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/4.483, allocations: 8 kB / 3.226 GB, free: 39.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005502/4.484, allocations: 1.106 MB / 3.227 GB, free: 38.03 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.148e-05/4.484, allocations: 169.1 kB / 3.227 GB, free: 37.85 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.749e-05/4.484, allocations: 84.14 kB / 3.227 GB, free: 37.77 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.358e-06/4.484, allocations: 75.28 kB / 3.227 GB, free: 37.69 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/4.484, allocations: 109.8 kB / 3.227 GB, free: 37.57 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/4.484, allocations: 0 / 3.227 GB, free: 37.57 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 7.148e-05/4.484, allocations: 41.59 kB / 3.227 GB, free: 37.53 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/4.484, allocations: 106.8 kB / 3.227 GB, free: 37.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/4.484, allocations: 154.5 kB / 3.228 GB, free: 37.24 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/4.484, allocations: 29.7 kB / 3.228 GB, free: 37.21 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.3e-05/4.484, allocations: 131.5 kB / 3.228 GB, free: 37.07 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-06/4.484, allocations: 0 / 3.228 GB, free: 37.07 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/4.484, allocations: 224 / 3.228 GB, free: 37.07 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.724e-05/4.484, allocations: 330.7 kB / 3.228 GB, free: 36.74 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.514e-05/4.484, allocations: 11.88 kB / 3.228 GB, free: 36.73 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.555e-05/4.484, allocations: 71.72 kB / 3.228 GB, free: 36.63 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.737e-05/4.484, allocations: 8 kB / 3.228 GB, free: 36.62 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/4.484, allocations: 0 / 3.228 GB, free: 36.62 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001275/4.484, allocations: 81.45 kB / 3.228 GB, free: 36.54 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/4.484, allocations: 4 kB / 3.228 GB, free: 36.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/4.484, allocations: 4 kB / 3.228 GB, free: 36.53 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/4.485, allocations: 0 / 3.228 GB, free: 36.53 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.587e-05/4.485, allocations: 11.94 kB / 3.228 GB, free: 36.52 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/4.485, allocations: 128 / 3.228 GB, free: 36.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.563e-05/4.485, allocations: 15.84 kB / 3.228 GB, free: 36.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/4.485, allocations: 4 kB / 3.228 GB, free: 36.5 MB / 0.8698 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 5.827e-05/4.485, allocations: 188.3 kB / 3.228 GB, free: 36.31 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.149e-05/4.485, allocations: 112.9 kB / 3.228 GB, free: 36.19 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/4.485, allocations: 113.5 kB / 3.229 GB, free: 36.07 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.49e-05/4.485, allocations: 184.8 kB / 3.229 GB, free: 35.89 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-05/4.485, allocations: 180.2 kB / 3.229 GB, free: 35.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.266e-05/4.485, allocations: 176.3 kB / 3.229 GB, free: 35.52 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/4.485, allocations: 429.8 kB / 3.23 GB, free: 35.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.559e-05/4.485, allocations: 108.9 kB / 3.23 GB, free: 34.95 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.538e-05/4.485, allocations: 105 kB / 3.23 GB, free: 34.84 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.499e-05/4.485, allocations: 177.6 kB / 3.23 GB, free: 34.66 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/4.485, allocations: 180.2 kB / 3.23 GB, free: 34.47 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.342e-05/4.485, allocations: 180.3 kB / 3.23 GB, free: 34.29 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.491e-05/4.485, allocations: 184.2 kB / 3.23 GB, free: 34.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.374e-05/4.485, allocations: 315.6 kB / 3.231 GB, free: 33.77 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001889/4.485, allocations: 0.7031 MB / 3.231 GB, free: 33.04 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.809e-05/4.486, allocations: 190.2 kB / 3.232 GB, free: 32.83 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/4.486, allocations: 180.2 kB / 3.232 GB, free: 32.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.15e-05/4.486, allocations: 109 kB / 3.232 GB, free: 32.53 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.484e-05/4.486, allocations: 176.3 kB / 3.232 GB, free: 32.35 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/4.486, allocations: 109 kB / 3.232 GB, free: 32.24 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.595e-05/4.486, allocations: 132.2 kB / 3.232 GB, free: 32.11 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000965/4.487, allocations: 175.8 kB / 3.232 GB, free: 31.94 MB / 0.8698 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.0009038/4.488, allocations: 1.163 MB / 3.234 GB, free: 30.77 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.983e-05/4.488, allocations: 23.92 kB / 3.234 GB, free: 30.75 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/4.488, allocations: 0 / 3.234 GB, free: 30.75 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/4.488, allocations: 3.938 kB / 3.234 GB, free: 30.74 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/4.488, allocations: 0.5302 MB / 3.234 GB, free: 30.21 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002872/4.488, allocations: 219.2 kB / 3.234 GB, free: 29.97 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/4.488, allocations: 0.7309 MB / 3.235 GB, free: 29.21 MB / 0.8698 GB Notification: Performance of SimCode: time 2.41e-07/4.488, allocations: 0 / 3.235 GB, free: 29.21 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)