Running: ./testmodel.py --libraries=/home/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 (/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.38/2.38, allocations: 248.6 MB / 255.9 MB, free: 7.145 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.0024/0.0024, allocations: 188.2 kB / 315.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.084/2.084, allocations: 205.1 MB / 0.5658 GB, free: 388 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001806/0.001806, allocations: 83.39 kB / 0.67 GB, free: 5.605 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.488/0.4899, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.7071, allocations: 106.3 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.074/6.782, allocations: 2.252 GB / 3.135 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004384/6.782, allocations: 96.12 kB / 3.135 GB, free: 117.5 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 3.175/9.958, allocations: 0.6125 GB / 3.748 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 9.559e-05/9.958, allocations: 9.531 kB / 3.748 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005124/9.963, allocations: 333.3 kB / 3.748 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00512/9.968, allocations: 1.212 MB / 3.749 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.819e-05/9.968, allocations: 32.38 kB / 3.749 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002539/9.968, allocations: 66.36 kB / 3.749 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002994/9.971, allocations: 0.8839 MB / 3.75 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002869/9.974, allocations: 1.017 MB / 3.751 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.118e-05/9.974, allocations: 4.906 kB / 3.751 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/9.974, allocations: 0.9375 kB / 3.751 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.107e-05/9.975, allocations: 39.45 kB / 3.751 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009037/9.984, allocations: 4.491 MB / 3.756 GB, free: 158.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/9.986, allocations: 0.6612 MB / 3.756 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009119/9.987, allocations: 362.8 kB / 3.757 GB, free: 158 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008846/9.987, allocations: 405.3 kB / 3.757 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/9.987, allocations: 43.22 kB / 3.757 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=71): time 4.118e-06/9.987, allocations: 0 / 3.757 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=71): time 0.003531/9.991, allocations: 0.8242 MB / 3.758 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/9.991, allocations: 114.8 kB / 3.758 GB, free: 157 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/9.992, allocations: 0.5559 MB / 3.758 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000123/9.993, allocations: 26.89 kB / 3.758 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003175/9.993, allocations: 414.6 kB / 3.759 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000311/9.993, allocations: 247.4 kB / 3.759 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.367e-05/9.993, allocations: 0 / 3.759 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001028/9.993, allocations: 338.1 kB / 3.759 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007612/9.994, allocations: 260.5 kB / 3.76 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009646/9.995, allocations: 487.1 kB / 3.76 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/9.997, allocations: 448.7 kB / 3.761 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/9.997, allocations: 1.031 kB / 3.761 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002843/10, allocations: 0.9077 MB / 3.761 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003623/10, allocations: 1.577 MB / 3.763 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/10, allocations: 4 kB / 3.763 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.303e-05/10, allocations: 8 kB / 3.763 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001743/10, allocations: 183.7 kB / 3.763 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004618/10, allocations: 0.6121 MB / 3.764 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001817/10, allocations: 110.1 kB / 3.764 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/10, allocations: 39.98 kB / 3.764 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/10, allocations: 5.25 kB / 3.764 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002291/10.01, allocations: 0.7774 MB / 3.765 GB, free: 151 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/10.01, allocations: 4 kB / 3.765 GB, free: 151 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/10.01, allocations: 15.92 kB / 3.765 GB, free: 151 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/10.01, allocations: 175.7 kB / 3.765 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/10.01, allocations: 14.97 kB / 3.765 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001786/10.01, allocations: 102.5 kB / 3.765 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/10.01, allocations: 36 kB / 3.765 GB, free: 150.7 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.0003194/10.01, allocations: 124.5 kB / 3.765 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002871/10.01, allocations: 98.81 kB / 3.765 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002708/10.01, allocations: 0.825 MB / 3.766 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/10.01, allocations: 8 kB / 3.766 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/10.01, allocations: 0 / 3.766 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001946/10.02, allocations: 0.9307 MB / 3.767 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005597/10.02, allocations: 2.04 MB / 3.769 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/10.02, allocations: 0 / 3.769 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001543/10.02, allocations: 167.7 kB / 3.769 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.478e-05/10.02, allocations: 4 kB / 3.769 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.445e-05/10.02, allocations: 12 kB / 3.769 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002951/10.02, allocations: 0.6042 MB / 3.77 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/10.02, allocations: 0 / 3.77 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003133/10.03, allocations: 1.441 MB / 3.771 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004308/10.03, allocations: 2.313 MB / 3.773 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007539/10.03, allocations: 255.8 kB / 3.774 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002126/10.03, allocations: 7.906 kB / 3.774 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/10.03, allocations: 67.16 kB / 3.774 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/10.03, allocations: 44.34 kB / 3.774 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.666e-05/10.03, allocations: 31.98 kB / 3.774 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007756/10.03, allocations: 435 kB / 3.774 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005414/10.04, allocations: 1.154 MB / 3.775 GB, free: 139.8 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.003263/10.04, allocations: 2.086 MB / 3.777 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003318/10.05, allocations: 1.09 MB / 3.778 GB, free: 137 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/10.05, allocations: 4 kB / 3.778 GB, free: 137 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008579/10.05, allocations: 344.8 kB / 3.779 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003833/10.05, allocations: 413.2 kB / 3.779 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005281/10.06, allocations: 1.84 MB / 3.781 GB, free: 134.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001406/10.06, allocations: 1.306 MB / 3.782 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.233e-06/10.06, allocations: 0 / 3.782 GB, free: 133.1 MB / 0.8698 GB