Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7767/0.7767, allocations: 127.4 MB / 134.6 MB, free: 4.164 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001372/0.001372, allocations: 185.3 kB / 164.4 MB, free: 6.918 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.914/1.914, allocations: 205.1 MB / 399.1 MB, free: 6.184 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001267/0.001267, allocations: 83.3 kB / 476.3 MB, free: 8.934 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3655/0.3668, allocations: 82.89 MB / 0.5461 GB, free: 42.71 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.561, allocations: 76.77 MB / 0.621 GB, free: 13.88 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.315/5.876, allocations: 2.165 GB / 2.786 GB, free: 149.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004057/5.877, allocations: 95.94 kB / 2.786 GB, free: 149.4 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 286 * Number of variables: 286 Notification: Performance of Generate backend data structure: time 2.146/8.023, allocations: 0.6326 GB / 3.419 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/8.023, allocations: 8 kB / 3.419 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002884/8.026, allocations: 345.8 kB / 3.419 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002915/8.029, allocations: 0.9919 MB / 3.42 GB, free: 9.938 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.242e-05/8.029, allocations: 36 kB / 3.42 GB, free: 9.902 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004601/8.03, allocations: 79.89 kB / 3.42 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002563/8.032, allocations: 0.9962 MB / 3.421 GB, free: 8.824 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002489/8.035, allocations: 1.143 MB / 3.423 GB, free: 7.625 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.977e-05/8.035, allocations: 0 / 3.423 GB, free: 7.625 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/8.035, allocations: 4 kB / 3.423 GB, free: 7.621 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-05/8.035, allocations: 42.19 kB / 3.423 GB, free: 7.578 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008415/8.043, allocations: 5.334 MB / 3.428 GB, free: 1.848 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/8.044, allocations: 0.6897 MB / 3.428 GB, free: 1.152 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000469/8.045, allocations: 358.8 kB / 3.429 GB, free: 0.8008 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005405/8.045, allocations: 311.9 kB / 3.429 GB, free: 452 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/8.046, allocations: 43.22 kB / 3.429 GB, free: 400 kB / 0.6511 GB Notification: Performance of pre-optimization done (n=71): time 3.677e-06/8.046, allocations: 0 / 3.429 GB, free: 400 kB / 0.6511 GB Notification: Performance of matching and sorting (n=71): time 0.3754/8.421, allocations: 0.8365 MB / 3.43 GB, free: 158.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/8.421, allocations: 117.6 kB / 3.43 GB, free: 158.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/8.422, allocations: 0.6198 MB / 3.431 GB, free: 158.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.00016/8.422, allocations: 25.7 kB / 3.431 GB, free: 158.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003019/8.423, allocations: 479.2 kB / 3.431 GB, free: 158.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002253/8.423, allocations: 244 kB / 3.431 GB, free: 158.1 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/8.423, allocations: 3.812 kB / 3.431 GB, free: 158.1 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.516e-05/8.423, allocations: 339 kB / 3.432 GB, free: 157.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004499/8.424, allocations: 288.8 kB / 3.432 GB, free: 157.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006121/8.424, allocations: 0.549 MB / 3.433 GB, free: 157.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/8.425, allocations: 498.2 kB / 3.433 GB, free: 157.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/8.425, allocations: 3.719 kB / 3.433 GB, free: 157.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001845/8.427, allocations: 1.026 MB / 3.434 GB, free: 157.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004982/8.428, allocations: 2.181 MB / 3.436 GB, free: 155.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/8.428, allocations: 10.81 kB / 3.436 GB, free: 155.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.357e-05/8.428, allocations: 11.09 kB / 3.436 GB, free: 155.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/8.429, allocations: 291.3 kB / 3.436 GB, free: 155.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008167/8.43, allocations: 0.674 MB / 3.437 GB, free: 154.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/8.432, allocations: 139.1 kB / 3.437 GB, free: 154.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/8.432, allocations: 38 kB / 3.437 GB, free: 154.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/8.432, allocations: 7.562 kB / 3.437 GB, free: 154.5 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001628/8.433, allocations: 0.8794 MB / 3.438 GB, free: 154.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/8.433, allocations: 10.05 kB / 3.438 GB, free: 154.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/8.434, allocations: 13.25 kB / 3.438 GB, free: 154.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007201/8.434, allocations: 186.8 kB / 3.438 GB, free: 154.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/8.434, allocations: 10.86 kB / 3.438 GB, free: 154.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/8.435, allocations: 106.4 kB / 3.438 GB, free: 154.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.228e-05/8.435, allocations: 38.06 kB / 3.438 GB, free: 154.5 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 1 * 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.0002513/8.436, allocations: 134.4 kB / 3.439 GB, free: 154.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/8.436, allocations: 102.2 kB / 3.439 GB, free: 154.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/8.438, allocations: 0.8539 MB / 3.44 GB, free: 154.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/8.438, allocations: 3.75 kB / 3.44 GB, free: 154.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/8.438, allocations: 3.844 kB / 3.44 GB, free: 154.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001145/8.439, allocations: 0.9243 MB / 3.44 GB, free: 153.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003356/8.442, allocations: 1.907 MB / 3.442 GB, free: 153.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/8.442, allocations: 0 / 3.442 GB, free: 153.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001582/8.444, allocations: 273.7 kB / 3.443 GB, free: 153.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/8.444, allocations: 6.219 kB / 3.443 GB, free: 153.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.366e-05/8.444, allocations: 9.703 kB / 3.443 GB, free: 153.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002077/8.446, allocations: 1.408 MB / 3.444 GB, free: 152.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-06/8.446, allocations: 11.16 kB / 3.444 GB, free: 152.3 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002038/8.448, allocations: 1.354 MB / 3.445 GB, free: 152 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002705/8.451, allocations: 2.24 MB / 3.447 GB, free: 151.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006351/8.451, allocations: 266.6 kB / 3.448 GB, free: 151.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/8.452, allocations: 3.938 kB / 3.448 GB, free: 151.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008834/8.452, allocations: 72.64 kB / 3.448 GB, free: 151.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.29e-05/8.453, allocations: 48.31 kB / 3.448 GB, free: 151.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.627e-05/8.453, allocations: 25.75 kB / 3.448 GB, free: 151.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0008095/8.453, allocations: 482.6 kB / 3.448 GB, free: 151.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004689/8.458, allocations: 1.212 MB / 3.45 GB, free: 151 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (70): * Single equations (assignments): 69 * 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.00323/8.461, allocations: 2.112 MB / 3.452 GB, free: 150.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00335/8.465, allocations: 1.362 MB / 3.453 GB, free: 150.4 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/8.465, allocations: 3.969 kB / 3.453 GB, free: 150.4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001529/8.466, allocations: 476.8 kB / 3.453 GB, free: 150.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002394/8.469, allocations: 431.6 kB / 3.454 GB, free: 150.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003551/8.472, allocations: 1.899 MB / 3.456 GB, free: 149.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009228/8.473, allocations: 1.35 MB / 3.457 GB, free: 149.2 MB / 0.6511 GB Notification: Performance of SimCode: time 4.81e-07/8.473, allocations: 0 / 3.457 GB, free: 149.2 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)