Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.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.Conversions.Examples.To_VolumeFraction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",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.001299/0.001299, allocations: 188.9 kB / 7.803 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4799/0.4799, allocations: 90.85 MB / 99.08 MB, free: 14.95 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.398/1.398, allocations: 221.4 MB / 342.8 MB, free: 5.203 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.0009644/0.0009644, allocations: 88.39 kB / 415.5 MB, free: 9.824 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1854/0.1864, allocations: 78.46 MB / 494 MB, free: 11.45 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4224/0.6089, allocations: 72.29 MB / 0.553 GB, free: 44.76 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.708/4.317, allocations: 1.931 GB / 2.484 GB, free: 128.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/4.317, allocations: 101.7 kB / 2.484 GB, free: 128.1 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 2.04/6.357, allocations: 0.6397 GB / 3.123 GB, free: 91.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/6.357, allocations: 9.938 kB / 3.123 GB, free: 91.57 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0024/6.36, allocations: 337.9 kB / 3.124 GB, free: 91.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002727/6.363, allocations: 1.209 MB / 3.125 GB, free: 91.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.265e-05/6.363, allocations: 35.98 kB / 3.125 GB, free: 91.22 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/6.363, allocations: 63.09 kB / 3.125 GB, free: 91.22 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00167/6.364, allocations: 0.869 MB / 3.126 GB, free: 91.22 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/6.366, allocations: 1.017 MB / 3.127 GB, free: 91.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.128e-05/6.366, allocations: 6.891 kB / 3.127 GB, free: 91.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.054e-05/6.366, allocations: 3.531 kB / 3.127 GB, free: 91.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-05/6.366, allocations: 39.78 kB / 3.127 GB, free: 91.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00515/6.371, allocations: 4.828 MB / 3.132 GB, free: 88.34 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009512/6.372, allocations: 0.6591 MB / 3.132 GB, free: 88.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00043/6.373, allocations: 362.3 kB / 3.133 GB, free: 88.29 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005336/6.373, allocations: 407.4 kB / 3.133 GB, free: 87.91 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/6.373, allocations: 39.78 kB / 3.133 GB, free: 87.87 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=68): time 3.026e-06/6.373, allocations: 0 / 3.133 GB, free: 87.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=68): time 0.0018/6.375, allocations: 0.7963 MB / 3.134 GB, free: 87.78 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/6.375, allocations: 114.7 kB / 3.134 GB, free: 87.65 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006046/6.376, allocations: 0.5658 MB / 3.134 GB, free: 87.53 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.237e-05/6.376, allocations: 28.52 kB / 3.134 GB, free: 87.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/6.376, allocations: 419.9 kB / 3.135 GB, free: 87.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/6.376, allocations: 231.6 kB / 3.135 GB, free: 87.11 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/6.376, allocations: 6.906 kB / 3.135 GB, free: 87.11 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.106e-05/6.376, allocations: 336.6 kB / 3.135 GB, free: 86.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003454/6.377, allocations: 256.5 kB / 3.136 GB, free: 86.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00046/6.377, allocations: 489.3 kB / 3.136 GB, free: 86.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000738/6.378, allocations: 441.7 kB / 3.137 GB, free: 86.54 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/6.378, allocations: 0 / 3.137 GB, free: 86.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001377/6.379, allocations: 0.8894 MB / 3.137 GB, free: 86.45 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002868/6.38, allocations: 1.747 MB / 3.139 GB, free: 84.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/6.38, allocations: 3.688 kB / 3.139 GB, free: 84.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.016e-05/6.38, allocations: 7.094 kB / 3.139 GB, free: 84.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008656/6.381, allocations: 187.4 kB / 3.139 GB, free: 84.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000326/6.381, allocations: 0.6063 MB / 3.14 GB, free: 84.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/6.382, allocations: 124.8 kB / 3.14 GB, free: 84.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.582e-05/6.382, allocations: 34.67 kB / 3.14 GB, free: 84.01 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.254e-06/6.382, allocations: 3.938 kB / 3.14 GB, free: 84.01 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001333/6.383, allocations: 0.7659 MB / 3.141 GB, free: 84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/6.384, allocations: 5.562 kB / 3.141 GB, free: 84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/6.384, allocations: 7.25 kB / 3.141 GB, free: 84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006754/6.384, allocations: 173.5 kB / 3.141 GB, free: 84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/6.384, allocations: 11.36 kB / 3.141 GB, free: 84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008648/6.385, allocations: 117 kB / 3.141 GB, free: 83.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.05e-05/6.385, allocations: 38.47 kB / 3.141 GB, free: 83.96 MB / 0.6042 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.0001616/6.385, allocations: 123.6 kB / 3.141 GB, free: 83.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/6.385, allocations: 93.44 kB / 3.141 GB, free: 83.81 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/6.387, allocations: 0.807 MB / 3.142 GB, free: 83.74 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/6.387, allocations: 7.531 kB / 3.142 GB, free: 83.74 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/6.387, allocations: 0 / 3.142 GB, free: 83.74 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00108/6.388, allocations: 0.9014 MB / 3.143 GB, free: 83.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002956/6.391, allocations: 1.991 MB / 3.145 GB, free: 82.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/6.391, allocations: 2.5 kB / 3.145 GB, free: 82.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007767/6.392, allocations: 169 kB / 3.145 GB, free: 82.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/6.392, allocations: 3.938 kB / 3.145 GB, free: 82.92 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.201e-05/6.392, allocations: 10.31 kB / 3.145 GB, free: 82.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002258/6.392, allocations: 0.5985 MB / 3.146 GB, free: 82.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/6.392, allocations: 3.656 kB / 3.146 GB, free: 82.34 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001741/6.394, allocations: 1.375 MB / 3.147 GB, free: 81.92 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002454/6.396, allocations: 2.239 MB / 3.149 GB, free: 81.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004179/6.397, allocations: 248.8 kB / 3.149 GB, free: 80.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/6.397, allocations: 3.938 kB / 3.149 GB, free: 80.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007281/6.398, allocations: 70.19 kB / 3.15 GB, free: 80.96 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.717e-05/6.398, allocations: 50.23 kB / 3.15 GB, free: 80.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.346e-05/6.398, allocations: 23.41 kB / 3.15 GB, free: 80.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0004833/6.398, allocations: 441.2 kB / 3.15 GB, free: 80.87 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00357/6.402, allocations: 1.139 MB / 3.151 GB, free: 80.76 MB / 0.6042 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.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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.002101/6.404, allocations: 2.08 MB / 3.153 GB, free: 80.22 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001842/6.406, allocations: 1.075 MB / 3.154 GB, free: 80.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/6.406, allocations: 5.297 kB / 3.154 GB, free: 80.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004417/6.406, allocations: 337.3 kB / 3.155 GB, free: 80.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/6.408, allocations: 412.5 kB / 3.155 GB, free: 80.19 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003006/6.411, allocations: 1.775 MB / 3.157 GB, free: 79.71 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008574/6.412, allocations: 1.297 MB / 3.158 GB, free: 79 MB / 0.6042 GB Notification: Performance of SimCode: time 4.41e-07/6.412, allocations: 0 / 3.158 GB, free: 79 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)