Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Density",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/BuildSysPro 3.5.0/package.mo): time 0.8524/0.8524, allocations: 127.4 MB / 134.6 MB, free: 4.137 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001936/0.001936, allocations: 185.3 kB / 164.4 MB, free: 6.898 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.989/1.989, allocations: 205.1 MB / 399.1 MB, free: 6.18 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 87.33 kB / 476.3 MB, free: 8.93 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3929/0.394, allocations: 82.89 MB / 0.5461 GB, free: 42.7 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.5809, allocations: 76.74 MB / 0.621 GB, free: 13.88 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.707/6.288, allocations: 2.156 GB / 2.777 GB, free: 57.37 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/6.289, allocations: 87.95 kB / 2.777 GB, free: 57.29 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 1.779/8.068, allocations: 482.4 MB / 3.248 GB, free: 65.45 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.958e-05/8.068, allocations: 16 kB / 3.248 GB, free: 65.44 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002551/8.07, allocations: 282.7 kB / 3.248 GB, free: 65.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001849/8.072, allocations: 0.6655 MB / 3.249 GB, free: 64.47 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.731e-05/8.072, allocations: 16 kB / 3.249 GB, free: 64.45 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000178/8.073, allocations: 32 kB / 3.249 GB, free: 64.42 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001011/8.074, allocations: 0.4907 MB / 3.249 GB, free: 63.93 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009865/8.075, allocations: 0.5634 MB / 3.25 GB, free: 63.35 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/8.075, allocations: 4 kB / 3.25 GB, free: 63.34 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.762e-05/8.075, allocations: 0 / 3.25 GB, free: 63.34 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.089e-05/8.075, allocations: 17.31 kB / 3.25 GB, free: 63.33 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003843/8.079, allocations: 2.479 MB / 3.252 GB, free: 60.68 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000627/8.079, allocations: 400.1 kB / 3.253 GB, free: 60.28 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000321/8.08, allocations: 233.4 kB / 3.253 GB, free: 60.05 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007776/8.08, allocations: 0.5486 MB / 3.254 GB, free: 59.39 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/8.08, allocations: 38.89 kB / 3.254 GB, free: 59.35 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=40): time 3.446e-06/8.08, allocations: 0 / 3.254 GB, free: 59.35 MB / 0.6355 GB Notification: Performance of matching and sorting (n=40): time 0.002035/8.082, allocations: 499 kB / 3.254 GB, free: 58.86 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/8.083, allocations: 55.41 kB / 3.254 GB, free: 58.79 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000539/8.083, allocations: 361.3 kB / 3.254 GB, free: 58.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.094e-05/8.083, allocations: 25.7 kB / 3.254 GB, free: 58.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/8.083, allocations: 256.3 kB / 3.255 GB, free: 58.14 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000146/8.083, allocations: 134 kB / 3.255 GB, free: 58.01 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/8.084, allocations: 4 kB / 3.255 GB, free: 58 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000163/8.084, allocations: 370.7 kB / 3.255 GB, free: 57.63 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/8.084, allocations: 136.8 kB / 3.255 GB, free: 57.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002712/8.084, allocations: 251.5 kB / 3.256 GB, free: 57.21 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003866/8.085, allocations: 215.7 kB / 3.256 GB, free: 57 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/8.085, allocations: 0 / 3.256 GB, free: 57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008177/8.085, allocations: 484.6 kB / 3.256 GB, free: 56.52 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003305/8.086, allocations: 0.7863 MB / 3.257 GB, free: 55.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/8.086, allocations: 4 kB / 3.257 GB, free: 55.67 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.647e-05/8.086, allocations: 4 kB / 3.257 GB, free: 55.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/8.087, allocations: 195.7 kB / 3.257 GB, free: 55.47 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008257/8.088, allocations: 0.6678 MB / 3.258 GB, free: 54.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008419/8.089, allocations: 67.77 kB / 3.258 GB, free: 54.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.277e-05/8.089, allocations: 23.89 kB / 3.258 GB, free: 54.69 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/8.089, allocations: 4 kB / 3.258 GB, free: 54.69 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000671/8.09, allocations: 395.5 kB / 3.258 GB, free: 54.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/8.09, allocations: 4 kB / 3.258 GB, free: 54.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.484e-06/8.09, allocations: 4 kB / 3.258 GB, free: 54.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004313/8.09, allocations: 103.8 kB / 3.258 GB, free: 54.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/8.09, allocations: 8 kB / 3.258 GB, free: 54.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007108/8.091, allocations: 63.86 kB / 3.258 GB, free: 54.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.436e-05/8.091, allocations: 20 kB / 3.259 GB, free: 54.1 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001858/8.091, allocations: 108.9 kB / 3.259 GB, free: 53.99 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/8.091, allocations: 51.34 kB / 3.259 GB, free: 53.94 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008945/8.092, allocations: 462.3 kB / 3.259 GB, free: 53.47 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/8.092, allocations: 8 kB / 3.259 GB, free: 53.46 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/8.092, allocations: 0 / 3.259 GB, free: 53.46 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007088/8.093, allocations: 0.6793 MB / 3.26 GB, free: 52.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002394/8.095, allocations: 1.196 MB / 3.261 GB, free: 51.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/8.095, allocations: 0 / 3.261 GB, free: 51.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/8.097, allocations: 215.8 kB / 3.261 GB, free: 51.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.417e-05/8.097, allocations: 7.938 kB / 3.261 GB, free: 51.23 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-05/8.097, allocations: 4 kB / 3.261 GB, free: 51.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001955/8.099, allocations: 1.408 MB / 3.263 GB, free: 49.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/8.099, allocations: 12 kB / 3.263 GB, free: 49.7 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001195/8.1, allocations: 0.8799 MB / 3.263 GB, free: 48.72 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001595/8.102, allocations: 1.572 MB / 3.265 GB, free: 47.06 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00039/8.102, allocations: 180.3 kB / 3.265 GB, free: 46.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.325e-05/8.102, allocations: 4 kB / 3.265 GB, free: 46.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006332/8.103, allocations: 51.8 kB / 3.265 GB, free: 46.81 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.838e-05/8.103, allocations: 27.97 kB / 3.265 GB, free: 46.78 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.071e-05/8.103, allocations: 19.98 kB / 3.265 GB, free: 46.76 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.000357/8.103, allocations: 282.8 kB / 3.265 GB, free: 46.49 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003148/8.106, allocations: 0.7412 MB / 3.266 GB, free: 45.75 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senDenFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002246/8.109, allocations: 1.576 MB / 3.268 GB, free: 44.27 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002392/8.111, allocations: 0.7096 MB / 3.268 GB, free: 43.56 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/8.111, allocations: 0 / 3.268 GB, free: 43.56 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001371/8.113, allocations: 340.6 kB / 3.269 GB, free: 43.23 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/8.114, allocations: 312.8 kB / 3.269 GB, free: 42.93 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/8.117, allocations: 1.095 MB / 3.27 GB, free: 41.79 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007583/8.118, allocations: 1.028 MB / 3.271 GB, free: 40.73 MB / 0.6355 GB Notification: Performance of SimCode: time 9.92e-07/8.118, allocations: 0 / 3.271 GB, free: 40.73 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Density.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.pipe 2>&1)