Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.PropertySource_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_T") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.613/1.613, allocations: 289.8 MB / 297.1 MB, free: 6.734 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001243/0.001243, allocations: 185.2 kB / 366.3 MB, free: 1.984 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.704/1.704, allocations: 205.1 MB / 0.6256 GB, free: 7.48 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009735/0.0009737, allocations: 83.8 kB / 0.7395 GB, free: 39.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.616e-06/8.636e-06, allocations: 0 / 0.859 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6816/0.6816, allocations: 116.3 MB / 0.9725 GB, free: 76.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.099/4.78, allocations: 2.069 GB / 3.042 GB, free: 55.72 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/4.781, allocations: 87.94 kB / 3.042 GB, free: 55.63 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.942/6.722, allocations: 0.6032 GB / 3.645 GB, free: 179.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.641e-05/6.722, allocations: 30.58 kB / 3.645 GB, free: 179.2 MB / 0.948 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.001915/6.724, allocations: 1.123 MB / 3.646 GB, free: 178 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/6.724, allocations: 10.98 kB / 3.646 GB, free: 178 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001791/6.726, allocations: 282.5 kB / 3.646 GB, free: 177.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008081/6.727, allocations: 0.5714 MB / 3.647 GB, free: 177.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/6.727, allocations: 27.91 kB / 3.647 GB, free: 177.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.974e-05/6.727, allocations: 44 kB / 3.647 GB, free: 177.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007415/6.728, allocations: 0.5194 MB / 3.647 GB, free: 176.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009239/6.729, allocations: 0.7924 MB / 3.648 GB, free: 175.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/6.729, allocations: 3.938 kB / 3.648 GB, free: 175.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5e-05/6.729, allocations: 0 / 3.648 GB, free: 175.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.092e-05/6.729, allocations: 41.3 kB / 3.648 GB, free: 175.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002865/6.732, allocations: 3.705 MB / 3.652 GB, free: 171.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/6.732, allocations: 179.7 kB / 3.652 GB, free: 171.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/6.732, allocations: 118.5 kB / 3.652 GB, free: 171.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005684/6.733, allocations: 0.6303 MB / 3.653 GB, free: 170.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/6.733, allocations: 46.7 kB / 3.653 GB, free: 170.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 1.363e-06/6.733, allocations: 3.062 kB / 3.653 GB, free: 170.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.001434/6.734, allocations: 412.8 kB / 3.653 GB, free: 170.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/6.734, allocations: 106.8 kB / 3.653 GB, free: 170.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002903/6.735, allocations: 349 kB / 3.654 GB, free: 169.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/6.735, allocations: 25.7 kB / 3.654 GB, free: 169.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/6.735, allocations: 363 kB / 3.654 GB, free: 169.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/6.735, allocations: 67 kB / 3.654 GB, free: 169.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.402e-05/6.735, allocations: 0 / 3.654 GB, free: 169.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.113e-05/6.735, allocations: 354.8 kB / 3.654 GB, free: 168.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/6.735, allocations: 83.95 kB / 3.655 GB, free: 168.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/6.735, allocations: 211 kB / 3.655 GB, free: 168.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/6.735, allocations: 162.4 kB / 3.655 GB, free: 168.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/6.735, allocations: 0 / 3.655 GB, free: 168.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005095/6.736, allocations: 352.9 kB / 3.655 GB, free: 168.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/6.736, allocations: 8 kB / 3.655 GB, free: 168.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/6.736, allocations: 4 kB / 3.655 GB, free: 168.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/6.736, allocations: 4 kB / 3.655 GB, free: 168.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003202/6.736, allocations: 67.91 kB / 3.655 GB, free: 168 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/6.736, allocations: 7.984 kB / 3.655 GB, free: 168 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00042/6.737, allocations: 51.66 kB / 3.655 GB, free: 167.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-05/6.737, allocations: 12 kB / 3.655 GB, free: 167.9 MB / 0.948 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.416e-05/6.737, allocations: 115.7 kB / 3.655 GB, free: 167.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.769e-05/6.737, allocations: 55.38 kB / 3.656 GB, free: 167.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004517/6.738, allocations: 260.1 kB / 3.656 GB, free: 167.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/6.738, allocations: 4 kB / 3.656 GB, free: 167.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/6.738, allocations: 0 / 3.656 GB, free: 167.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/6.738, allocations: 4 kB / 3.656 GB, free: 167.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/6.739, allocations: 1.197 MB / 3.657 GB, free: 166.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.289e-06/6.739, allocations: 5.859 kB / 3.657 GB, free: 166.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/6.739, allocations: 43.91 kB / 3.657 GB, free: 166.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/6.739, allocations: 11.91 kB / 3.657 GB, free: 166.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/6.739, allocations: 4.406 kB / 3.657 GB, free: 166.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/6.739, allocations: 11.94 kB / 3.657 GB, free: 166.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/6.739, allocations: 4 kB / 3.657 GB, free: 166.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004924/6.74, allocations: 0.6202 MB / 3.658 GB, free: 165.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/6.74, allocations: 136.5 kB / 3.658 GB, free: 165.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.499e-05/6.74, allocations: 8.078 kB / 3.658 GB, free: 165.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003254/6.74, allocations: 39.81 kB / 3.658 GB, free: 165.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/6.74, allocations: 23.92 kB / 3.658 GB, free: 165.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/6.74, allocations: 15.91 kB / 3.658 GB, free: 165.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0002014/6.741, allocations: 267.2 kB / 3.658 GB, free: 164.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008784/6.741, allocations: 331.3 kB / 3.658 GB, free: 164.5 MB / 0.948 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.002432/6.744, allocations: 2.217 MB / 3.661 GB, free: 162.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002947/6.744, allocations: 203.7 kB / 3.661 GB, free: 162.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/6.744, allocations: 4 kB / 3.661 GB, free: 162.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/6.744, allocations: 99.83 kB / 3.661 GB, free: 162.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008174/6.745, allocations: 178.9 kB / 3.661 GB, free: 162 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/6.746, allocations: 0.8474 MB / 3.662 GB, free: 161.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004605/6.747, allocations: 1.049 MB / 3.663 GB, free: 160.1 MB / 0.948 GB Notification: Performance of SimCode: time 4.01e-07/6.747, allocations: 0 / 3.663 GB, free: 160.1 MB / 0.948 GB Notification: Performance of Templates: time 0.02538/6.772, allocations: 18.22 MB / 3.681 GB, free: 142.1 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_T.makefile (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & ./Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1)