Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7749/0.7749, allocations: 141.8 MB / 149.1 MB, free: 13.18 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.00115, allocations: 173.3 kB / 181.9 MB, free: 9.855 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 221.4 MB / 436 MB, free: 2.27 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009731/0.0009731, allocations: 97.69 kB / 0.507 GB, free: 11.03 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001736/0.001736, allocations: 289.3 kB / 0.5884 GB, free: 7.852 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2031/0.2049, allocations: 89.63 MB / 0.676 GB, free: 14.14 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4223/0.6272, allocations: 82.77 MB / 0.7568 GB, free: 139.1 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.589/4.216, allocations: 1.677 GB / 2.434 GB, free: 76.4 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/4.217, allocations: 84.47 kB / 2.434 GB, free: 76.32 MB / 0.6982 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.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/BuildingSystems 2.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.6913/4.908, allocations: 159.5 MB / 2.59 GB, free: 195.8 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/4.908, allocations: 8 kB / 2.59 GB, free: 195.8 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.166e-05/4.908, allocations: 15.81 kB / 2.59 GB, free: 195.8 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004114/4.909, allocations: 263.2 kB / 2.59 GB, free: 195.5 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/4.909, allocations: 4 kB / 2.59 GB, free: 195.5 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/4.909, allocations: 4 kB / 2.59 GB, free: 195.5 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001303/4.909, allocations: 48.45 kB / 2.59 GB, free: 195.4 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/4.909, allocations: 164.3 kB / 2.59 GB, free: 195.2 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/4.909, allocations: 0 / 2.59 GB, free: 195.2 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/4.909, allocations: 4 kB / 2.59 GB, free: 195.2 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/4.909, allocations: 0 / 2.59 GB, free: 195.2 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008069/4.91, allocations: 1.12 MB / 2.591 GB, free: 194.1 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 5.833e-05/4.91, allocations: 169.1 kB / 2.592 GB, free: 193.9 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.479e-05/4.91, allocations: 80.14 kB / 2.592 GB, free: 193.8 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/4.91, allocations: 79.31 kB / 2.592 GB, free: 193.7 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/4.91, allocations: 113.8 kB / 2.592 GB, free: 193.6 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=0): time 1.483e-06/4.91, allocations: 0 / 2.592 GB, free: 193.6 MB / 0.6982 GB Notification: Performance of matching and sorting (n=0): time 8.986e-05/4.91, allocations: 33.61 kB / 2.592 GB, free: 193.6 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/4.91, allocations: 102.8 kB / 2.592 GB, free: 193.4 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/4.91, allocations: 166.9 kB / 2.592 GB, free: 193.3 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/4.91, allocations: 25.7 kB / 2.592 GB, free: 193.2 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 5.866e-05/4.91, allocations: 135.5 kB / 2.592 GB, free: 193.1 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-06/4.91, allocations: 3.984 kB / 2.592 GB, free: 193.1 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-06/4.91, allocations: 0 / 2.592 GB, free: 193.1 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 6.605e-05/4.91, allocations: 318.8 kB / 2.593 GB, free: 192.8 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.849e-05/4.91, allocations: 15.92 kB / 2.593 GB, free: 192.8 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.006e-05/4.911, allocations: 67.67 kB / 2.593 GB, free: 192.7 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.25e-05/4.911, allocations: 15.98 kB / 2.593 GB, free: 192.6 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/4.911, allocations: 0 / 2.593 GB, free: 192.6 MB / 0.6982 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001486/4.911, allocations: 69.47 kB / 2.593 GB, free: 192.6 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/4.911, allocations: 12.16 kB / 2.593 GB, free: 192.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/4.911, allocations: 0 / 2.593 GB, free: 192.6 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/4.911, allocations: 4 kB / 2.593 GB, free: 192.6 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.631e-05/4.911, allocations: 11.98 kB / 2.593 GB, free: 192.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/4.911, allocations: 4 kB / 2.593 GB, free: 192.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.482e-05/4.911, allocations: 7.906 kB / 2.593 GB, free: 192.5 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/4.911, allocations: 0 / 2.593 GB, free: 192.5 MB / 0.6982 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.713e-05/4.911, allocations: 188.1 kB / 2.593 GB, free: 192.3 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.905e-05/4.911, allocations: 116.8 kB / 2.593 GB, free: 192.2 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.77e-05/4.911, allocations: 121.4 kB / 2.593 GB, free: 192.1 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.85e-05/4.911, allocations: 176.3 kB / 2.593 GB, free: 191.9 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-05/4.911, allocations: 184.2 kB / 2.594 GB, free: 191.7 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.375e-05/4.911, allocations: 176.3 kB / 2.594 GB, free: 191.6 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/4.911, allocations: 425.7 kB / 2.594 GB, free: 191.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.937e-05/4.912, allocations: 105.1 kB / 2.594 GB, free: 191 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.164e-05/4.912, allocations: 109 kB / 2.594 GB, free: 190.9 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.94e-05/4.912, allocations: 176.3 kB / 2.594 GB, free: 190.7 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.459e-05/4.912, allocations: 185.9 kB / 2.595 GB, free: 190.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.618e-05/4.912, allocations: 184.2 kB / 2.595 GB, free: 190.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-05/4.912, allocations: 184.2 kB / 2.595 GB, free: 190.1 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.665e-05/4.912, allocations: 307.7 kB / 2.595 GB, free: 189.8 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002819/4.912, allocations: 0.707 MB / 2.596 GB, free: 189.1 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 5.837e-05/4.912, allocations: 190 kB / 2.596 GB, free: 188.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.456e-05/4.912, allocations: 188.2 kB / 2.596 GB, free: 188.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.628e-05/4.912, allocations: 101 kB / 2.596 GB, free: 188.6 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/4.912, allocations: 180.5 kB / 2.597 GB, free: 188.4 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/4.912, allocations: 104.9 kB / 2.597 GB, free: 188.3 MB / 0.6982 GB Notification: Performance of sort global known variables: time 7.824e-05/4.913, allocations: 127.2 kB / 2.597 GB, free: 188.1 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001272/4.914, allocations: 175.9 kB / 2.597 GB, free: 188 MB / 0.6982 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.001302/4.915, allocations: 1.176 MB / 2.598 GB, free: 186.8 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 9.099e-05/4.915, allocations: 16 kB / 2.598 GB, free: 186.8 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/4.915, allocations: 4 kB / 2.598 GB, free: 186.8 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 2.154e-06/4.915, allocations: 3.938 kB / 2.598 GB, free: 186.8 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/4.916, allocations: 0.5344 MB / 2.599 GB, free: 186.3 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000371/4.916, allocations: 214.8 kB / 2.599 GB, free: 186 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002263/4.916, allocations: 0.7387 MB / 2.6 GB, free: 185.3 MB / 0.6982 GB Notification: Performance of SimCode: time 2.5e-07/4.916, allocations: 0 / 2.6 GB, free: 185.3 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Validation_FlowSplitter_u.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)