Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u") translateModel(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u") [: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 8.1.4-maint.8.1.x/package.mo): time 1.59/1.59, allocations: 289.8 MB / 297 MB, free: 6.641 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001041/0.00104, allocations: 177.3 kB / 366.3 MB, free: 1.953 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.603/1.603, allocations: 205.2 MB / 0.6256 GB, free: 5.773 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001122/0.001123, allocations: 88.69 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.084e-05/1.139e-05, allocations: 4 kB / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7973/0.7973, allocations: 116.3 MB / 0.9725 GB, free: 68.61 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.018/5.816, allocations: 2.063 GB / 3.035 GB, free: 13.81 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003165/5.816, allocations: 89.27 kB / 3.035 GB, free: 13.73 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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: Performance of FrontEnd: time 1.012/6.828, allocations: 168.9 MB / 3.2 GB, free: 228.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.698e-05/6.828, allocations: 4 kB / 3.2 GB, free: 228.6 MB / 0.948 GB 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.0004942/6.829, allocations: 398.3 kB / 3.201 GB, free: 228.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.685e-05/6.829, allocations: 8.031 kB / 3.201 GB, free: 228.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.666e-05/6.829, allocations: 15.81 kB / 3.201 GB, free: 228.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004225/6.829, allocations: 254.7 kB / 3.201 GB, free: 227.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/6.829, allocations: 0 / 3.201 GB, free: 227.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/6.829, allocations: 12 kB / 3.201 GB, free: 227.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001351/6.829, allocations: 48.45 kB / 3.201 GB, free: 227.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/6.83, allocations: 167.6 kB / 3.201 GB, free: 227.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/6.83, allocations: 4 kB / 3.201 GB, free: 227.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/6.83, allocations: 0 / 3.201 GB, free: 227.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/6.83, allocations: 4 kB / 3.201 GB, free: 227.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008595/6.831, allocations: 1.11 MB / 3.202 GB, free: 226.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.248e-05/6.831, allocations: 173.1 kB / 3.202 GB, free: 226.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.701e-05/6.831, allocations: 84.08 kB / 3.202 GB, free: 226.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/6.831, allocations: 75.28 kB / 3.202 GB, free: 226.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.396e-05/6.831, allocations: 113.8 kB / 3.203 GB, free: 225.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/6.831, allocations: 0 / 3.203 GB, free: 225.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 9.819e-05/6.831, allocations: 37.61 kB / 3.203 GB, free: 225.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/6.831, allocations: 106.8 kB / 3.203 GB, free: 225.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/6.831, allocations: 154.7 kB / 3.203 GB, free: 225.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/6.831, allocations: 25.92 kB / 3.203 GB, free: 225.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.098e-05/6.831, allocations: 131.5 kB / 3.203 GB, free: 225.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-06/6.831, allocations: 3.938 kB / 3.203 GB, free: 225.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-06/6.831, allocations: 0 / 3.203 GB, free: 225.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.672e-05/6.831, allocations: 326.8 kB / 3.203 GB, free: 225.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.64e-05/6.831, allocations: 4 kB / 3.203 GB, free: 225.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.756e-05/6.832, allocations: 75.66 kB / 3.203 GB, free: 225 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.633e-05/6.832, allocations: 19.89 kB / 3.203 GB, free: 225 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/6.832, allocations: 0 / 3.203 GB, free: 225 MB / 0.948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001657/6.832, allocations: 73.47 kB / 3.203 GB, free: 224.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/6.832, allocations: 8 kB / 3.203 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/6.832, allocations: 0 / 3.203 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/6.832, allocations: 0 / 3.203 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.299e-05/6.832, allocations: 8 kB / 3.203 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/6.832, allocations: 7.984 kB / 3.203 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.594e-05/6.832, allocations: 4.062 kB / 3.203 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/6.832, allocations: 8 kB / 3.203 GB, free: 224.9 MB / 0.948 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 0.0001147/6.832, allocations: 181.1 kB / 3.204 GB, free: 224.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.277e-05/6.832, allocations: 116.9 kB / 3.204 GB, free: 224.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.94e-05/6.832, allocations: 117.5 kB / 3.204 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.999e-05/6.832, allocations: 176.3 kB / 3.204 GB, free: 224.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.168e-05/6.832, allocations: 192.1 kB / 3.204 GB, free: 224.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-05/6.832, allocations: 176.3 kB / 3.204 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/6.833, allocations: 425.7 kB / 3.205 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.601e-05/6.833, allocations: 104.9 kB / 3.205 GB, free: 223.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.561e-05/6.833, allocations: 101 kB / 3.205 GB, free: 223.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.704e-05/6.833, allocations: 178 kB / 3.205 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.525e-05/6.833, allocations: 184.2 kB / 3.205 GB, free: 222.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-05/6.833, allocations: 180.3 kB / 3.206 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-05/6.833, allocations: 184.3 kB / 3.206 GB, free: 222.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001135/6.833, allocations: 315.6 kB / 3.206 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.096e-05/6.833, allocations: 190 kB / 3.206 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.814e-05/6.833, allocations: 184.2 kB / 3.206 GB, free: 221.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.763e-05/6.833, allocations: 101 kB / 3.206 GB, free: 221.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/6.833, allocations: 188.1 kB / 3.207 GB, free: 221.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/6.833, allocations: 104.9 kB / 3.207 GB, free: 221.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.425e-05/6.833, allocations: 127.5 kB / 3.207 GB, free: 221.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004608/6.834, allocations: 83.83 kB / 3.207 GB, free: 221.1 MB / 0.948 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.001426/6.835, allocations: 1.177 MB / 3.208 GB, free: 220 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001102/6.836, allocations: 19.94 kB / 3.208 GB, free: 219.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/6.836, allocations: 4.312 kB / 3.208 GB, free: 219.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/6.836, allocations: 0 / 3.208 GB, free: 219.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/6.836, allocations: 0.5341 MB / 3.209 GB, free: 219.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003901/6.836, allocations: 214.9 kB / 3.209 GB, free: 219.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002303/6.837, allocations: 0.7346 MB / 3.21 GB, free: 218.4 MB / 0.948 GB Notification: Performance of SimCode: time 2.41e-07/6.837, allocations: 0 / 3.21 GB, free: 218.4 MB / 0.948 GB Notification: Performance of Templates: time 0.01068/6.847, allocations: 6.642 MB / 3.216 GB, free: 211.8 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile (rm -f Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & ./Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)