Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction") translateModel(BuildingSystems.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7686/0.7686, allocations: 141.8 MB / 149.1 MB, free: 2.914 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 185.4 kB / 182 MB, free: 14.79 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 221.3 MB / 436.1 MB, free: 7.852 MB / 331 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 107.7 kB / 0.507 GB, free: 24.43 MB / 395 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001847/0.001847, allocations: 275 kB / 0.5885 GB, free: 11 MB / 443 MB Notification: Performance of FrontEnd - loaded program: time 9.437e-06/9.468e-06, allocations: 0 / 0.6759 GB, free: 1.363 MB / 0.5108 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5282/0.5283, allocations: 82.76 MB / 0.7567 GB, free: 111.6 MB / 0.5264 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.705/5.233, allocations: 1.888 GB / 2.645 GB, free: 181.4 MB / 0.6983 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/5.234, allocations: 92.34 kB / 2.645 GB, free: 181.3 MB / 0.6983 GB Notification: Performance of FrontEnd: time 2.038/7.272, allocations: 487.3 MB / 3.121 GB, free: 151.4 MB / 0.6983 GB Notification: Performance of Transformations before backend: time 0.0001491/7.272, allocations: 22.84 kB / 3.121 GB, free: 151.4 MB / 0.6983 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 0.004108/7.276, allocations: 0.9832 MB / 3.122 GB, free: 151 MB / 0.6983 GB Notification: Performance of prepare preOptimizeDAE: time 6.623e-05/7.276, allocations: 8.188 kB / 3.122 GB, free: 151 MB / 0.6983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002056/7.278, allocations: 217.3 kB / 3.122 GB, free: 150.9 MB / 0.6983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002939/7.281, allocations: 0.9092 MB / 3.123 GB, free: 150.7 MB / 0.6983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.001e-05/7.281, allocations: 16.81 kB / 3.123 GB, free: 150.7 MB / 0.6983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/7.281, allocations: 34.75 kB / 3.123 GB, free: 150.7 MB / 0.6983 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00108/7.283, allocations: 450.7 kB / 3.124 GB, free: 150.7 MB / 0.6983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/7.284, allocations: 0.5198 MB / 3.124 GB, free: 150.6 MB / 0.6983 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/7.284, allocations: 3 kB / 3.124 GB, free: 150.6 MB / 0.6983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.686e-05/7.284, allocations: 7.875 kB / 3.124 GB, free: 150.6 MB / 0.6983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.382e-05/7.284, allocations: 18.84 kB / 3.124 GB, free: 150.6 MB / 0.6983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003499/7.287, allocations: 2.348 MB / 3.127 GB, free: 149.4 MB / 0.6983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005025/7.288, allocations: 335.5 kB / 3.127 GB, free: 149.3 MB / 0.6983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/7.288, allocations: 197.4 kB / 3.127 GB, free: 149.3 MB / 0.6983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005387/7.289, allocations: 310.4 kB / 3.127 GB, free: 149 MB / 0.6983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/7.289, allocations: 39.09 kB / 3.127 GB, free: 149 MB / 0.6983 GB Notification: Performance of pre-optimization done (n=36): time 3.237e-06/7.289, allocations: 0 / 3.127 GB, free: 149 MB / 0.6983 GB Notification: Performance of matching and sorting (n=36): time 0.001285/7.29, allocations: 438.9 kB / 3.128 GB, free: 148.9 MB / 0.6983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/7.29, allocations: 58.19 kB / 3.128 GB, free: 148.9 MB / 0.6983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004831/7.291, allocations: 363 kB / 3.128 GB, free: 148.8 MB / 0.6983 GB Notification: Performance of collectPreVariables (initialization): time 5.43e-05/7.291, allocations: 29.08 kB / 3.128 GB, free: 148.7 MB / 0.6983 GB Notification: Performance of collectInitialEqns (initialization): time 0.000163/7.291, allocations: 249.8 kB / 3.128 GB, free: 148.6 MB / 0.6983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/7.291, allocations: 125.9 kB / 3.129 GB, free: 148.5 MB / 0.6983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.767e-05/7.291, allocations: 3.344 kB / 3.129 GB, free: 148.5 MB / 0.6983 GB Notification: Performance of setup shared object (initialization): time 0.0001064/7.291, allocations: 358.2 kB / 3.129 GB, free: 148.2 MB / 0.6983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/7.291, allocations: 139.8 kB / 3.129 GB, free: 148.2 MB / 0.6983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002989/7.292, allocations: 271.4 kB / 3.129 GB, free: 148.1 MB / 0.6983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004012/7.292, allocations: 209.6 kB / 3.13 GB, free: 148.1 MB / 0.6983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/7.292, allocations: 3.531 kB / 3.13 GB, free: 148.1 MB / 0.6983 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008149/7.293, allocations: 477.5 kB / 3.13 GB, free: 148 MB / 0.6983 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002594/7.293, allocations: 0.8749 MB / 3.131 GB, free: 147.1 MB / 0.6983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/7.293, allocations: 3.844 kB / 3.131 GB, free: 147.1 MB / 0.6983 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/7.293, allocations: 3.906 kB / 3.131 GB, free: 147.1 MB / 0.6983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006089/7.294, allocations: 102.7 kB / 3.131 GB, free: 147.1 MB / 0.6983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003859/7.294, allocations: 0.6068 MB / 3.132 GB, free: 146.5 MB / 0.6983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007021/7.295, allocations: 55.75 kB / 3.132 GB, free: 146.5 MB / 0.6983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.818e-05/7.295, allocations: 20.47 kB / 3.132 GB, free: 146.5 MB / 0.6983 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/7.295, allocations: 3.688 kB / 3.132 GB, free: 146.5 MB / 0.6983 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006587/7.296, allocations: 387.2 kB / 3.132 GB, free: 146.5 MB / 0.6983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/7.296, allocations: 0 / 3.132 GB, free: 146.5 MB / 0.6983 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/7.296, allocations: 6.25 kB / 3.132 GB, free: 146.5 MB / 0.6983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003622/7.296, allocations: 87.75 kB / 3.132 GB, free: 146.5 MB / 0.6983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/7.296, allocations: 9.453 kB / 3.132 GB, free: 146.5 MB / 0.6983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006242/7.297, allocations: 56.27 kB / 3.132 GB, free: 146.5 MB / 0.6983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.191e-05/7.297, allocations: 19.81 kB / 3.132 GB, free: 146.5 MB / 0.6983 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.0001496/7.297, allocations: 119.6 kB / 3.132 GB, free: 146.4 MB / 0.6983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/7.297, allocations: 50.44 kB / 3.132 GB, free: 146.4 MB / 0.6983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007209/7.298, allocations: 442.8 kB / 3.133 GB, free: 146.3 MB / 0.6983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/7.298, allocations: 3.875 kB / 3.133 GB, free: 146.3 MB / 0.6983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/7.298, allocations: 0 / 3.133 GB, free: 146.3 MB / 0.6983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005697/7.298, allocations: 0.6535 MB / 3.133 GB, free: 145.8 MB / 0.6983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/7.3, allocations: 1.122 MB / 3.135 GB, free: 145.5 MB / 0.6983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/7.3, allocations: 3.812 kB / 3.135 GB, free: 145.5 MB / 0.6983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005033/7.301, allocations: 98.36 kB / 3.135 GB, free: 145.5 MB / 0.6983 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.876e-06/7.301, allocations: 7.062 kB / 3.135 GB, free: 145.5 MB / 0.6983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/7.301, allocations: 3.406 kB / 3.135 GB, free: 145.5 MB / 0.6983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002568/7.301, allocations: 0.5983 MB / 3.135 GB, free: 144.9 MB / 0.6983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/7.301, allocations: 3 kB / 3.135 GB, free: 144.9 MB / 0.6983 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009384/7.302, allocations: 0.8138 MB / 3.136 GB, free: 144.6 MB / 0.6983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003057/7.302, allocations: 174.8 kB / 3.136 GB, free: 144.5 MB / 0.6983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/7.302, allocations: 5.688 kB / 3.136 GB, free: 144.5 MB / 0.6983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005201/7.303, allocations: 36.84 kB / 3.136 GB, free: 144.5 MB / 0.6983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/7.303, allocations: 28.3 kB / 3.136 GB, free: 144.5 MB / 0.6983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/7.303, allocations: 17.11 kB / 3.136 GB, free: 144.5 MB / 0.6983 GB Notification: Performance of sort global known variables: time 0.0002977/7.303, allocations: 282.3 kB / 3.137 GB, free: 144.4 MB / 0.6983 GB Notification: Performance of remove unused functions: time 0.0015/7.305, allocations: 441.6 kB / 3.137 GB, free: 144.3 MB / 0.6983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (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.002769/7.308, allocations: 1.555 MB / 3.138 GB, free: 144 MB / 0.6983 GB Notification: Performance of simCode: created initialization part: time 0.001244/7.309, allocations: 0.5671 MB / 3.139 GB, free: 144 MB / 0.6983 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/7.309, allocations: 0 / 3.139 GB, free: 144 MB / 0.6983 GB Notification: Performance of simCode: created simulation system equations: time 0.0003101/7.309, allocations: 181.3 kB / 3.139 GB, free: 144 MB / 0.6983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/7.311, allocations: 302.2 kB / 3.139 GB, free: 144 MB / 0.6983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/7.313, allocations: 1.047 MB / 3.14 GB, free: 143.7 MB / 0.6983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006811/7.314, allocations: 1.007 MB / 3.141 GB, free: 142.9 MB / 0.6983 GB Notification: Performance of SimCode: time 4.11e-07/7.314, allocations: 0 / 3.141 GB, free: 142.9 MB / 0.6983 GB Notification: Performance of Templates: time 0.03754/7.351, allocations: 19.88 MB / 3.161 GB, free: 142.6 MB / 0.6983 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)