Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.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.Sources.Examples.PropertySource_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T") translateModel(BuildingSystems.Fluid.Sources.Examples.PropertySource_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T") [: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.7648/0.7648, allocations: 141.8 MB / 149.1 MB, free: 1.566 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.001445/0.001445, allocations: 187.2 kB / 182 MB, free: 13.63 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.481/1.481, allocations: 221.3 MB / 436 MB, free: 6.527 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.001043/0.001043, allocations: 97.2 kB / 0.507 GB, free: 19 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002005/0.002005, allocations: 270.5 kB / 0.5885 GB, free: 7.551 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 8.837e-06/8.867e-06, allocations: 2.125 kB / 0.6759 GB, free: 140.4 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1952, allocations: 82.78 MB / 0.7567 GB, free: 90.16 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.989/4.184, allocations: 1.834 GB / 2.59 GB, free: 192.7 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/4.184, allocations: 83.94 kB / 2.59 GB, free: 192.6 MB / 0.6982 GB Notification: Performance of FrontEnd: time 1.945/6.13, allocations: 0.6086 GB / 3.199 GB, free: 106.8 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 7.27e-05/6.13, allocations: 26.34 kB / 3.199 GB, free: 106.8 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.002521/6.132, allocations: 1.127 MB / 3.2 GB, free: 105.6 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/6.132, allocations: 9.031 kB / 3.2 GB, free: 105.6 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001912/6.134, allocations: 284.9 kB / 3.2 GB, free: 105.4 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009366/6.135, allocations: 0.578 MB / 3.201 GB, free: 104.8 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/6.135, allocations: 24 kB / 3.201 GB, free: 104.7 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.522e-05/6.135, allocations: 44 kB / 3.201 GB, free: 104.7 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007701/6.136, allocations: 0.5257 MB / 3.201 GB, free: 104.2 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009517/6.137, allocations: 0.7765 MB / 3.202 GB, free: 103.3 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/6.137, allocations: 7.438 kB / 3.202 GB, free: 103.3 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.046e-05/6.137, allocations: 7.984 kB / 3.202 GB, free: 103.3 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.104e-05/6.137, allocations: 37.3 kB / 3.202 GB, free: 103.3 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002923/6.14, allocations: 3.705 MB / 3.206 GB, free: 99.39 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/6.14, allocations: 176.1 kB / 3.206 GB, free: 99.19 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/6.141, allocations: 125.1 kB / 3.206 GB, free: 99.06 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005769/6.141, allocations: 0.6352 MB / 3.207 GB, free: 98.3 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/6.141, allocations: 30.56 kB / 3.207 GB, free: 98.26 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=19): time 2.034e-06/6.141, allocations: 4 kB / 3.207 GB, free: 98.26 MB / 0.6982 GB Notification: Performance of matching and sorting (n=19): time 0.001489/6.143, allocations: 416.8 kB / 3.207 GB, free: 97.84 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/6.143, allocations: 106.8 kB / 3.207 GB, free: 97.71 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003497/6.143, allocations: 349 kB / 3.208 GB, free: 97.37 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/6.143, allocations: 29.7 kB / 3.208 GB, free: 97.33 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/6.143, allocations: 358.9 kB / 3.208 GB, free: 96.98 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 4.814e-05/6.143, allocations: 67.09 kB / 3.208 GB, free: 96.91 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.5e-05/6.143, allocations: 0 / 3.208 GB, free: 96.91 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001231/6.144, allocations: 350.8 kB / 3.208 GB, free: 96.56 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/6.144, allocations: 86.61 kB / 3.209 GB, free: 96.48 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/6.144, allocations: 215 kB / 3.209 GB, free: 96.21 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002697/6.144, allocations: 155.7 kB / 3.209 GB, free: 96.06 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/6.144, allocations: 0 / 3.209 GB, free: 96.06 MB / 0.6982 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005224/6.145, allocations: 356.2 kB / 3.209 GB, free: 95.71 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/6.145, allocations: 4 kB / 3.209 GB, free: 95.71 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/6.145, allocations: 6.078 kB / 3.209 GB, free: 95.7 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/6.145, allocations: 4 kB / 3.209 GB, free: 95.7 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/6.145, allocations: 63.91 kB / 3.209 GB, free: 95.64 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/6.145, allocations: 4 kB / 3.209 GB, free: 95.63 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004572/6.146, allocations: 59.73 kB / 3.209 GB, free: 95.57 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-05/6.146, allocations: 16 kB / 3.209 GB, free: 95.56 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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 8.833e-05/6.146, allocations: 116.8 kB / 3.21 GB, free: 95.44 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.437e-05/6.146, allocations: 43.53 kB / 3.21 GB, free: 95.39 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004619/6.146, allocations: 265.1 kB / 3.21 GB, free: 95.12 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/6.146, allocations: 0 / 3.21 GB, free: 95.12 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/6.146, allocations: 4 kB / 3.21 GB, free: 95.12 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/6.146, allocations: 3.906 kB / 3.21 GB, free: 95.11 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/6.148, allocations: 1.196 MB / 3.211 GB, free: 93.83 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/6.148, allocations: 4 kB / 3.211 GB, free: 93.82 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/6.148, allocations: 43.97 kB / 3.211 GB, free: 93.78 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/6.148, allocations: 12.41 kB / 3.211 GB, free: 93.77 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/6.148, allocations: 8 kB / 3.211 GB, free: 93.76 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/6.148, allocations: 4 kB / 3.211 GB, free: 93.76 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/6.148, allocations: 4 kB / 3.211 GB, free: 93.75 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005164/6.149, allocations: 0.6215 MB / 3.212 GB, free: 92.98 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/6.149, allocations: 144.4 kB / 3.212 GB, free: 92.82 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.742e-05/6.149, allocations: 15.92 kB / 3.212 GB, free: 92.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003366/6.149, allocations: 27.97 kB / 3.212 GB, free: 92.78 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.719e-05/6.149, allocations: 27.89 kB / 3.212 GB, free: 92.75 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/6.149, allocations: 8 kB / 3.212 GB, free: 92.74 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0002059/6.15, allocations: 263.2 kB / 3.212 GB, free: 92.49 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001008/6.151, allocations: 327.2 kB / 3.212 GB, free: 92.17 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (19): * Single equations (assignments): 19 * 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.00255/6.153, allocations: 2.24 MB / 3.215 GB, free: 90.15 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0003392/6.153, allocations: 217.1 kB / 3.215 GB, free: 89.94 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/6.153, allocations: 0.6875 kB / 3.215 GB, free: 89.94 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/6.154, allocations: 99.89 kB / 3.215 GB, free: 89.84 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000854/6.154, allocations: 173.3 kB / 3.215 GB, free: 89.68 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/6.156, allocations: 0.8438 MB / 3.216 GB, free: 88.76 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004686/6.156, allocations: 1.045 MB / 3.217 GB, free: 87.69 MB / 0.6982 GB Notification: Performance of SimCode: time 5e-07/6.156, allocations: 0 / 3.217 GB, free: 87.69 MB / 0.6982 GB Notification: Performance of Templates: time 0.02554/6.182, allocations: 18.26 MB / 3.235 GB, free: 69.67 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1)