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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_MassFraction",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.8498/0.8498, allocations: 127.4 MB / 134.6 MB, free: 4.059 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.001173/0.001173, allocations: 181.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.829/1.829, allocations: 205.1 MB / 399.1 MB, free: 6.102 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.001049/0.001049, allocations: 89.42 kB / 476.3 MB, free: 8.855 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3677/0.3688, allocations: 82.89 MB / 0.5461 GB, free: 42.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.5611, allocations: 76.75 MB / 0.621 GB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.495/6.056, allocations: 2.16 GB / 2.781 GB, free: 52.43 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003773/6.057, allocations: 91.67 kB / 2.781 GB, free: 52.34 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 1.922/7.979, allocations: 480.2 MB / 3.25 GB, free: 63.37 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/7.979, allocations: 12 kB / 3.25 GB, free: 63.36 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001726/7.981, allocations: 212.3 kB / 3.25 GB, free: 63.15 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001765/7.983, allocations: 0.6411 MB / 3.25 GB, free: 62.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.576e-05/7.983, allocations: 16 kB / 3.25 GB, free: 62.46 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/7.983, allocations: 36 kB / 3.25 GB, free: 62.43 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000938/7.984, allocations: 478.5 kB / 3.251 GB, free: 61.96 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008473/7.985, allocations: 0.5361 MB / 3.251 GB, free: 61.41 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/7.985, allocations: 0 / 3.251 GB, free: 61.41 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.506e-05/7.985, allocations: 3.906 kB / 3.251 GB, free: 61.41 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.877e-05/7.985, allocations: 25.31 kB / 3.251 GB, free: 61.38 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003161/7.988, allocations: 2.375 MB / 3.254 GB, free: 58.84 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005093/7.988, allocations: 401.2 kB / 3.254 GB, free: 58.44 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002523/7.989, allocations: 217.6 kB / 3.254 GB, free: 58.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005497/7.989, allocations: 389.8 kB / 3.255 GB, free: 57.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/7.989, allocations: 39.19 kB / 3.255 GB, free: 57.73 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=38): time 2.225e-06/7.989, allocations: 0 / 3.255 GB, free: 57.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=38): time 0.001414/7.991, allocations: 497.2 kB / 3.255 GB, free: 57.23 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.113e-05/7.991, allocations: 55.41 kB / 3.255 GB, free: 57.17 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004205/7.991, allocations: 361.2 kB / 3.256 GB, free: 56.81 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.715e-05/7.991, allocations: 29.64 kB / 3.256 GB, free: 56.77 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/7.991, allocations: 260.8 kB / 3.256 GB, free: 56.51 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.872e-05/7.992, allocations: 138 kB / 3.256 GB, free: 56.38 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/7.992, allocations: 0 / 3.256 GB, free: 56.38 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.811e-05/7.992, allocations: 362.8 kB / 3.256 GB, free: 56.01 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/7.992, allocations: 168.9 kB / 3.257 GB, free: 55.85 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/7.992, allocations: 272.4 kB / 3.257 GB, free: 55.54 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004622/7.993, allocations: 248.6 kB / 3.257 GB, free: 55.29 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/7.993, allocations: 4 kB / 3.257 GB, free: 55.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008545/7.994, allocations: 0.5335 MB / 3.258 GB, free: 54.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001673/7.994, allocations: 0.7918 MB / 3.258 GB, free: 53.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/7.994, allocations: 4 kB / 3.258 GB, free: 53.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/7.994, allocations: 4 kB / 3.258 GB, free: 53.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/7.995, allocations: 195.7 kB / 3.259 GB, free: 53.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008074/7.996, allocations: 0.6718 MB / 3.259 GB, free: 53 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007614/7.997, allocations: 63.64 kB / 3.259 GB, free: 52.94 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.838e-05/7.997, allocations: 20 kB / 3.259 GB, free: 52.92 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.915e-06/7.997, allocations: 4 kB / 3.259 GB, free: 52.91 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007657/7.997, allocations: 458.3 kB / 3.26 GB, free: 52.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/7.998, allocations: 0 / 3.26 GB, free: 52.47 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/7.998, allocations: 4 kB / 3.26 GB, free: 52.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004081/7.998, allocations: 104.1 kB / 3.26 GB, free: 52.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/7.998, allocations: 11.89 kB / 3.26 GB, free: 52.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006367/7.999, allocations: 55.66 kB / 3.26 GB, free: 52.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.785e-05/7.999, allocations: 20 kB / 3.26 GB, free: 52.28 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.0001667/7.999, allocations: 120.6 kB / 3.26 GB, free: 52.15 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/7.999, allocations: 51.34 kB / 3.26 GB, free: 52.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007621/8, allocations: 467.3 kB / 3.261 GB, free: 51.63 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/8, allocations: 4 kB / 3.261 GB, free: 51.62 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/8, allocations: 3.984 kB / 3.261 GB, free: 51.62 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006062/8, allocations: 0.679 MB / 3.261 GB, free: 50.86 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/8.002, allocations: 1.177 MB / 3.262 GB, free: 49.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/8.002, allocations: 0 / 3.262 GB, free: 49.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/8.004, allocations: 200 kB / 3.263 GB, free: 49.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-05/8.004, allocations: 4 kB / 3.263 GB, free: 49.43 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.374e-05/8.004, allocations: 4 kB / 3.263 GB, free: 49.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/8.006, allocations: 1.411 MB / 3.264 GB, free: 47.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/8.006, allocations: 4.031 kB / 3.264 GB, free: 47.89 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009266/8.007, allocations: 0.8283 MB / 3.265 GB, free: 46.99 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001509/8.008, allocations: 1.5 MB / 3.266 GB, free: 45.42 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003729/8.009, allocations: 180.3 kB / 3.266 GB, free: 45.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-05/8.009, allocations: 11.92 kB / 3.266 GB, free: 45.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006136/8.009, allocations: 47.86 kB / 3.266 GB, free: 45.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.733e-05/8.009, allocations: 31.84 kB / 3.266 GB, free: 45.13 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.573e-05/8.009, allocations: 15.98 kB / 3.266 GB, free: 45.12 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0004102/8.01, allocations: 279 kB / 3.267 GB, free: 44.85 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003474/8.013, allocations: 0.7656 MB / 3.267 GB, free: 44.08 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.002377/8.016, allocations: 1.598 MB / 3.269 GB, free: 42.45 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002316/8.018, allocations: 0.8796 MB / 3.27 GB, free: 41.55 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/8.018, allocations: 0 / 3.27 GB, free: 41.55 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001308/8.019, allocations: 332.9 kB / 3.27 GB, free: 41.23 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001652/8.021, allocations: 294.8 kB / 3.271 GB, free: 40.95 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/8.023, allocations: 1.106 MB / 3.272 GB, free: 39.79 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000512/8.024, allocations: 1.012 MB / 3.273 GB, free: 38.75 MB / 0.6355 GB Notification: Performance of SimCode: time 7.52e-07/8.024, allocations: 0 / 3.273 GB, free: 38.75 MB / 0.6355 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_MassFraction.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)