Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IDEAS_IDEAS_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.003749/0.003749, allocations: 179.6 kB / 7.455 MB, free: 2.242 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7334/0.7334, allocations: 133.5 MB / 141.4 MB, free: 15.66 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 221.3 MB / 395 MB, free: 10.24 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009386/0.0009386, allocations: 89.98 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4583/0.4593, allocations: 88.42 MB / 0.5529 GB, free: 88.92 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.6353, allocations: 82.31 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.356/4.992, allocations: 1.68 GB / 2.313 GB, free: 263.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/4.992, allocations: 78.41 kB / 2.313 GB, free: 263.7 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.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/IDEAS 3.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/IDEAS 3.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.302/5.294, allocations: 159.4 MB / 2.469 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.494e-05/5.294, allocations: 12 kB / 2.469 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.549e-05/5.294, allocations: 19.72 kB / 2.469 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/5.294, allocations: 255.7 kB / 2.469 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/5.294, allocations: 4 kB / 2.469 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/5.294, allocations: 12 kB / 2.469 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001153/5.295, allocations: 44.69 kB / 2.469 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/5.295, allocations: 157.7 kB / 2.469 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/5.295, allocations: 7.938 kB / 2.469 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/5.295, allocations: 0 / 2.469 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.016e-06/5.295, allocations: 4 kB / 2.469 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007417/5.296, allocations: 1.114 MB / 2.47 GB, free: 122 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.641e-05/5.296, allocations: 173.1 kB / 2.471 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.294e-05/5.296, allocations: 80.14 kB / 2.471 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/5.296, allocations: 75.28 kB / 2.471 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/5.296, allocations: 109.8 kB / 2.471 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/5.296, allocations: 0 / 2.471 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 9.637e-05/5.296, allocations: 49.55 kB / 2.471 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/5.296, allocations: 106.8 kB / 2.471 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/5.296, allocations: 153.5 kB / 2.471 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/5.296, allocations: 29.7 kB / 2.471 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/5.296, allocations: 131.5 kB / 2.471 GB, free: 121 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/5.296, allocations: 0 / 2.471 GB, free: 121 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/5.296, allocations: 0 / 2.471 GB, free: 121 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.573e-05/5.296, allocations: 322.8 kB / 2.472 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.525e-05/5.296, allocations: 8 kB / 2.472 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.923e-05/5.296, allocations: 63.72 kB / 2.472 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.195e-05/5.296, allocations: 23.94 kB / 2.472 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/5.296, allocations: 0 / 2.472 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001472/5.296, allocations: 73.42 kB / 2.472 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/5.296, allocations: 6.969 kB / 2.472 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/5.296, allocations: 4 kB / 2.472 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/5.296, allocations: 0 / 2.472 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.537e-05/5.297, allocations: 11.94 kB / 2.472 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/5.297, allocations: 0 / 2.472 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.741e-05/5.297, allocations: 12.09 kB / 2.472 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/5.297, allocations: 4.047 kB / 2.472 GB, free: 120.5 MB / 0.6823 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.303e-05/5.297, allocations: 184.2 kB / 2.472 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.972e-05/5.297, allocations: 120.9 kB / 2.472 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.29e-05/5.297, allocations: 113.4 kB / 2.472 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.213e-05/5.297, allocations: 176.3 kB / 2.472 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.362e-05/5.297, allocations: 184.3 kB / 2.473 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.5e-05/5.297, allocations: 184.2 kB / 2.473 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/5.297, allocations: 421.7 kB / 2.473 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.781e-05/5.297, allocations: 105 kB / 2.473 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.248e-05/5.297, allocations: 112.9 kB / 2.473 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.19e-05/5.297, allocations: 177.6 kB / 2.474 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.543e-05/5.297, allocations: 188.2 kB / 2.474 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.199e-05/5.297, allocations: 180.2 kB / 2.474 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.425e-05/5.297, allocations: 180.3 kB / 2.474 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.599e-05/5.297, allocations: 315.6 kB / 2.474 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000286/5.298, allocations: 0.6994 MB / 2.475 GB, free: 117 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.593e-05/5.298, allocations: 206 kB / 2.475 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.177e-05/5.298, allocations: 180.3 kB / 2.475 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-05/5.298, allocations: 105 kB / 2.475 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/5.298, allocations: 184.2 kB / 2.476 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/5.298, allocations: 101 kB / 2.476 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.803e-05/5.298, allocations: 132.2 kB / 2.476 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001052/5.299, allocations: 171.8 kB / 2.476 GB, free: 115.9 MB / 0.6823 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.001323/5.3, allocations: 1.173 MB / 2.477 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.815e-05/5.301, allocations: 15.94 kB / 2.477 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/5.301, allocations: 0 / 2.477 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/5.301, allocations: 0 / 2.477 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/5.301, allocations: 0.5383 MB / 2.478 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000353/5.301, allocations: 222.5 kB / 2.478 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002335/5.302, allocations: 0.7309 MB / 2.479 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of SimCode: time 2.5e-07/5.302, allocations: 0 / 2.479 GB, free: 113.2 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Validation_FlowSplitter_u.fmu > IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)