Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7482/0.7482, allocations: 141.8 MB / 149.1 MB, free: 12.36 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 183 kB / 182 MB, free: 9.145 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 221.4 MB / 436.1 MB, free: 1.547 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009769/0.0009768, allocations: 96.88 kB / 0.507 GB, free: 10.38 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001792/0.001792, allocations: 280.2 kB / 0.5885 GB, free: 7.207 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1864/0.1882, allocations: 89.65 MB / 0.676 GB, free: 13.46 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.5784, allocations: 82.77 MB / 0.7568 GB, free: 138.3 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.595/4.174, allocations: 1.937 GB / 2.694 GB, free: 92.84 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/4.174, allocations: 100.4 kB / 2.694 GB, free: 92.75 MB / 0.6982 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 2.161/6.335, allocations: 0.6379 GB / 3.332 GB, free: 117.8 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/6.335, allocations: 12.48 kB / 3.332 GB, free: 117.8 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002071/6.337, allocations: 337.3 kB / 3.333 GB, free: 117.7 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002798/6.34, allocations: 1.206 MB / 3.334 GB, free: 117.4 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.612e-05/6.34, allocations: 32.89 kB / 3.334 GB, free: 117.4 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002029/6.34, allocations: 63.66 kB / 3.334 GB, free: 117.4 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001441/6.342, allocations: 0.8636 MB / 3.335 GB, free: 117.4 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/6.343, allocations: 1.021 MB / 3.336 GB, free: 117.3 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/6.343, allocations: 2.625 kB / 3.336 GB, free: 117.3 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.581e-05/6.343, allocations: 0 / 3.336 GB, free: 117.3 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-05/6.343, allocations: 36.25 kB / 3.336 GB, free: 117.3 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004843/6.348, allocations: 4.707 MB / 3.34 GB, free: 114.7 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008961/6.349, allocations: 0.6505 MB / 3.341 GB, free: 114.6 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004348/6.349, allocations: 371.4 kB / 3.341 GB, free: 114.6 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000573/6.35, allocations: 398.6 kB / 3.342 GB, free: 114.2 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/6.35, allocations: 41.94 kB / 3.342 GB, free: 114.2 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=68): time 2.635e-06/6.35, allocations: 0 / 3.342 GB, free: 114.2 MB / 0.6982 GB Notification: Performance of matching and sorting (n=68): time 0.001786/6.352, allocations: 0.7925 MB / 3.343 GB, free: 114.1 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/6.352, allocations: 110.9 kB / 3.343 GB, free: 114 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006082/6.353, allocations: 0.5543 MB / 3.343 GB, free: 113.9 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 5.948e-05/6.353, allocations: 28.52 kB / 3.343 GB, free: 113.8 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/6.353, allocations: 429.8 kB / 3.344 GB, free: 113.6 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001619/6.353, allocations: 228.5 kB / 3.344 GB, free: 113.5 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/6.353, allocations: 0 / 3.344 GB, free: 113.5 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 5.505e-05/6.353, allocations: 339.4 kB / 3.344 GB, free: 113.2 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003356/6.353, allocations: 254.1 kB / 3.344 GB, free: 113.2 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004358/6.354, allocations: 0.4914 MB / 3.345 GB, free: 112.9 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007193/6.355, allocations: 433.5 kB / 3.345 GB, free: 112.9 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/6.355, allocations: 0 / 3.345 GB, free: 112.9 MB / 0.6982 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001386/6.356, allocations: 0.8893 MB / 3.346 GB, free: 112.8 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003304/6.356, allocations: 1.749 MB / 3.348 GB, free: 111 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/6.356, allocations: 3.562 kB / 3.348 GB, free: 111 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.703e-05/6.356, allocations: 11.06 kB / 3.348 GB, free: 111 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008778/6.357, allocations: 189.5 kB / 3.348 GB, free: 111 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00034/6.358, allocations: 0.6058 MB / 3.349 GB, free: 110.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/6.359, allocations: 118.4 kB / 3.349 GB, free: 110.4 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.622e-05/6.359, allocations: 34.19 kB / 3.349 GB, free: 110.4 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 7.153e-06/6.359, allocations: 8.125 kB / 3.349 GB, free: 110.4 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001273/6.36, allocations: 0.7646 MB / 3.35 GB, free: 110.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/6.36, allocations: 3.969 kB / 3.35 GB, free: 110.4 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/6.36, allocations: 10.69 kB / 3.35 GB, free: 110.4 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006462/6.361, allocations: 169.7 kB / 3.35 GB, free: 110.4 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/6.361, allocations: 13.83 kB / 3.35 GB, free: 110.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009181/6.362, allocations: 108.2 kB / 3.35 GB, free: 110.4 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.542e-05/6.362, allocations: 34.16 kB / 3.35 GB, free: 110.4 MB / 0.6982 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.0001877/6.362, allocations: 126.3 kB / 3.35 GB, free: 110.3 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/6.362, allocations: 91.72 kB / 3.35 GB, free: 110.2 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/6.363, allocations: 0.8001 MB / 3.351 GB, free: 110.2 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/6.363, allocations: 7.281 kB / 3.351 GB, free: 110.2 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/6.363, allocations: 0 / 3.351 GB, free: 110.2 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001053/6.365, allocations: 0.9006 MB / 3.352 GB, free: 109.8 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00315/6.368, allocations: 1.994 MB / 3.354 GB, free: 109.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/6.368, allocations: 3.438 kB / 3.354 GB, free: 109.4 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007658/6.368, allocations: 159.4 kB / 3.354 GB, free: 109.4 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.064e-05/6.368, allocations: 6.344 kB / 3.354 GB, free: 109.4 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.413e-05/6.369, allocations: 10.47 kB / 3.354 GB, free: 109.4 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001998/6.369, allocations: 0.6038 MB / 3.354 GB, free: 108.8 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/6.369, allocations: 4.594 kB / 3.354 GB, free: 108.8 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001682/6.37, allocations: 1.406 MB / 3.356 GB, free: 108.4 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002352/6.373, allocations: 2.271 MB / 3.358 GB, free: 107.6 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003825/6.373, allocations: 248.4 kB / 3.358 GB, free: 107.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/6.373, allocations: 6.75 kB / 3.358 GB, free: 107.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007008/6.374, allocations: 68.14 kB / 3.358 GB, free: 107.4 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.952e-05/6.374, allocations: 38.56 kB / 3.358 GB, free: 107.4 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.908e-05/6.374, allocations: 23.97 kB / 3.358 GB, free: 107.4 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0004573/6.375, allocations: 436.5 kB / 3.359 GB, free: 107.3 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.003666/6.378, allocations: 1.143 MB / 3.36 GB, free: 107.3 MB / 0.6982 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.U,vol.dynBal.m,vol.dynBal.mXi[1],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.002174/6.381, allocations: 2.098 MB / 3.362 GB, free: 106.7 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001684/6.382, allocations: 1.078 MB / 3.363 GB, free: 106.7 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/6.382, allocations: 3.312 kB / 3.363 GB, free: 106.7 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0004376/6.383, allocations: 336 kB / 3.363 GB, free: 106.7 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/6.385, allocations: 404.3 kB / 3.364 GB, free: 106.7 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002812/6.387, allocations: 1.763 MB / 3.365 GB, free: 106.2 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000773/6.388, allocations: 1.297 MB / 3.367 GB, free: 105.5 MB / 0.6982 GB Notification: Performance of SimCode: time 4.81e-07/6.388, allocations: 3.188 kB / 3.367 GB, free: 105.5 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)