Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 187.6 kB / 7.803 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4786/0.4786, allocations: 90.85 MB / 99.08 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 221.4 MB / 342.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 87.44 kB / 415.5 MB, free: 6.465 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2165/0.2177, allocations: 78.45 MB / 493.9 MB, free: 8.016 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4464/0.6641, allocations: 72.31 MB / 0.553 GB, free: 73.41 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.63/4.294, allocations: 1.67 GB / 2.223 GB, free: 148.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/4.295, allocations: 81.55 kB / 2.223 GB, free: 148.6 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/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/IBPSA 4.0.0-master/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.5922/4.887, allocations: 159.4 MB / 2.379 GB, free: 188 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/4.887, allocations: 10.58 kB / 2.379 GB, free: 188 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/4.887, allocations: 20.25 kB / 2.379 GB, free: 188 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/4.887, allocations: 258.6 kB / 2.379 GB, free: 187.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/4.887, allocations: 3.812 kB / 2.379 GB, free: 187.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/4.887, allocations: 7.469 kB / 2.379 GB, free: 187.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001041/4.887, allocations: 51.83 kB / 2.379 GB, free: 187.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/4.888, allocations: 161.4 kB / 2.379 GB, free: 187.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/4.888, allocations: 0 / 2.379 GB, free: 187.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/4.888, allocations: 5.875 kB / 2.379 GB, free: 187.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/4.888, allocations: 3.344 kB / 2.379 GB, free: 187.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005977/4.888, allocations: 1.104 MB / 2.381 GB, free: 186.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.587e-05/4.888, allocations: 169.1 kB / 2.381 GB, free: 186.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.918e-05/4.888, allocations: 80.14 kB / 2.381 GB, free: 186.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/4.888, allocations: 75.28 kB / 2.381 GB, free: 186.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/4.888, allocations: 119.6 kB / 2.381 GB, free: 186.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/4.888, allocations: 3.172 kB / 2.381 GB, free: 186.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.019e-05/4.888, allocations: 40.77 kB / 2.381 GB, free: 186.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/4.889, allocations: 102.8 kB / 2.381 GB, free: 186.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/4.889, allocations: 154.9 kB / 2.381 GB, free: 186 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.278e-06/4.889, allocations: 25.7 kB / 2.381 GB, free: 186 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.69e-05/4.889, allocations: 137.8 kB / 2.381 GB, free: 185.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/4.889, allocations: 0 / 2.381 GB, free: 185.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/4.889, allocations: 0 / 2.381 GB, free: 185.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.834e-05/4.889, allocations: 322.7 kB / 2.382 GB, free: 185.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.573e-05/4.889, allocations: 12.31 kB / 2.382 GB, free: 185.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.501e-05/4.889, allocations: 67.8 kB / 2.382 GB, free: 185.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.046e-05/4.889, allocations: 15.94 kB / 2.382 GB, free: 185.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/4.889, allocations: 0 / 2.382 GB, free: 185.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001326/4.889, allocations: 81.69 kB / 2.382 GB, free: 185.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/4.889, allocations: 2.844 kB / 2.382 GB, free: 185.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/4.889, allocations: 2.562 kB / 2.382 GB, free: 185.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/4.889, allocations: 3.5 kB / 2.382 GB, free: 185.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.586e-05/4.889, allocations: 10.5 kB / 2.382 GB, free: 185.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/4.889, allocations: 0 / 2.382 GB, free: 185.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.517e-05/4.889, allocations: 5.281 kB / 2.382 GB, free: 185.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/4.889, allocations: 3.312 kB / 2.382 GB, free: 185.5 MB / 0.6042 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.952e-05/4.889, allocations: 187.8 kB / 2.382 GB, free: 185.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.36e-05/4.889, allocations: 108.6 kB / 2.382 GB, free: 185.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.677e-05/4.889, allocations: 119.4 kB / 2.382 GB, free: 185.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.349e-05/4.889, allocations: 178.6 kB / 2.383 GB, free: 184.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-05/4.889, allocations: 183.8 kB / 2.383 GB, free: 184.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.767e-05/4.89, allocations: 190 kB / 2.383 GB, free: 184.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/4.89, allocations: 426.1 kB / 2.383 GB, free: 184.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.767e-05/4.89, allocations: 101 kB / 2.383 GB, free: 184 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.761e-05/4.89, allocations: 113.8 kB / 2.383 GB, free: 183.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.912e-05/4.89, allocations: 185.8 kB / 2.384 GB, free: 183.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.747e-05/4.89, allocations: 182.6 kB / 2.384 GB, free: 183.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.502e-05/4.89, allocations: 176.3 kB / 2.384 GB, free: 183.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.673e-05/4.89, allocations: 179.8 kB / 2.384 GB, free: 183.2 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.475e-05/4.89, allocations: 323.8 kB / 2.384 GB, free: 182.9 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002095/4.89, allocations: 0.693 MB / 2.385 GB, free: 182.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.422e-05/4.89, allocations: 199.2 kB / 2.385 GB, free: 182 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.242e-05/4.89, allocations: 179.9 kB / 2.386 GB, free: 181.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.624e-05/4.89, allocations: 102.2 kB / 2.386 GB, free: 181.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/4.89, allocations: 184.1 kB / 2.386 GB, free: 181.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/4.89, allocations: 104.7 kB / 2.386 GB, free: 181.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.077e-05/4.89, allocations: 124.9 kB / 2.386 GB, free: 181.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001324/4.892, allocations: 175.6 kB / 2.386 GB, free: 181.3 MB / 0.6042 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.0009692/4.893, allocations: 1.169 MB / 2.387 GB, free: 181 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.857e-05/4.893, allocations: 21.69 kB / 2.387 GB, free: 181 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/4.893, allocations: 0 / 2.387 GB, free: 181 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/4.893, allocations: 0 / 2.387 GB, free: 181 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/4.893, allocations: 0.5287 MB / 2.388 GB, free: 180.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000318/4.893, allocations: 225.4 kB / 2.388 GB, free: 180.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/4.894, allocations: 0.7327 MB / 2.389 GB, free: 179.6 MB / 0.6042 GB Notification: Performance of SimCode: time 2.6e-07/4.894, allocations: 0 / 2.389 GB, free: 179.6 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Validation_FlowSplitter_u.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)