Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_8_0_0_Buildings_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/Buildings 8.0.0/package.mo): time 2.427/2.427, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.002262/0.002261, allocations: 181.2 kB / 360.3 MB, free: 7.52 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.927/1.927, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001195/0.001195, allocations: 87.69 kB / 0.7317 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2918/0.293, allocations: 121.4 MB / 0.8502 GB, free: 3.895 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6619/0.9549, allocations: 115.2 MB / 0.9628 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.295/6.25, allocations: 2.133 GB / 3.095 GB, free: 253.7 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003547/6.251, allocations: 96.72 kB / 3.095 GB, free: 253.7 MB / 0.9323 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 3.298/9.549, allocations: 0.6297 GB / 3.725 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/9.549, allocations: 7.531 kB / 3.725 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00346/9.553, allocations: 336 kB / 3.725 GB, free: 171.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004933/9.558, allocations: 1.205 MB / 3.727 GB, free: 171 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.772e-05/9.558, allocations: 33.03 kB / 3.727 GB, free: 171 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002227/9.558, allocations: 69.81 kB / 3.727 GB, free: 171 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002573/9.561, allocations: 0.8575 MB / 3.728 GB, free: 171 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002624/9.563, allocations: 1.018 MB / 3.729 GB, free: 170.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.221e-05/9.563, allocations: 11.56 kB / 3.729 GB, free: 170.9 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/9.564, allocations: 3.906 kB / 3.729 GB, free: 170.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.124e-05/9.564, allocations: 35.78 kB / 3.729 GB, free: 170.9 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008944/9.573, allocations: 4.691 MB / 3.733 GB, free: 168.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/9.574, allocations: 0.6466 MB / 3.734 GB, free: 168.2 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007853/9.575, allocations: 359.3 kB / 3.734 GB, free: 168.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008807/9.576, allocations: 405.8 kB / 3.735 GB, free: 167.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/9.576, allocations: 45.02 kB / 3.735 GB, free: 167.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=68): time 2.996e-06/9.576, allocations: 0 / 3.735 GB, free: 167.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=68): time 0.003663/9.58, allocations: 0.7945 MB / 3.735 GB, free: 167.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/9.58, allocations: 111.2 kB / 3.735 GB, free: 167.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/9.581, allocations: 0.5602 MB / 3.736 GB, free: 167.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002032/9.582, allocations: 25.7 kB / 3.736 GB, free: 167.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003585/9.582, allocations: 414.7 kB / 3.736 GB, free: 167.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003741/9.582, allocations: 232.4 kB / 3.737 GB, free: 167.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.406e-05/9.583, allocations: 6.969 kB / 3.737 GB, free: 167.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001167/9.583, allocations: 336 kB / 3.737 GB, free: 166.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009346/9.584, allocations: 250.6 kB / 3.737 GB, free: 166.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/9.585, allocations: 499.2 kB / 3.738 GB, free: 166.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001854/9.587, allocations: 433.6 kB / 3.738 GB, free: 166.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-06/9.587, allocations: 2.25 kB / 3.738 GB, free: 166.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002679/9.589, allocations: 0.8902 MB / 3.739 GB, free: 166.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004221/9.59, allocations: 1.754 MB / 3.741 GB, free: 164.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/9.59, allocations: 3.938 kB / 3.741 GB, free: 164.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.295e-05/9.59, allocations: 10.41 kB / 3.741 GB, free: 164.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/9.592, allocations: 182.6 kB / 3.741 GB, free: 164.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004935/9.592, allocations: 0.6033 MB / 3.741 GB, free: 164 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/9.594, allocations: 119 kB / 3.742 GB, free: 164 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/9.594, allocations: 38.27 kB / 3.742 GB, free: 164 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/9.594, allocations: 3.219 kB / 3.742 GB, free: 164 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002266/9.597, allocations: 0.763 MB / 3.742 GB, free: 164 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/9.597, allocations: 7.188 kB / 3.742 GB, free: 164 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/9.597, allocations: 7.844 kB / 3.742 GB, free: 164 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/9.598, allocations: 172.3 kB / 3.743 GB, free: 164 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/9.598, allocations: 11.22 kB / 3.743 GB, free: 164 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/9.6, allocations: 109.1 kB / 3.743 GB, free: 164 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-05/9.6, allocations: 33.41 kB / 3.743 GB, free: 164 MB / 0.9323 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.0002916/9.6, allocations: 128 kB / 3.743 GB, free: 163.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002405/9.601, allocations: 96.91 kB / 3.743 GB, free: 163.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002556/9.603, allocations: 0.7964 MB / 3.744 GB, free: 163.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/9.603, allocations: 3.812 kB / 3.744 GB, free: 163.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/9.603, allocations: 3.281 kB / 3.744 GB, free: 163.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001872/9.605, allocations: 0.8987 MB / 3.745 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006493/9.612, allocations: 1.992 MB / 3.746 GB, free: 162.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/9.612, allocations: 0 / 3.746 GB, free: 162.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001581/9.613, allocations: 163.5 kB / 3.747 GB, free: 162.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.311e-05/9.613, allocations: 6.719 kB / 3.747 GB, free: 162.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/9.613, allocations: 10.61 kB / 3.747 GB, free: 162.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003719/9.614, allocations: 0.5992 MB / 3.747 GB, free: 162.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/9.614, allocations: 3.219 kB / 3.747 GB, free: 162.4 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003305/9.617, allocations: 1.412 MB / 3.749 GB, free: 161.9 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004637/9.622, allocations: 2.27 MB / 3.751 GB, free: 161.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009009/9.623, allocations: 247.5 kB / 3.751 GB, free: 161 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002374/9.623, allocations: 10.95 kB / 3.751 GB, free: 161 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/9.625, allocations: 65.78 kB / 3.751 GB, free: 161 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/9.625, allocations: 38.61 kB / 3.751 GB, free: 161 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.573e-05/9.625, allocations: 30.83 kB / 3.751 GB, free: 161 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0008537/9.626, allocations: 441.5 kB / 3.752 GB, free: 160.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.006498/9.632, allocations: 1.145 MB / 3.753 GB, free: 160.8 MB / 0.9323 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.003554/9.636, allocations: 2.082 MB / 3.755 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00328/9.639, allocations: 1.079 MB / 3.756 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/9.639, allocations: 0 / 3.756 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009124/9.64, allocations: 331.8 kB / 3.756 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004919/9.645, allocations: 420.1 kB / 3.757 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005708/9.651, allocations: 1.767 MB / 3.758 GB, free: 159.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001505/9.652, allocations: 1.297 MB / 3.76 GB, free: 159.1 MB / 0.9323 GB Notification: Performance of SimCode: time 1.503e-06/9.652, allocations: 0 / 3.76 GB, free: 159.1 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)