Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.17/2.17, allocations: 253.1 MB / 260.4 MB, free: 7.551 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001694/0.001694, allocations: 177.2 kB / 319.6 MB, free: 3.336 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.4 MB / 0.5704 GB, free: 15.09 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001298/0.001297, allocations: 85.25 kB / 0.6746 GB, free: 4.445 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.638e-06/9.758e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2185, allocations: 106.3 MB / 0.8881 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.667/5.886, allocations: 2.252 GB / 3.14 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004796/5.887, allocations: 87.2 kB / 3.14 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.995/8.882, allocations: 0.611 GB / 3.751 GB, free: 159.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002/8.882, allocations: 37.5 kB / 3.751 GB, free: 159.3 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 0.006221/8.889, allocations: 1.476 MB / 3.752 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/8.889, allocations: 9.219 kB / 3.752 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003715/8.892, allocations: 336.6 kB / 3.753 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00545/8.898, allocations: 1.217 MB / 3.754 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/8.898, allocations: 32.56 kB / 3.754 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004344/8.898, allocations: 62.03 kB / 3.754 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003505/8.902, allocations: 0.8772 MB / 3.755 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003422/8.905, allocations: 1.026 MB / 3.756 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.143e-05/8.906, allocations: 4 kB / 3.756 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001573/8.906, allocations: 0 / 3.756 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.244e-05/8.906, allocations: 38 kB / 3.756 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009338/8.915, allocations: 4.487 MB / 3.76 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/8.917, allocations: 0.6707 MB / 3.761 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008158/8.918, allocations: 360.2 kB / 3.761 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000862/8.919, allocations: 398.1 kB / 3.761 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/8.919, allocations: 50.7 kB / 3.762 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=71): time 4.909e-06/8.919, allocations: 3.844 kB / 3.762 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=71): time 0.003579/8.922, allocations: 0.8191 MB / 3.762 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/8.922, allocations: 115.2 kB / 3.762 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/8.924, allocations: 0.5552 MB / 3.763 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002229/8.924, allocations: 25.7 kB / 3.763 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002546/8.924, allocations: 419.2 kB / 3.763 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003232/8.924, allocations: 244.3 kB / 3.764 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.508e-05/8.925, allocations: 0 / 3.764 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.261e-05/8.925, allocations: 341.9 kB / 3.764 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006784/8.925, allocations: 259.8 kB / 3.764 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008316/8.926, allocations: 486.1 kB / 3.765 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/8.928, allocations: 445.5 kB / 3.765 GB, free: 145.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/8.928, allocations: 7.938 kB / 3.765 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002854/8.931, allocations: 0.9071 MB / 3.766 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003844/8.931, allocations: 1.572 MB / 3.768 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/8.931, allocations: 4 kB / 3.768 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.672e-05/8.931, allocations: 8 kB / 3.768 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001816/8.933, allocations: 183.7 kB / 3.768 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005042/8.933, allocations: 0.6131 MB / 3.768 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002035/8.935, allocations: 110.7 kB / 3.768 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001631/8.936, allocations: 39.98 kB / 3.768 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/8.936, allocations: 4 kB / 3.768 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00245/8.938, allocations: 0.7785 MB / 3.769 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/8.938, allocations: 4 kB / 3.769 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/8.938, allocations: 8 kB / 3.769 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/8.94, allocations: 178.8 kB / 3.769 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/8.94, allocations: 15.89 kB / 3.769 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/8.942, allocations: 103 kB / 3.77 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/8.942, allocations: 28 kB / 3.77 GB, free: 141.2 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.000313/8.942, allocations: 128.6 kB / 3.77 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002955/8.942, allocations: 94.88 kB / 3.77 GB, free: 141 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002732/8.945, allocations: 0.8329 MB / 3.771 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/8.945, allocations: 4 kB / 3.771 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/8.945, allocations: 0 / 3.771 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002095/8.947, allocations: 0.9307 MB / 3.771 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006106/8.953, allocations: 2.031 MB / 3.773 GB, free: 137 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.948e-06/8.954, allocations: 3.938 kB / 3.773 GB, free: 137 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001615/8.955, allocations: 171.5 kB / 3.774 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-05/8.955, allocations: 8 kB / 3.774 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.027e-05/8.955, allocations: 7.906 kB / 3.774 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003278/8.956, allocations: 0.6016 MB / 3.774 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/8.956, allocations: 0 / 3.774 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003316/8.959, allocations: 1.444 MB / 3.776 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009059/8.96, allocations: 259.7 kB / 3.776 GB, free: 134.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002396/8.96, allocations: 8 kB / 3.776 GB, free: 134.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/8.962, allocations: 70.83 kB / 3.776 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/8.962, allocations: 43.73 kB / 3.776 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.622e-05/8.962, allocations: 23.98 kB / 3.776 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0008411/8.963, allocations: 439.1 kB / 3.776 GB, free: 133.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002858/8.966, allocations: 0.6738 MB / 3.777 GB, free: 133.2 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.003522/8.969, allocations: 2.095 MB / 3.779 GB, free: 131.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003372/8.973, allocations: 1.093 MB / 3.78 GB, free: 130.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/8.973, allocations: 0 / 3.78 GB, free: 130.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009224/8.974, allocations: 345.6 kB / 3.781 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004055/8.978, allocations: 412.5 kB / 3.781 GB, free: 129.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005727/8.983, allocations: 1.826 MB / 3.783 GB, free: 127.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001452/8.985, allocations: 1.29 MB / 3.784 GB, free: 126.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.473e-06/8.985, allocations: 3.938 kB / 3.784 GB, free: 126.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.0771/9.062, allocations: 30.04 MB / 3.813 GB, free: 96.97 MB / 0.8698 GB