Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.141/2.141, allocations: 387.2 MB / 394.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 181.3 kB / 487 MB, free: 5.355 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 221.3 MB / 0.7819 GB, free: 1.355 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 100.6 kB / 0.9213 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5807/0.5818, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.8241, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.45/5.274, allocations: 1.977 GB / 3.183 GB, free: 346.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/5.275, allocations: 99.94 kB / 3.183 GB, free: 346.5 MB / 1.151 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.919/7.194, allocations: 0.6398 GB / 3.822 GB, free: 133.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/7.194, allocations: 8 kB / 3.822 GB, free: 133.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00249/7.196, allocations: 341.9 kB / 3.823 GB, free: 133.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003534/7.2, allocations: 1.203 MB / 3.824 GB, free: 132 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.419e-05/7.2, allocations: 35.91 kB / 3.824 GB, free: 131.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000316/7.2, allocations: 64 kB / 3.824 GB, free: 131.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001929/7.202, allocations: 0.8669 MB / 3.825 GB, free: 131 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001958/7.204, allocations: 1.02 MB / 3.826 GB, free: 129.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.332e-05/7.204, allocations: 4 kB / 3.826 GB, free: 129.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/7.204, allocations: 0 / 3.826 GB, free: 129.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.267e-05/7.204, allocations: 34 kB / 3.826 GB, free: 129.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005755/7.21, allocations: 4.832 MB / 3.831 GB, free: 124.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000909/7.211, allocations: 0.6535 MB / 3.831 GB, free: 124 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004057/7.211, allocations: 359.2 kB / 3.832 GB, free: 123.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005687/7.212, allocations: 401 kB / 3.832 GB, free: 123.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/7.212, allocations: 51.2 kB / 3.832 GB, free: 123.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=68): time 2.444e-06/7.212, allocations: 0 / 3.832 GB, free: 123.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=68): time 0.001807/7.214, allocations: 0.7838 MB / 3.833 GB, free: 122.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/7.214, allocations: 111.5 kB / 3.833 GB, free: 122.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006063/7.214, allocations: 0.5708 MB / 3.833 GB, free: 121.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.212e-05/7.215, allocations: 25.7 kB / 3.833 GB, free: 121.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/7.215, allocations: 423 kB / 3.834 GB, free: 121.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/7.215, allocations: 228.5 kB / 3.834 GB, free: 121 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/7.215, allocations: 0 / 3.834 GB, free: 121 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.257e-05/7.215, allocations: 337.9 kB / 3.834 GB, free: 120.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003301/7.215, allocations: 261.4 kB / 3.835 GB, free: 120.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000437/7.216, allocations: 489.4 kB / 3.835 GB, free: 119.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006907/7.216, allocations: 435.3 kB / 3.836 GB, free: 119.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/7.216, allocations: 4 kB / 3.836 GB, free: 119.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001269/7.218, allocations: 0.8853 MB / 3.836 GB, free: 118.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003114/7.218, allocations: 1.751 MB / 3.838 GB, free: 116.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/7.218, allocations: 4 kB / 3.838 GB, free: 116.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/7.218, allocations: 8 kB / 3.838 GB, free: 116.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008848/7.219, allocations: 183.7 kB / 3.838 GB, free: 116.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003026/7.219, allocations: 0.6055 MB / 3.839 GB, free: 115.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009518/7.22, allocations: 127.3 kB / 3.839 GB, free: 115.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.942e-05/7.22, allocations: 36 kB / 3.839 GB, free: 115.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.203e-06/7.22, allocations: 6.5 kB / 3.839 GB, free: 115.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001161/7.222, allocations: 0.7633 MB / 3.84 GB, free: 114.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/7.222, allocations: 4 kB / 3.84 GB, free: 114.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/7.222, allocations: 12.53 kB / 3.84 GB, free: 114.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006255/7.222, allocations: 171.7 kB / 3.84 GB, free: 114.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/7.222, allocations: 11.98 kB / 3.84 GB, free: 114.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008461/7.223, allocations: 115.3 kB / 3.84 GB, free: 114.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.749e-05/7.223, allocations: 39.98 kB / 3.84 GB, free: 114.5 MB / 1.151 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.000159/7.223, allocations: 116.8 kB / 3.84 GB, free: 114.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/7.223, allocations: 94.88 kB / 3.84 GB, free: 114.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/7.225, allocations: 0.8055 MB / 3.841 GB, free: 113.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/7.225, allocations: 7.938 kB / 3.841 GB, free: 113.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/7.225, allocations: 0 / 3.841 GB, free: 113.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001018/7.226, allocations: 0.9031 MB / 3.842 GB, free: 112.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003273/7.229, allocations: 2.006 MB / 3.844 GB, free: 110.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/7.229, allocations: 288 / 3.844 GB, free: 110.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007666/7.23, allocations: 159.8 kB / 3.844 GB, free: 110.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-06/7.23, allocations: 8 kB / 3.844 GB, free: 110.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.774e-05/7.23, allocations: 15.98 kB / 3.844 GB, free: 110.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002032/7.23, allocations: 0.5899 MB / 3.845 GB, free: 109.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/7.23, allocations: 12.08 kB / 3.845 GB, free: 109.6 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001561/7.232, allocations: 1.375 MB / 3.846 GB, free: 108.1 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002299/7.234, allocations: 2.235 MB / 3.848 GB, free: 105.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004633/7.235, allocations: 247.8 kB / 3.849 GB, free: 105.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/7.235, allocations: 16 kB / 3.849 GB, free: 105.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006857/7.235, allocations: 63.78 kB / 3.849 GB, free: 105.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.579e-05/7.236, allocations: 44.34 kB / 3.849 GB, free: 105.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.601e-05/7.236, allocations: 31.92 kB / 3.849 GB, free: 105.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004685/7.236, allocations: 435.1 kB / 3.849 GB, free: 105 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003678/7.24, allocations: 1.135 MB / 3.85 GB, free: 103.8 MB / 1.151 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.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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.002388/7.242, allocations: 2.088 MB / 3.852 GB, free: 101.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001943/7.244, allocations: 1.087 MB / 3.853 GB, free: 100.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/7.244, allocations: 2.312 kB / 3.853 GB, free: 100.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004436/7.245, allocations: 337.7 kB / 3.854 GB, free: 100.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/7.247, allocations: 406.4 kB / 3.854 GB, free: 99.84 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003129/7.25, allocations: 1.779 MB / 3.856 GB, free: 98 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008325/7.251, allocations: 1.3 MB / 3.857 GB, free: 96.67 MB / 1.151 GB Notification: Performance of SimCode: time 9.41e-07/7.251, allocations: 0 / 3.857 GB, free: 96.67 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)