Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.041/2.041, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.001233/0.001233, allocations: 185.3 kB / 490.8 MB, free: 1.938 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.394/1.394, allocations: 221.3 MB / 0.7863 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009715/0.0009714, allocations: 91.11 kB / 0.9264 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.6343/0.6353, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.9017, allocations: 143 MB / 1.212 GB, free: 40.01 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.388/5.289, allocations: 1.978 GB / 3.19 GB, free: 355.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003333/5.29, allocations: 91.89 kB / 3.19 GB, free: 355.2 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.894/7.184, allocations: 0.6398 GB / 3.83 GB, free: 138.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/7.184, allocations: 8 kB / 3.83 GB, free: 138.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001777/7.185, allocations: 345.9 kB / 3.83 GB, free: 138.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002471/7.188, allocations: 1.215 MB / 3.831 GB, free: 137.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/7.188, allocations: 32 kB / 3.831 GB, free: 137.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/7.188, allocations: 67.91 kB / 3.831 GB, free: 137.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001326/7.189, allocations: 0.8591 MB / 3.832 GB, free: 136.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/7.191, allocations: 1.024 MB / 3.833 GB, free: 135.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/7.191, allocations: 3.938 kB / 3.833 GB, free: 135.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.966e-05/7.191, allocations: 0 / 3.833 GB, free: 135.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.666e-05/7.191, allocations: 38 kB / 3.833 GB, free: 135.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004524/7.196, allocations: 4.835 MB / 3.838 GB, free: 129.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008629/7.196, allocations: 0.6423 MB / 3.838 GB, free: 129.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004142/7.197, allocations: 359.2 kB / 3.839 GB, free: 128.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005903/7.197, allocations: 409.1 kB / 3.839 GB, free: 128.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/7.197, allocations: 39.22 kB / 3.839 GB, free: 128.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=68): time 3.356e-06/7.197, allocations: 0 / 3.839 GB, free: 128.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=68): time 0.001747/7.199, allocations: 0.7955 MB / 3.84 GB, free: 127.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/7.199, allocations: 111.5 kB / 3.84 GB, free: 127.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005926/7.2, allocations: 0.563 MB / 3.841 GB, free: 126.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.119e-05/7.2, allocations: 25.7 kB / 3.841 GB, free: 126.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/7.2, allocations: 419.2 kB / 3.841 GB, free: 126.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/7.2, allocations: 236.4 kB / 3.841 GB, free: 126.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/7.2, allocations: 0 / 3.841 GB, free: 126.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.721e-05/7.2, allocations: 334 kB / 3.842 GB, free: 125.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003415/7.201, allocations: 261.5 kB / 3.842 GB, free: 125.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004397/7.201, allocations: 486.7 kB / 3.842 GB, free: 125.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007049/7.202, allocations: 434.8 kB / 3.843 GB, free: 124.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/7.202, allocations: 4 kB / 3.843 GB, free: 124.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001331/7.203, allocations: 0.8889 MB / 3.844 GB, free: 123.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003427/7.204, allocations: 1.747 MB / 3.845 GB, free: 121.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/7.204, allocations: 4 kB / 3.845 GB, free: 121.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/7.204, allocations: 12 kB / 3.845 GB, free: 121.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008685/7.205, allocations: 179.8 kB / 3.845 GB, free: 121.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003286/7.205, allocations: 0.6093 MB / 3.846 GB, free: 121 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009916/7.206, allocations: 119.3 kB / 3.846 GB, free: 120.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.966e-05/7.206, allocations: 47.86 kB / 3.846 GB, free: 120.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.925e-06/7.206, allocations: 8 kB / 3.846 GB, free: 120.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00123/7.207, allocations: 0.7677 MB / 3.847 GB, free: 120.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/7.207, allocations: 4 kB / 3.847 GB, free: 120.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/7.207, allocations: 8 kB / 3.847 GB, free: 120.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006298/7.208, allocations: 171.7 kB / 3.847 GB, free: 119.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/7.208, allocations: 8 kB / 3.847 GB, free: 119.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008501/7.209, allocations: 115.4 kB / 3.847 GB, free: 119.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-05/7.209, allocations: 32 kB / 3.847 GB, free: 119.8 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.0001777/7.209, allocations: 124.7 kB / 3.847 GB, free: 119.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/7.209, allocations: 94.88 kB / 3.847 GB, free: 119.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/7.211, allocations: 0.8055 MB / 3.848 GB, free: 118.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/7.211, allocations: 8 kB / 3.848 GB, free: 118.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/7.211, allocations: 0 / 3.848 GB, free: 118.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001045/7.212, allocations: 0.9031 MB / 3.849 GB, free: 117.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003078/7.215, allocations: 2.002 MB / 3.851 GB, free: 115.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/7.215, allocations: 0 / 3.851 GB, free: 115.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007851/7.216, allocations: 159.9 kB / 3.851 GB, free: 115.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-06/7.216, allocations: 4 kB / 3.851 GB, free: 115.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-05/7.216, allocations: 12 kB / 3.851 GB, free: 115.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002314/7.216, allocations: 0.6018 MB / 3.852 GB, free: 114.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/7.216, allocations: 4 kB / 3.852 GB, free: 114.8 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001625/7.218, allocations: 1.375 MB / 3.853 GB, free: 113.4 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002676/7.22, allocations: 2.243 MB / 3.855 GB, free: 111 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006219/7.221, allocations: 251.8 kB / 3.856 GB, free: 110.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/7.221, allocations: 4 kB / 3.856 GB, free: 110.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007681/7.222, allocations: 63.84 kB / 3.856 GB, free: 110.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.007e-05/7.222, allocations: 44.44 kB / 3.856 GB, free: 110.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.248e-05/7.222, allocations: 20 kB / 3.856 GB, free: 110.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0006268/7.223, allocations: 439.1 kB / 3.856 GB, free: 110.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004073/7.227, allocations: 1.15 MB / 3.857 GB, free: 109.1 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.002623/7.229, allocations: 2.096 MB / 3.859 GB, free: 106.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001966/7.231, allocations: 1.073 MB / 3.86 GB, free: 105.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/7.231, allocations: 0.875 kB / 3.86 GB, free: 105.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004658/7.232, allocations: 342 kB / 3.861 GB, free: 105.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/7.234, allocations: 414.8 kB / 3.861 GB, free: 105.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00333/7.237, allocations: 1.764 MB / 3.863 GB, free: 103.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008594/7.238, allocations: 1.296 MB / 3.864 GB, free: 101.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.162e-06/7.238, allocations: 4 kB / 3.864 GB, free: 101.9 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)