Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.672/1.672, allocations: 289.8 MB / 297.1 MB, free: 6.605 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.001837/0.001837, allocations: 173.3 kB / 366.3 MB, free: 1.949 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.556/1.556, allocations: 205.1 MB / 0.6256 GB, free: 5.797 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.000939/0.0009389, allocations: 89.12 kB / 0.7395 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2951/0.2961, allocations: 122.4 MB / 0.8591 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7247/1.021, allocations: 116.3 MB / 0.9727 GB, free: 68.11 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.626/5.646, allocations: 2.134 GB / 3.106 GB, free: 325.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/5.647, allocations: 95.88 kB / 3.106 GB, free: 325.2 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 1.813/7.46, allocations: 0.6297 GB / 3.736 GB, free: 39.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/7.46, allocations: 8 kB / 3.736 GB, free: 39.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002606/7.463, allocations: 337.9 kB / 3.736 GB, free: 39.46 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003959/7.467, allocations: 1.199 MB / 3.738 GB, free: 38.22 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.258e-05/7.467, allocations: 36 kB / 3.738 GB, free: 38.19 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004171/7.467, allocations: 71.91 kB / 3.738 GB, free: 38.12 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002144/7.469, allocations: 0.8591 MB / 3.739 GB, free: 37.26 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002147/7.471, allocations: 1.02 MB / 3.74 GB, free: 36.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.646e-05/7.471, allocations: 4 kB / 3.74 GB, free: 36.19 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/7.472, allocations: 0 / 3.74 GB, free: 36.19 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-05/7.472, allocations: 34 kB / 3.74 GB, free: 36.16 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006302/7.478, allocations: 4.717 MB / 3.744 GB, free: 31.08 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009236/7.479, allocations: 0.6371 MB / 3.745 GB, free: 30.43 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004107/7.479, allocations: 355.3 kB / 3.745 GB, free: 30.08 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000585/7.48, allocations: 409.1 kB / 3.746 GB, free: 29.61 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/7.48, allocations: 39.22 kB / 3.746 GB, free: 29.55 MB / 0.948 GB Notification: Performance of pre-optimization done (n=68): time 2.354e-06/7.48, allocations: 0 / 3.746 GB, free: 29.55 MB / 0.948 GB Notification: Performance of matching and sorting (n=68): time 0.0019/7.482, allocations: 0.7954 MB / 3.746 GB, free: 28.75 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/7.482, allocations: 111.5 kB / 3.746 GB, free: 28.62 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006141/7.482, allocations: 0.5629 MB / 3.747 GB, free: 28.05 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.425e-05/7.483, allocations: 29.7 kB / 3.747 GB, free: 28.02 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/7.483, allocations: 415.2 kB / 3.747 GB, free: 27.61 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000167/7.483, allocations: 228.5 kB / 3.748 GB, free: 27.38 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/7.483, allocations: 0 / 3.748 GB, free: 27.38 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.902e-05/7.483, allocations: 345.8 kB / 3.748 GB, free: 27.04 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000331/7.483, allocations: 257.5 kB / 3.748 GB, free: 26.78 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004383/7.484, allocations: 0.4887 MB / 3.749 GB, free: 26.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006999/7.485, allocations: 426.8 kB / 3.749 GB, free: 25.78 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/7.485, allocations: 3.938 kB / 3.749 GB, free: 25.78 MB / 0.948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001352/7.486, allocations: 0.8889 MB / 3.75 GB, free: 24.88 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003476/7.486, allocations: 1.747 MB / 3.752 GB, free: 23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/7.486, allocations: 4 kB / 3.752 GB, free: 23 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/7.486, allocations: 16 kB / 3.752 GB, free: 22.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009016/7.487, allocations: 183.7 kB / 3.752 GB, free: 22.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003335/7.488, allocations: 0.6093 MB / 3.752 GB, free: 22.17 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/7.489, allocations: 111.4 kB / 3.753 GB, free: 22.06 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-05/7.489, allocations: 35.91 kB / 3.753 GB, free: 22.02 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.105e-06/7.489, allocations: 4 kB / 3.753 GB, free: 22.02 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0012/7.49, allocations: 0.76 MB / 3.753 GB, free: 21.26 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/7.49, allocations: 11.98 kB / 3.753 GB, free: 21.25 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/7.49, allocations: 12.03 kB / 3.753 GB, free: 21.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006568/7.491, allocations: 171.7 kB / 3.754 GB, free: 21.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/7.491, allocations: 11.98 kB / 3.754 GB, free: 21.05 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008838/7.492, allocations: 103.4 kB / 3.754 GB, free: 20.95 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.256e-05/7.492, allocations: 31.98 kB / 3.754 GB, free: 20.92 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.0001842/7.492, allocations: 128.7 kB / 3.754 GB, free: 20.79 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/7.492, allocations: 90.88 kB / 3.754 GB, free: 20.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/7.493, allocations: 0.8016 MB / 3.755 GB, free: 19.89 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/7.493, allocations: 7.906 kB / 3.755 GB, free: 19.88 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/7.493, allocations: 0 / 3.755 GB, free: 19.88 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00107/7.495, allocations: 0.907 MB / 3.756 GB, free: 18.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003448/7.498, allocations: 1.99 MB / 3.758 GB, free: 16.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/7.498, allocations: 0 / 3.758 GB, free: 16.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000817/7.499, allocations: 168.1 kB / 3.758 GB, free: 16.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.337e-05/7.499, allocations: 4 kB / 3.758 GB, free: 16.65 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.553e-05/7.499, allocations: 11.98 kB / 3.758 GB, free: 16.64 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000218/7.499, allocations: 0.5938 MB / 3.758 GB, free: 16.02 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/7.499, allocations: 12 kB / 3.758 GB, free: 16.01 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001702/7.501, allocations: 1.41 MB / 3.76 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002495/7.503, allocations: 2.274 MB / 3.762 GB, free: 12.13 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005267/7.504, allocations: 243.8 kB / 3.762 GB, free: 11.88 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001982/7.504, allocations: 8 kB / 3.762 GB, free: 11.87 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008625/7.505, allocations: 63.94 kB / 3.762 GB, free: 11.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.456e-05/7.505, allocations: 40.34 kB / 3.762 GB, free: 11.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-05/7.505, allocations: 32 kB / 3.762 GB, free: 11.73 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006277/7.506, allocations: 431.1 kB / 3.763 GB, free: 11.32 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004733/7.511, allocations: 1.15 MB / 3.764 GB, free: 10.17 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.003018/7.514, allocations: 2.083 MB / 3.766 GB, free: 7.996 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002156/7.516, allocations: 1.076 MB / 3.767 GB, free: 6.918 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/7.516, allocations: 0 / 3.767 GB, free: 6.918 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005344/7.516, allocations: 339.8 kB / 3.767 GB, free: 6.582 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002407/7.519, allocations: 407 kB / 3.768 GB, free: 6.188 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004095/7.523, allocations: 1.759 MB / 3.769 GB, free: 4.371 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001101/7.524, allocations: 1.3 MB / 3.771 GB, free: 3.047 MB / 0.948 GB Notification: Performance of SimCode: time 1.072e-06/7.524, allocations: 0 / 3.771 GB, free: 3.047 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)