Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.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: translateModel(BuildingSystems.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure") translateModel(BuildingSystems.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure") [: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.759/0.759, allocations: 141.8 MB / 149.1 MB, free: 3.105 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 173.8 kB / 181.9 MB, free: 14.95 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.464/1.464, allocations: 221.4 MB / 436 MB, free: 8.016 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.0009385/0.0009384, allocations: 98.86 kB / 0.507 GB, free: 24.42 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00174/0.00174, allocations: 282.9 kB / 0.5885 GB, free: 11.16 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.063e-05/1.066e-05, allocations: 4 kB / 0.6759 GB, free: 1.523 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5419/0.5419, allocations: 82.76 MB / 0.7567 GB, free: 37.29 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.225/4.767, allocations: 1.83 GB / 2.586 GB, free: 247.4 MB / 0.8075 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003255/4.767, allocations: 91.89 kB / 2.587 GB, free: 247.3 MB / 0.8075 GB Notification: Performance of FrontEnd: time 1.239/6.006, allocations: 346.1 MB / 2.925 GB, free: 211.5 MB / 0.8075 GB Notification: Performance of Transformations before backend: time 4.451e-05/6.006, allocations: 8 kB / 2.925 GB, free: 211.4 MB / 0.8075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001575/6.008, allocations: 0.6762 MB / 2.925 GB, free: 210.8 MB / 0.8075 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/6.008, allocations: 12.5 kB / 2.925 GB, free: 210.8 MB / 0.8075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000501/6.008, allocations: 67.92 kB / 2.925 GB, free: 210.7 MB / 0.8075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006802/6.009, allocations: 327.6 kB / 2.926 GB, free: 210.4 MB / 0.8075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/6.009, allocations: 4 kB / 2.926 GB, free: 210.4 MB / 0.8075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.451e-05/6.009, allocations: 16.66 kB / 2.926 GB, free: 210.3 MB / 0.8075 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000267/6.009, allocations: 116.8 kB / 2.926 GB, free: 210.2 MB / 0.8075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003353/6.01, allocations: 251.5 kB / 2.926 GB, free: 209.9 MB / 0.8075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/6.01, allocations: 4 kB / 2.926 GB, free: 209.9 MB / 0.8075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/6.01, allocations: 0.8125 kB / 2.926 GB, free: 209.9 MB / 0.8075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/6.01, allocations: 8 kB / 2.926 GB, free: 209.9 MB / 0.8075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001716/6.011, allocations: 1.665 MB / 2.928 GB, free: 208.2 MB / 0.8075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/6.012, allocations: 74.58 kB / 2.928 GB, free: 208.1 MB / 0.8075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.493e-05/6.012, allocations: 64.83 kB / 2.928 GB, free: 208.1 MB / 0.8075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002873/6.012, allocations: 190.2 kB / 2.928 GB, free: 207.8 MB / 0.8075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/6.012, allocations: 34.39 kB / 2.928 GB, free: 207.8 MB / 0.8075 GB Notification: Performance of pre-optimization done (n=11): time 2.034e-06/6.012, allocations: 0 / 2.928 GB, free: 207.8 MB / 0.8075 GB Notification: Performance of matching and sorting (n=11): time 0.0005151/6.013, allocations: 153.2 kB / 2.928 GB, free: 207.6 MB / 0.8075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/6.013, allocations: 55.41 kB / 2.928 GB, free: 207.6 MB / 0.8075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/6.013, allocations: 219.4 kB / 2.928 GB, free: 207.4 MB / 0.8075 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/6.013, allocations: 25.7 kB / 2.928 GB, free: 207.3 MB / 0.8075 GB Notification: Performance of collectInitialEqns (initialization): time 8.413e-05/6.013, allocations: 181.6 kB / 2.929 GB, free: 207.1 MB / 0.8075 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/6.013, allocations: 39.45 kB / 2.929 GB, free: 207.1 MB / 0.8075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.235e-06/6.013, allocations: 0 / 2.929 GB, free: 207.1 MB / 0.8075 GB Notification: Performance of setup shared object (initialization): time 8.992e-05/6.013, allocations: 334.8 kB / 2.929 GB, free: 206.8 MB / 0.8075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.092e-05/6.013, allocations: 44.59 kB / 2.929 GB, free: 206.7 MB / 0.8075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/6.013, allocations: 188.5 kB / 2.929 GB, free: 206.5 MB / 0.8075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/6.013, allocations: 68.41 kB / 2.929 GB, free: 206.4 MB / 0.8075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/6.013, allocations: 0 / 2.929 GB, free: 206.4 MB / 0.8075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003062/6.014, allocations: 205.3 kB / 2.929 GB, free: 206.2 MB / 0.8075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003369/6.014, allocations: 1.398 MB / 2.931 GB, free: 204.7 MB / 0.8075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/6.014, allocations: 4 kB / 2.931 GB, free: 204.7 MB / 0.8075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/6.014, allocations: 11.39 kB / 2.931 GB, free: 204.7 MB / 0.8075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/6.014, allocations: 47.91 kB / 2.931 GB, free: 204.6 MB / 0.8075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/6.014, allocations: 12 kB / 2.931 GB, free: 204.6 MB / 0.8075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002898/6.015, allocations: 43.66 kB / 2.931 GB, free: 204.6 MB / 0.8075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.293e-05/6.015, allocations: 16 kB / 2.931 GB, free: 204.6 MB / 0.8075 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/6.015, allocations: 4 kB / 2.931 GB, free: 204.6 MB / 0.8075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002065/6.015, allocations: 143.6 kB / 2.931 GB, free: 204.4 MB / 0.8075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/6.015, allocations: 4.094 kB / 2.931 GB, free: 204.4 MB / 0.8075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.053e-06/6.015, allocations: 11.94 kB / 2.931 GB, free: 204.4 MB / 0.8075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/6.015, allocations: 44.33 kB / 2.931 GB, free: 204.4 MB / 0.8075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/6.015, allocations: 11.98 kB / 2.931 GB, free: 204.3 MB / 0.8075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/6.015, allocations: 27.89 kB / 2.931 GB, free: 204.3 MB / 0.8075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/6.015, allocations: 16 kB / 2.931 GB, free: 204.3 MB / 0.8075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.132e-05/6.016, allocations: 116.8 kB / 2.931 GB, free: 204.2 MB / 0.8075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.837e-05/6.016, allocations: 27.7 kB / 2.931 GB, free: 204.2 MB / 0.8075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/6.016, allocations: 135.8 kB / 2.931 GB, free: 204 MB / 0.8075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/6.016, allocations: 0 / 2.931 GB, free: 204 MB / 0.8075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/6.016, allocations: 0 / 2.931 GB, free: 204 MB / 0.8075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/6.016, allocations: 3.984 kB / 2.931 GB, free: 204 MB / 0.8075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006485/6.017, allocations: 0.5319 MB / 2.932 GB, free: 203.4 MB / 0.8075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/6.017, allocations: 0 / 2.932 GB, free: 203.4 MB / 0.8075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/6.017, allocations: 35.83 kB / 2.932 GB, free: 203.4 MB / 0.8075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/6.017, allocations: 224 / 2.932 GB, free: 203.4 MB / 0.8075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/6.017, allocations: 8 kB / 2.932 GB, free: 203.4 MB / 0.8075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/6.017, allocations: 7.984 kB / 2.932 GB, free: 203.4 MB / 0.8075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/6.017, allocations: 0 / 2.932 GB, free: 203.4 MB / 0.8075 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002563/6.017, allocations: 353.9 kB / 2.932 GB, free: 202.9 MB / 0.8075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.426e-05/6.017, allocations: 112.8 kB / 2.932 GB, free: 202.8 MB / 0.8075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.065e-05/6.017, allocations: 0 / 2.932 GB, free: 202.8 MB / 0.8075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/6.017, allocations: 19.98 kB / 2.932 GB, free: 202.8 MB / 0.8075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/6.017, allocations: 19.89 kB / 2.932 GB, free: 202.8 MB / 0.8075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/6.017, allocations: 6.953 kB / 2.932 GB, free: 202.8 MB / 0.8075 GB Notification: Performance of sort global known variables: time 0.0001369/6.018, allocations: 179 kB / 2.933 GB, free: 202.6 MB / 0.8075 GB Notification: Performance of remove unused functions: time 0.0008852/6.018, allocations: 219.7 kB / 2.933 GB, free: 202.4 MB / 0.8075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002139/6.021, allocations: 1.437 MB / 2.934 GB, free: 201.1 MB / 0.8075 GB Notification: Performance of simCode: created initialization part: time 0.000353/6.021, allocations: 192.9 kB / 2.934 GB, free: 200.9 MB / 0.8075 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/6.021, allocations: 5.625 kB / 2.934 GB, free: 200.9 MB / 0.8075 GB Notification: Performance of simCode: created simulation system equations: time 7.224e-05/6.021, allocations: 47.92 kB / 2.934 GB, free: 200.8 MB / 0.8075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006402/6.022, allocations: 100.9 kB / 2.935 GB, free: 200.7 MB / 0.8075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007364/6.022, allocations: 344.3 kB / 2.935 GB, free: 200.4 MB / 0.8075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003197/6.023, allocations: 0.8148 MB / 2.936 GB, free: 199.5 MB / 0.8075 GB Notification: Performance of SimCode: time 1.102e-06/6.023, allocations: 0 / 2.936 GB, free: 199.5 MB / 0.8075 GB Notification: Performance of Templates: time 0.01897/6.042, allocations: 11.78 MB / 2.947 GB, free: 187.8 MB / 0.8075 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe 2>&1)