Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.265/1.265, allocations: 249.4 MB / 256.7 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 185.2 kB / 316 MB, free: 3.613 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.194/1.194, allocations: 205.1 MB / 0.5667 GB, free: 15.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00079/0.0007898, allocations: 75.42 kB / 0.671 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3683/0.3692, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.5468, allocations: 106.3 MB / 0.8847 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.198/4.744, allocations: 2.252 GB / 3.136 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/4.745, allocations: 101.6 kB / 3.137 GB, free: 150.6 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 1.781/6.526, allocations: 0.6125 GB / 3.749 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/6.526, allocations: 9.188 kB / 3.749 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002194/6.528, allocations: 339.4 kB / 3.749 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003097/6.531, allocations: 1.216 MB / 3.751 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.438e-05/6.531, allocations: 31.91 kB / 3.751 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002304/6.532, allocations: 63.75 kB / 3.751 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001866/6.534, allocations: 0.8785 MB / 3.752 GB, free: 167 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/6.535, allocations: 1.02 MB / 3.753 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/6.535, allocations: 1 kB / 3.753 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.31e-05/6.535, allocations: 4.031 kB / 3.753 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.136e-05/6.535, allocations: 36.06 kB / 3.753 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004967/6.54, allocations: 4.509 MB / 3.757 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/6.542, allocations: 0.6586 MB / 3.758 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005775/6.542, allocations: 376.6 kB / 3.758 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006653/6.543, allocations: 397.9 kB / 3.758 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/6.543, allocations: 46.66 kB / 3.758 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=71): time 4.078e-06/6.543, allocations: 0 / 3.758 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=71): time 0.002096/6.545, allocations: 0.8188 MB / 3.759 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/6.545, allocations: 114.2 kB / 3.759 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009735/6.546, allocations: 0.5549 MB / 3.76 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.057e-05/6.546, allocations: 27.08 kB / 3.76 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003032/6.547, allocations: 414.2 kB / 3.76 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002591/6.547, allocations: 246.6 kB / 3.76 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/6.547, allocations: 0 / 3.76 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.311e-05/6.547, allocations: 336.6 kB / 3.761 GB, free: 161 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003861/6.547, allocations: 261.1 kB / 3.761 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004944/6.548, allocations: 484.4 kB / 3.762 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008131/6.549, allocations: 454 kB / 3.762 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/6.549, allocations: 1.406 kB / 3.762 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00164/6.55, allocations: 0.9089 MB / 3.763 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002637/6.551, allocations: 1.572 MB / 3.764 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/6.551, allocations: 3.094 kB / 3.764 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/6.551, allocations: 9.406 kB / 3.764 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009083/6.552, allocations: 193 kB / 3.765 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003015/6.552, allocations: 0.6072 MB / 3.765 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/6.553, allocations: 112 kB / 3.765 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.852e-05/6.553, allocations: 33.44 kB / 3.765 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.153e-06/6.553, allocations: 3.562 kB / 3.765 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001474/6.555, allocations: 0.7812 MB / 3.766 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/6.555, allocations: 7.594 kB / 3.766 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/6.555, allocations: 13.05 kB / 3.766 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006668/6.555, allocations: 179.7 kB / 3.766 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/6.555, allocations: 11.81 kB / 3.766 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008605/6.556, allocations: 104 kB / 3.766 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.207e-05/6.556, allocations: 34.31 kB / 3.766 GB, free: 157.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (97): * Single equations (assignments): 96 * 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.0002123/6.556, allocations: 128.6 kB / 3.767 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001952/6.557, allocations: 93.47 kB / 3.767 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001784/6.558, allocations: 0.8287 MB / 3.767 GB, free: 157 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/6.558, allocations: 7.562 kB / 3.767 GB, free: 157 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/6.558, allocations: 4.875 kB / 3.767 GB, free: 157 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001207/6.56, allocations: 0.9283 MB / 3.768 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003609/6.563, allocations: 2.03 MB / 3.77 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/6.563, allocations: 6.406 kB / 3.77 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008451/6.564, allocations: 161 kB / 3.77 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/6.564, allocations: 5.562 kB / 3.77 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.373e-05/6.564, allocations: 18.42 kB / 3.771 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001993/6.564, allocations: 0.5995 MB / 3.771 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/6.564, allocations: 3.688 kB / 3.771 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001982/6.566, allocations: 1.439 MB / 3.772 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003234/6.57, allocations: 2.306 MB / 3.775 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006525/6.57, allocations: 253.6 kB / 3.775 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/6.571, allocations: 15.98 kB / 3.775 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007874/6.571, allocations: 75.67 kB / 3.775 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.484e-05/6.571, allocations: 46.25 kB / 3.775 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.864e-05/6.571, allocations: 24.59 kB / 3.775 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007764/6.572, allocations: 436.9 kB / 3.776 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00403/6.576, allocations: 1.149 MB / 3.777 GB, free: 151.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (limPID.I.y,vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],senVolFlo.d,senTraSubPeo.C,senTraSubFre.C) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 70 * 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.002965/6.579, allocations: 2.089 MB / 3.779 GB, free: 151 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002692/6.582, allocations: 1.093 MB / 3.78 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/6.582, allocations: 1.219 kB / 3.78 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005534/6.583, allocations: 345.5 kB / 3.78 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/6.585, allocations: 413 kB / 3.781 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003671/6.589, allocations: 1.828 MB / 3.782 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/6.59, allocations: 1.31 MB / 3.784 GB, free: 149 MB / 0.8698 GB Notification: Performance of SimCode: time 7.42e-07/6.59, allocations: 3.938 kB / 3.784 GB, free: 149 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)