Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FMI.Validation.FlowSplitter_u.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.108/2.108, allocations: 253.1 MB / 260.4 MB, free: 7.605 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001648/0.001648, allocations: 181.3 kB / 319.6 MB, free: 3.297 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.931/1.931, allocations: 205.4 MB / 0.5704 GB, free: 15.05 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001359/0.001358, allocations: 97.55 kB / 0.6746 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.158e-05/1.175e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2347, allocations: 106.2 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.721/5.955, allocations: 2.181 GB / 3.069 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/5.956, allocations: 75.94 kB / 3.069 GB, free: 182.3 MB / 0.8698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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). [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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). [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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). [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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). [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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). [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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). [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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). [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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). [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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). [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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). [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/FMI/FlowSplitter_u.mo:68:5-68:46:writable] Warning: Connecting two signal sources while connecting outlet[1].forward to inlet.forward. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 0.552/6.508, allocations: 163.2 MB / 3.228 GB, free: 23.46 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.918e-05/6.508, allocations: 8 kB / 3.228 GB, free: 23.46 MB / 0.8698 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.0005518/6.508, allocations: 394.2 kB / 3.228 GB, free: 23.02 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/6.509, allocations: 12.03 kB / 3.228 GB, free: 23.01 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.166e-05/6.509, allocations: 15.81 kB / 3.228 GB, free: 23 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007162/6.509, allocations: 250.5 kB / 3.229 GB, free: 22.71 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.267e-05/6.509, allocations: 7.938 kB / 3.229 GB, free: 22.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.989e-05/6.51, allocations: 8 kB / 3.229 GB, free: 22.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004359/6.51, allocations: 48.45 kB / 3.229 GB, free: 22.65 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003649/6.51, allocations: 163.5 kB / 3.229 GB, free: 22.45 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/6.51, allocations: 0 / 3.229 GB, free: 22.45 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/6.51, allocations: 0 / 3.229 GB, free: 22.45 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/6.511, allocations: 4 kB / 3.229 GB, free: 22.45 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/6.512, allocations: 1.121 MB / 3.23 GB, free: 21.26 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.593e-05/6.512, allocations: 165.1 kB / 3.23 GB, free: 21.09 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.599e-05/6.512, allocations: 84.14 kB / 3.23 GB, free: 21 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/6.512, allocations: 75.28 kB / 3.23 GB, free: 20.93 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.963e-05/6.512, allocations: 105.8 kB / 3.23 GB, free: 20.82 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 3.637e-06/6.512, allocations: 4 kB / 3.23 GB, free: 20.81 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 0.0001508/6.513, allocations: 37.55 kB / 3.23 GB, free: 20.77 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/6.513, allocations: 106.8 kB / 3.231 GB, free: 20.64 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/6.513, allocations: 162.2 kB / 3.231 GB, free: 20.48 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/6.513, allocations: 25.7 kB / 3.231 GB, free: 20.45 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.992e-05/6.513, allocations: 135.5 kB / 3.231 GB, free: 20.31 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-06/6.513, allocations: 3.984 kB / 3.231 GB, free: 20.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-06/6.513, allocations: 0 / 3.231 GB, free: 20.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.701e-05/6.513, allocations: 318.8 kB / 3.231 GB, free: 19.98 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.288e-05/6.513, allocations: 11.98 kB / 3.231 GB, free: 19.97 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.772e-05/6.513, allocations: 63.73 kB / 3.231 GB, free: 19.88 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.991e-05/6.513, allocations: 19.92 kB / 3.231 GB, free: 19.86 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/6.513, allocations: 3.906 kB / 3.231 GB, free: 19.86 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002833/6.514, allocations: 73.53 kB / 3.231 GB, free: 19.78 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/6.514, allocations: 8 kB / 3.231 GB, free: 19.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/6.514, allocations: 0 / 3.231 GB, free: 19.77 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/6.514, allocations: 0 / 3.231 GB, free: 19.77 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/6.514, allocations: 11.98 kB / 3.231 GB, free: 19.76 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/6.514, allocations: 7.938 kB / 3.231 GB, free: 19.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003047/6.514, allocations: 7.844 kB / 3.231 GB, free: 19.75 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/6.514, allocations: 4 kB / 3.231 GB, free: 19.74 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 0.0001265/6.514, allocations: 187.1 kB / 3.232 GB, free: 19.55 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/6.515, allocations: 108.9 kB / 3.232 GB, free: 19.44 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.812e-05/6.515, allocations: 121.4 kB / 3.232 GB, free: 19.32 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.404e-05/6.515, allocations: 176.9 kB / 3.232 GB, free: 19.14 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.291e-05/6.515, allocations: 180.2 kB / 3.232 GB, free: 18.95 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.516e-05/6.515, allocations: 184.2 kB / 3.232 GB, free: 18.77 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003742/6.515, allocations: 429.9 kB / 3.233 GB, free: 18.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.469e-05/6.515, allocations: 112.9 kB / 3.233 GB, free: 18.18 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.64e-05/6.515, allocations: 104.9 kB / 3.233 GB, free: 18.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.988e-05/6.516, allocations: 176.3 kB / 3.233 GB, free: 17.89 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.034e-05/6.516, allocations: 176.3 kB / 3.233 GB, free: 17.71 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.056e-05/6.516, allocations: 192.2 kB / 3.233 GB, free: 17.52 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-05/6.516, allocations: 176.3 kB / 3.234 GB, free: 17.34 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001556/6.516, allocations: 316.2 kB / 3.234 GB, free: 17.01 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/6.516, allocations: 190 kB / 3.234 GB, free: 16.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.744e-05/6.516, allocations: 180.3 kB / 3.234 GB, free: 16.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004469/6.517, allocations: 105.2 kB / 3.234 GB, free: 16.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.563e-05/6.517, allocations: 176.3 kB / 3.234 GB, free: 16.32 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.682e-05/6.517, allocations: 112.9 kB / 3.235 GB, free: 16.21 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002332/6.517, allocations: 123.2 kB / 3.235 GB, free: 16.09 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009418/6.518, allocations: 83.86 kB / 3.235 GB, free: 16 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.002477/6.52, allocations: 1.166 MB / 3.236 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002414/6.521, allocations: 19.94 kB / 3.236 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/6.521, allocations: 4 kB / 3.236 GB, free: 14.81 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.919e-06/6.521, allocations: 0 / 3.236 GB, free: 14.81 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000639/6.521, allocations: 0.5333 MB / 3.236 GB, free: 14.28 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006642/6.522, allocations: 218.8 kB / 3.237 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003325/6.522, allocations: 0.7309 MB / 3.237 GB, free: 13.28 MB / 0.8698 GB Notification: Performance of SimCode: time 1.262e-06/6.523, allocations: 3.938 kB / 3.237 GB, free: 13.28 MB / 0.8698 GB Notification: Performance of Templates: time 0.02736/6.55, allocations: 6.632 MB / 3.244 GB, free: 6.648 MB / 0.8698 GB