Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 191 kB / 7.803 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4591/0.4591, allocations: 90.86 MB / 99.07 MB, free: 14.97 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 221.4 MB / 342.7 MB, free: 5.297 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009535/0.0009536, allocations: 95.11 kB / 415.5 MB, free: 9.863 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1723/0.1733, allocations: 78.45 MB / 494 MB, free: 11.5 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.5182, allocations: 72.3 MB / 0.553 GB, free: 44.87 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.851/4.369, allocations: 1.882 GB / 2.435 GB, free: 165.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/4.369, allocations: 87.95 kB / 2.435 GB, free: 165.6 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 1.558/5.928, allocations: 490.2 MB / 2.913 GB, free: 120.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/5.928, allocations: 11.75 kB / 2.913 GB, free: 120.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/5.929, allocations: 215 kB / 2.914 GB, free: 120.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001999/5.931, allocations: 0.9119 MB / 2.914 GB, free: 120.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/5.931, allocations: 18.34 kB / 2.915 GB, free: 120.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.502e-05/5.931, allocations: 36.84 kB / 2.915 GB, free: 120.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008409/5.932, allocations: 447.9 kB / 2.915 GB, free: 120.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008213/5.933, allocations: 0.5239 MB / 2.915 GB, free: 120.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/5.933, allocations: 0 / 2.915 GB, free: 120.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.907e-05/5.933, allocations: 3.906 kB / 2.915 GB, free: 120.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.619e-05/5.933, allocations: 22.47 kB / 2.916 GB, free: 120.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002876/5.936, allocations: 2.461 MB / 2.918 GB, free: 119.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004486/5.936, allocations: 328.7 kB / 2.918 GB, free: 119.1 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002404/5.937, allocations: 200 kB / 2.918 GB, free: 119.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005324/5.937, allocations: 308.6 kB / 2.919 GB, free: 118.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/5.937, allocations: 44.19 kB / 2.919 GB, free: 118.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 2.695e-06/5.937, allocations: 0 / 2.919 GB, free: 118.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36): time 0.001076/5.938, allocations: 449.2 kB / 2.919 GB, free: 118.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/5.938, allocations: 55.12 kB / 2.919 GB, free: 118.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000359/5.939, allocations: 356.5 kB / 2.92 GB, free: 118.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/5.939, allocations: 29.45 kB / 2.92 GB, free: 118.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/5.939, allocations: 255.7 kB / 2.92 GB, free: 118.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.32e-05/5.939, allocations: 126.8 kB / 2.92 GB, free: 118.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.891e-05/5.939, allocations: 0 / 2.92 GB, free: 118.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.912e-05/5.939, allocations: 358.3 kB / 2.92 GB, free: 117.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/5.939, allocations: 142.1 kB / 2.92 GB, free: 117.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002804/5.939, allocations: 265 kB / 2.921 GB, free: 117.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004016/5.94, allocations: 209.2 kB / 2.921 GB, free: 117.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/5.94, allocations: 1.094 kB / 2.921 GB, free: 117.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008361/5.941, allocations: 482.3 kB / 2.921 GB, free: 117.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002242/5.941, allocations: 0.8699 MB / 2.922 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/5.941, allocations: 3.688 kB / 2.922 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/5.941, allocations: 7.844 kB / 2.922 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006271/5.942, allocations: 103.7 kB / 2.922 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003287/5.942, allocations: 0.6009 MB / 2.923 GB, free: 116.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006212/5.943, allocations: 60.39 kB / 2.923 GB, free: 116.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.181e-05/5.943, allocations: 18.84 kB / 2.923 GB, free: 116.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.104e-06/5.943, allocations: 6.281 kB / 2.923 GB, free: 116.2 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006139/5.943, allocations: 396.4 kB / 2.923 GB, free: 116.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/5.943, allocations: 3.625 kB / 2.923 GB, free: 116.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.262e-06/5.943, allocations: 3.688 kB / 2.923 GB, free: 116.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003603/5.944, allocations: 84 kB / 2.923 GB, free: 116.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/5.944, allocations: 5.812 kB / 2.923 GB, free: 116.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004981/5.944, allocations: 67.17 kB / 2.924 GB, free: 116.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.672e-05/5.944, allocations: 20.84 kB / 2.924 GB, free: 116.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * 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.0001242/5.944, allocations: 117.2 kB / 2.924 GB, free: 116.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.704e-05/5.945, allocations: 53.19 kB / 2.924 GB, free: 116.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008618/5.945, allocations: 434.8 kB / 2.924 GB, free: 116 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/5.945, allocations: 3.469 kB / 2.924 GB, free: 116 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/5.945, allocations: 0.6562 kB / 2.924 GB, free: 116 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007762/5.946, allocations: 0.6554 MB / 2.925 GB, free: 115.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/5.948, allocations: 1.13 MB / 2.926 GB, free: 115.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/5.948, allocations: 2.688 kB / 2.926 GB, free: 115.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004907/5.948, allocations: 106.8 kB / 2.926 GB, free: 115.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.77e-06/5.948, allocations: 3.531 kB / 2.926 GB, free: 115.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.178e-05/5.949, allocations: 6.812 kB / 2.926 GB, free: 115.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002091/5.949, allocations: 0.5993 MB / 2.927 GB, free: 114.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/5.949, allocations: 2.781 kB / 2.927 GB, free: 114.6 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008272/5.95, allocations: 0.7808 MB / 2.927 GB, free: 114.3 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001311/5.951, allocations: 1.431 MB / 2.929 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/5.951, allocations: 179.4 kB / 2.929 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.941e-05/5.951, allocations: 2.594 kB / 2.929 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004491/5.952, allocations: 35.38 kB / 2.929 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/5.952, allocations: 22.39 kB / 2.929 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/5.952, allocations: 11.17 kB / 2.929 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0002881/5.952, allocations: 289.7 kB / 2.929 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002971/5.955, allocations: 0.756 MB / 2.93 GB, free: 113 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,senMasFra1.X) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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.001845/5.957, allocations: 1.553 MB / 2.931 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001139/5.958, allocations: 0.5862 MB / 2.932 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/5.958, allocations: 0 / 2.932 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002564/5.958, allocations: 179.8 kB / 2.932 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/5.96, allocations: 295.2 kB / 2.933 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/5.962, allocations: 1.063 MB / 2.934 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006061/5.962, allocations: 1.015 MB / 2.935 GB, free: 111.1 MB / 0.6042 GB Notification: Performance of SimCode: time 4.71e-07/5.962, allocations: 0 / 2.935 GB, free: 111.1 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MassFraction.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)