Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.FMI.Examples.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Examples.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FMI.Examples.FlowSplitter_u") translateModel(Buildings.Fluid.FMI.Examples.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FMI.Examples.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 3.0.0/package.mo): time 0.7334/0.7334, allocations: 132.4 MB / 139.7 MB, free: 15.54 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001266/0.001266, allocations: 170.7 kB / 171.6 MB, free: 2.051 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.463/1.463, allocations: 170.5 MB / 373.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00183/0.00183, allocations: 127.3 kB / 444.5 MB, free: 9.371 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.5666/0.5666, allocations: 73.4 MB / 0.666 GB, free: 62.24 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.828/5.394, allocations: 2.123 GB / 2.789 GB, free: 58.08 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/5.395, allocations: 83.95 kB / 2.789 GB, free: 58 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 3.0.0/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59: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 3.0.0/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 3.0.0/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59: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 3.0.0/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 3.0.0/Fluid/FMI/FlowSplitter_u.mo:31:5-31:13:writable] Warning: Non-array modification '"1"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 3.0.0/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59: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 3.0.0/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 3.0.0/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59: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 3.0.0/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 3.0.0/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59: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). Notification: Performance of FrontEnd: time 0.6567/6.052, allocations: 163.5 MB / 2.949 GB, free: 149.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.715e-05/6.052, allocations: 10.5 kB / 2.949 GB, free: 149.1 MB / 0.6198 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.000595/6.052, allocations: 401 kB / 2.95 GB, free: 148.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.306e-05/6.052, allocations: 8.031 kB / 2.95 GB, free: 148.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/6.052, allocations: 19.81 kB / 2.95 GB, free: 148.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005279/6.053, allocations: 258.9 kB / 2.95 GB, free: 148.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/6.053, allocations: 0 / 2.95 GB, free: 148.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/6.053, allocations: 8 kB / 2.95 GB, free: 148.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001611/6.053, allocations: 56.36 kB / 2.95 GB, free: 148.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/6.054, allocations: 158.7 kB / 2.95 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/6.054, allocations: 0 / 2.95 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/6.054, allocations: 4 kB / 2.95 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/6.054, allocations: 4 kB / 2.95 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/6.055, allocations: 1.048 MB / 2.951 GB, free: 147 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.517e-05/6.055, allocations: 169.1 kB / 2.951 GB, free: 146.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.731e-05/6.055, allocations: 80.14 kB / 2.951 GB, free: 146.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/6.055, allocations: 79.28 kB / 2.951 GB, free: 146.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.898e-05/6.055, allocations: 113.8 kB / 2.952 GB, free: 146.6 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.442e-06/6.055, allocations: 0 / 2.952 GB, free: 146.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0001199/6.055, allocations: 37.55 kB / 2.952 GB, free: 146.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/6.055, allocations: 132.5 kB / 2.952 GB, free: 146.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/6.055, allocations: 161.4 kB / 2.952 GB, free: 146.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/6.055, allocations: 25.92 kB / 2.952 GB, free: 146.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.231e-05/6.055, allocations: 135.5 kB / 2.952 GB, free: 146 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/6.055, allocations: 7.938 kB / 2.952 GB, free: 146 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-06/6.056, allocations: 0 / 2.952 GB, free: 146 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.883e-05/6.056, allocations: 322.7 kB / 2.952 GB, free: 145.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.315e-05/6.056, allocations: 12 kB / 2.952 GB, free: 145.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.324e-05/6.056, allocations: 66.86 kB / 2.952 GB, free: 145.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.392e-05/6.056, allocations: 16.81 kB / 2.952 GB, free: 145.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/6.056, allocations: 0 / 2.952 GB, free: 145.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001954/6.056, allocations: 73.52 kB / 2.952 GB, free: 145.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/6.056, allocations: 8 kB / 2.952 GB, free: 145.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/6.056, allocations: 4.125 kB / 2.952 GB, free: 145.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/6.056, allocations: 0 / 2.952 GB, free: 145.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.409e-05/6.056, allocations: 8 kB / 2.952 GB, free: 145.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/6.056, allocations: 3.984 kB / 2.952 GB, free: 145.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/6.056, allocations: 11.91 kB / 2.952 GB, free: 145.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/6.056, allocations: 3.984 kB / 2.952 GB, free: 145.5 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 9.06e-05/6.056, allocations: 184.2 kB / 2.953 GB, free: 145.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.543e-05/6.056, allocations: 112.9 kB / 2.953 GB, free: 145.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.695e-05/6.057, allocations: 117.4 kB / 2.953 GB, free: 145 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.729e-05/6.057, allocations: 188.2 kB / 2.953 GB, free: 144.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.376e-05/6.057, allocations: 180.2 kB / 2.953 GB, free: 144.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.033e-05/6.057, allocations: 178.7 kB / 2.953 GB, free: 144.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/6.057, allocations: 429.7 kB / 2.954 GB, free: 144 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.547e-05/6.057, allocations: 104.9 kB / 2.954 GB, free: 143.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.81e-05/6.057, allocations: 105 kB / 2.954 GB, free: 143.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.361e-05/6.057, allocations: 176.3 kB / 2.954 GB, free: 143.6 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.502e-05/6.057, allocations: 180.2 kB / 2.954 GB, free: 143.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.137e-05/6.057, allocations: 180.2 kB / 2.955 GB, free: 143.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.502e-05/6.057, allocations: 184.2 kB / 2.955 GB, free: 143.1 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.408e-05/6.057, allocations: 311.6 kB / 2.955 GB, free: 142.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-05/6.057, allocations: 190 kB / 2.955 GB, free: 142.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.288e-05/6.057, allocations: 184.2 kB / 2.955 GB, free: 142.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/6.057, allocations: 112.9 kB / 2.955 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/6.058, allocations: 188.2 kB / 2.956 GB, free: 142 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/6.058, allocations: 104.9 kB / 2.956 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.209e-05/6.058, allocations: 129 kB / 2.956 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004392/6.058, allocations: 83.81 kB / 2.956 GB, free: 141.7 MB / 0.6198 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.001557/6.06, allocations: 1.153 MB / 2.957 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001073/6.06, allocations: 23.92 kB / 2.957 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/6.06, allocations: 0 / 2.957 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/6.06, allocations: 0 / 2.957 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/6.06, allocations: 0.5293 MB / 2.958 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003549/6.06, allocations: 222.9 kB / 2.958 GB, free: 139.9 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002463/6.061, allocations: 0.7348 MB / 2.959 GB, free: 139.1 MB / 0.6198 GB Notification: Performance of SimCode: time 3.71e-07/6.061, allocations: 0 / 2.959 GB, free: 139.1 MB / 0.6198 GB Notification: Performance of Templates: time 0.01098/6.072, allocations: 6.848 MB / 2.965 GB, free: 132.3 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FMI.Examples.FlowSplitter_u.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.FMI.Examples.FlowSplitter_u.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FMI.Examples.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FMI.Examples.FlowSplitter_u.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FMI.Examples.FlowSplitter_u.sim & ./Buildings_3.0.0_Buildings.Fluid.FMI.Examples.FlowSplitter_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FMI.Examples.FlowSplitter_u.pipe 2>&1)