Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") translateModel(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") [: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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.537/1.537, allocations: 285.5 MB / 292.8 MB, free: 10.41 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001285/0.001285, allocations: 169.3 kB / 361.1 MB, free: 7.109 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.1 MB / 0.6195 GB, free: 10.3 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009662/0.0009663, allocations: 97.48 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.077e-05/1.115e-05, allocations: 0 / 0.8511 GB, free: 2.988 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8013/0.8013, allocations: 115.3 MB / 0.9637 GB, free: 78.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.213/5.014, allocations: 2.133 GB / 3.096 GB, free: 5.969 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/5.014, allocations: 93.58 kB / 3.096 GB, free: 5.879 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.214/7.228, allocations: 0.6283 GB / 3.725 GB, free: 119.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001548/7.229, allocations: 39.98 kB / 3.725 GB, free: 119.6 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.004022/7.233, allocations: 1.464 MB / 3.726 GB, free: 118.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/7.233, allocations: 8.531 kB / 3.726 GB, free: 118.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002418/7.235, allocations: 345.9 kB / 3.727 GB, free: 117.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00329/7.238, allocations: 1.207 MB / 3.728 GB, free: 116.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.072e-05/7.239, allocations: 36 kB / 3.728 GB, free: 116.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002949/7.239, allocations: 60 kB / 3.728 GB, free: 116.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001736/7.241, allocations: 0.8669 MB / 3.729 GB, free: 115.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/7.242, allocations: 1.024 MB / 3.73 GB, free: 114.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.441e-05/7.243, allocations: 3.938 kB / 3.73 GB, free: 114.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.95e-05/7.243, allocations: 4 kB / 3.73 GB, free: 114.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.77e-05/7.243, allocations: 34 kB / 3.73 GB, free: 114.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005639/7.248, allocations: 4.705 MB / 3.734 GB, free: 109.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009447/7.249, allocations: 0.6566 MB / 3.735 GB, free: 108.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004275/7.25, allocations: 359.3 kB / 3.735 GB, free: 108.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005763/7.25, allocations: 412.9 kB / 3.736 GB, free: 107.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/7.25, allocations: 43.22 kB / 3.736 GB, free: 107.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=68): time 2.775e-06/7.25, allocations: 0 / 3.736 GB, free: 107.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=68): time 0.002017/7.252, allocations: 0.7877 MB / 3.736 GB, free: 107.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/7.252, allocations: 111.4 kB / 3.737 GB, free: 106.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000764/7.253, allocations: 0.5592 MB / 3.737 GB, free: 106.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.8e-05/7.253, allocations: 25.7 kB / 3.737 GB, free: 106.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/7.254, allocations: 419.1 kB / 3.738 GB, free: 105.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/7.254, allocations: 236.5 kB / 3.738 GB, free: 105.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/7.254, allocations: 0 / 3.738 GB, free: 105.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.059e-05/7.254, allocations: 337.9 kB / 3.738 GB, free: 105.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003422/7.254, allocations: 257.5 kB / 3.738 GB, free: 105.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004536/7.255, allocations: 490.2 kB / 3.739 GB, free: 104.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007371/7.255, allocations: 438.8 kB / 3.739 GB, free: 104.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/7.255, allocations: 4 kB / 3.739 GB, free: 104.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001479/7.257, allocations: 0.885 MB / 3.74 GB, free: 103.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003192/7.257, allocations: 1.748 MB / 3.742 GB, free: 101.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/7.257, allocations: 4 kB / 3.742 GB, free: 101.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/7.257, allocations: 15.91 kB / 3.742 GB, free: 101.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009052/7.258, allocations: 183.7 kB / 3.742 GB, free: 101.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003366/7.259, allocations: 0.6016 MB / 3.743 GB, free: 100.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/7.26, allocations: 119.3 kB / 3.743 GB, free: 100.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.537e-05/7.26, allocations: 32 kB / 3.743 GB, free: 100.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/7.26, allocations: 4 kB / 3.743 GB, free: 100.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001254/7.261, allocations: 0.7678 MB / 3.743 GB, free: 99.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/7.261, allocations: 4 kB / 3.743 GB, free: 99.56 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/7.261, allocations: 12.03 kB / 3.743 GB, free: 99.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006575/7.262, allocations: 171.7 kB / 3.744 GB, free: 99.38 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/7.262, allocations: 11.94 kB / 3.744 GB, free: 99.37 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/7.263, allocations: 103.4 kB / 3.744 GB, free: 99.27 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.331e-05/7.263, allocations: 36 kB / 3.744 GB, free: 99.23 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 1 (limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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.0001934/7.263, allocations: 120.7 kB / 3.744 GB, free: 99.11 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/7.263, allocations: 98.88 kB / 3.744 GB, free: 99.01 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/7.265, allocations: 0.8015 MB / 3.745 GB, free: 98.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/7.265, allocations: 8 kB / 3.745 GB, free: 98.19 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/7.265, allocations: 0 / 3.745 GB, free: 98.19 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001045/7.266, allocations: 0.8992 MB / 3.746 GB, free: 97.22 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003442/7.269, allocations: 1.99 MB / 3.748 GB, free: 95.14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/7.269, allocations: 4 kB / 3.748 GB, free: 95.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008005/7.27, allocations: 156.1 kB / 3.748 GB, free: 94.98 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.595e-05/7.27, allocations: 4 kB / 3.748 GB, free: 94.98 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.534e-05/7.27, allocations: 19.92 kB / 3.748 GB, free: 94.96 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002165/7.27, allocations: 0.5976 MB / 3.748 GB, free: 94.34 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.83e-06/7.27, allocations: 8.094 kB / 3.748 GB, free: 94.33 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001701/7.272, allocations: 1.41 MB / 3.75 GB, free: 92.82 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005078/7.273, allocations: 247.7 kB / 3.75 GB, free: 92.56 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/7.273, allocations: 7.906 kB / 3.75 GB, free: 92.55 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008215/7.274, allocations: 67.94 kB / 3.75 GB, free: 92.48 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.879e-05/7.274, allocations: 40.34 kB / 3.75 GB, free: 92.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.928e-05/7.274, allocations: 31.92 kB / 3.75 GB, free: 92.41 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0005409/7.274, allocations: 435.1 kB / 3.751 GB, free: 91.99 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00214/7.277, allocations: 0.67 MB / 3.751 GB, free: 91.32 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (limPID.I.y,vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],senTraSubPeo.C,senTraSubFre.C) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 67 * 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.002786/7.279, allocations: 2.087 MB / 3.753 GB, free: 89.15 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001959/7.281, allocations: 1.076 MB / 3.754 GB, free: 88.07 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/7.281, allocations: 4.938 kB / 3.754 GB, free: 88.07 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000484/7.282, allocations: 337.8 kB / 3.755 GB, free: 87.73 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/7.284, allocations: 415 kB / 3.755 GB, free: 87.34 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003737/7.288, allocations: 1.748 MB / 3.757 GB, free: 85.53 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001022/7.289, allocations: 1.288 MB / 3.758 GB, free: 84.22 MB / 0.948 GB Notification: Performance of SimCode: time 6.71e-07/7.289, allocations: 4 kB / 3.758 GB, free: 84.21 MB / 0.948 GB Notification: Performance of Templates: time 0.04239/7.331, allocations: 29.76 MB / 3.787 GB, free: 54.62 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)