Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.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: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction") [: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.7135/0.7135, allocations: 127.4 MB / 134.6 MB, free: 4.074 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.001413/0.001413, allocations: 185.3 kB / 164.4 MB, free: 6.879 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.852/1.852, allocations: 205.1 MB / 399.1 MB, free: 6.141 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.00145/0.00145, allocations: 87.05 kB / 476.3 MB, free: 8.906 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.927e-06/8.957e-06, allocations: 7.938 kB / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1829, allocations: 76.73 MB / 0.6209 GB, free: 13.94 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.582/4.765, allocations: 2.159 GB / 2.78 GB, free: 47.32 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003632/4.766, allocations: 93.3 kB / 2.781 GB, free: 47.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.637/6.403, allocations: 479.2 MB / 3.248 GB, free: 61.02 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001139/6.403, allocations: 23.98 kB / 3.248 GB, free: 61 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.003089/6.406, allocations: 1.036 MB / 3.249 GB, free: 59.91 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/6.406, allocations: 12.03 kB / 3.249 GB, free: 59.89 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001818/6.408, allocations: 214.8 kB / 3.25 GB, free: 59.68 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/6.41, allocations: 0.642 MB / 3.25 GB, free: 59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.724e-05/6.41, allocations: 16 kB / 3.25 GB, free: 58.98 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/6.41, allocations: 36 kB / 3.25 GB, free: 58.95 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009949/6.411, allocations: 478.4 kB / 3.251 GB, free: 58.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009867/6.412, allocations: 0.5284 MB / 3.251 GB, free: 57.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/6.412, allocations: 11.89 kB / 3.251 GB, free: 57.92 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.255e-05/6.412, allocations: 0 / 3.251 GB, free: 57.92 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/6.412, allocations: 21.31 kB / 3.251 GB, free: 57.9 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00325/6.416, allocations: 2.377 MB / 3.254 GB, free: 55.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000523/6.416, allocations: 399.5 kB / 3.254 GB, free: 54.94 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002552/6.416, allocations: 212.8 kB / 3.254 GB, free: 54.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005601/6.417, allocations: 397 kB / 3.255 GB, free: 54.27 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/6.417, allocations: 38.56 kB / 3.255 GB, free: 54.22 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=38): time 2.595e-06/6.417, allocations: 3.938 kB / 3.255 GB, free: 54.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=38): time 0.001439/6.418, allocations: 0.4894 MB / 3.255 GB, free: 53.72 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/6.418, allocations: 55.41 kB / 3.255 GB, free: 53.65 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003998/6.419, allocations: 357.3 kB / 3.256 GB, free: 53.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.625e-05/6.419, allocations: 29.7 kB / 3.256 GB, free: 53.26 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/6.419, allocations: 256.2 kB / 3.256 GB, free: 53.01 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/6.419, allocations: 130 kB / 3.256 GB, free: 52.88 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/6.419, allocations: 4 kB / 3.256 GB, free: 52.88 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.171e-05/6.419, allocations: 362.8 kB / 3.256 GB, free: 52.51 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000249/6.42, allocations: 164.9 kB / 3.256 GB, free: 52.35 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002985/6.42, allocations: 272.4 kB / 3.257 GB, free: 52.04 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005348/6.42, allocations: 252.6 kB / 3.257 GB, free: 51.79 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/6.42, allocations: 0 / 3.257 GB, free: 51.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009441/6.421, allocations: 0.5412 MB / 3.257 GB, free: 51.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002655/6.422, allocations: 0.7939 MB / 3.258 GB, free: 50.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/6.422, allocations: 0 / 3.258 GB, free: 50.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.68e-05/6.422, allocations: 4 kB / 3.258 GB, free: 50.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/6.423, allocations: 191.8 kB / 3.258 GB, free: 50.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009909/6.424, allocations: 0.6679 MB / 3.259 GB, free: 49.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009106/6.425, allocations: 67.67 kB / 3.259 GB, free: 49.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.534e-05/6.425, allocations: 20 kB / 3.259 GB, free: 49.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/6.425, allocations: 4 kB / 3.259 GB, free: 49.42 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008245/6.426, allocations: 457.2 kB / 3.26 GB, free: 48.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/6.426, allocations: 8.328 kB / 3.26 GB, free: 48.97 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.035e-06/6.426, allocations: 4 kB / 3.26 GB, free: 48.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004071/6.426, allocations: 99.89 kB / 3.26 GB, free: 48.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/6.426, allocations: 11.89 kB / 3.26 GB, free: 48.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006626/6.427, allocations: 55.64 kB / 3.26 GB, free: 48.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.363e-05/6.427, allocations: 27.94 kB / 3.26 GB, free: 48.77 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: 2 (senMasFra2.i_x,senMasFra1.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * 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.0001876/6.427, allocations: 120.6 kB / 3.26 GB, free: 48.65 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/6.428, allocations: 51.34 kB / 3.26 GB, free: 48.6 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008316/6.428, allocations: 467.3 kB / 3.26 GB, free: 48.13 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/6.428, allocations: 7.938 kB / 3.26 GB, free: 48.12 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/6.428, allocations: 4 kB / 3.26 GB, free: 48.12 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006133/6.429, allocations: 0.6828 MB / 3.261 GB, free: 47.35 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002252/6.431, allocations: 1.169 MB / 3.262 GB, free: 46.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/6.431, allocations: 7.922 kB / 3.262 GB, free: 46.11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/6.433, allocations: 203.9 kB / 3.262 GB, free: 45.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.2e-05/6.433, allocations: 4 kB / 3.262 GB, free: 45.91 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.801e-05/6.433, allocations: 4 kB / 3.262 GB, free: 45.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002028/6.435, allocations: 1.41 MB / 3.264 GB, free: 44.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/6.435, allocations: 4.031 kB / 3.264 GB, free: 44.38 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009757/6.436, allocations: 0.8274 MB / 3.265 GB, free: 43.48 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000339/6.436, allocations: 172.3 kB / 3.265 GB, free: 43.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/6.436, allocations: 7.984 kB / 3.265 GB, free: 43.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006449/6.437, allocations: 55.8 kB / 3.265 GB, free: 43.23 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.822e-05/6.437, allocations: 23.95 kB / 3.265 GB, free: 43.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.602e-05/6.437, allocations: 19.98 kB / 3.265 GB, free: 43.18 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0003108/6.437, allocations: 283 kB / 3.265 GB, free: 42.91 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001539/6.439, allocations: 451 kB / 3.266 GB, free: 42.47 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senMasFra1.X) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * 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.002497/6.441, allocations: 1.583 MB / 3.267 GB, free: 40.83 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002343/6.444, allocations: 0.8761 MB / 3.268 GB, free: 39.93 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/6.444, allocations: 4.125 kB / 3.268 GB, free: 39.93 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001305/6.445, allocations: 336.3 kB / 3.268 GB, free: 39.6 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/6.447, allocations: 299.4 kB / 3.269 GB, free: 39.31 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/6.449, allocations: 1.093 MB / 3.27 GB, free: 38.17 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006161/6.45, allocations: 1.012 MB / 3.271 GB, free: 37.13 MB / 0.6355 GB Notification: Performance of SimCode: time 1.012e-06/6.45, allocations: 4 kB / 3.271 GB, free: 37.12 MB / 0.6355 GB Notification: Performance of Templates: time 0.03324/6.483, allocations: 21.02 MB / 3.291 GB, free: 16.21 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)