Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_T.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: translateModel(BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_T") translateModel(BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.6955/0.6955, allocations: 127.4 MB / 134.6 MB, free: 4.074 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.001252/0.001252, allocations: 193.2 kB / 164.4 MB, free: 6.883 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.595/1.595, allocations: 205.1 MB / 399.1 MB, free: 6.074 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.0009304/0.0009305, allocations: 94.98 kB / 476.3 MB, free: 8.832 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.498e-06/9.618e-06, allocations: 4 kB / 0.546 GB, free: 42.76 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1738, allocations: 76.74 MB / 0.6209 GB, free: 13.94 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.877/5.051, allocations: 2.144 GB / 2.765 GB, free: 59.45 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/5.051, allocations: 83.95 kB / 2.765 GB, free: 59.36 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.323/7.373, allocations: 0.6002 GB / 3.365 GB, free: 101.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.648e-05/7.374, allocations: 25.23 kB / 3.365 GB, free: 101.7 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.00235/7.376, allocations: 1.121 MB / 3.366 GB, free: 101.3 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/7.376, allocations: 11.56 kB / 3.366 GB, free: 101.3 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0019/7.378, allocations: 279.3 kB / 3.366 GB, free: 101.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009398/7.379, allocations: 0.5755 MB / 3.367 GB, free: 101 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/7.379, allocations: 24.22 kB / 3.367 GB, free: 101 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.499e-05/7.379, allocations: 46.75 kB / 3.367 GB, free: 101 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008818/7.38, allocations: 0.5321 MB / 3.368 GB, free: 101 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/7.381, allocations: 0.7627 MB / 3.368 GB, free: 100.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/7.381, allocations: 9.25 kB / 3.368 GB, free: 100.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.258e-05/7.381, allocations: 0 / 3.368 GB, free: 100.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.314e-05/7.381, allocations: 46.28 kB / 3.368 GB, free: 100.8 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003258/7.384, allocations: 3.469 MB / 3.372 GB, free: 98.52 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/7.385, allocations: 158.4 kB / 3.372 GB, free: 98.5 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/7.385, allocations: 103.1 kB / 3.372 GB, free: 98.49 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006376/7.385, allocations: 0.6348 MB / 3.373 GB, free: 97.84 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/7.385, allocations: 44.72 kB / 3.373 GB, free: 97.79 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 2.775e-06/7.385, allocations: 0 / 3.373 GB, free: 97.79 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.001481/7.387, allocations: 407.1 kB / 3.373 GB, free: 97.73 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/7.387, allocations: 54.59 kB / 3.373 GB, free: 97.67 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003554/7.387, allocations: 346.3 kB / 3.373 GB, free: 97.56 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/7.387, allocations: 25.7 kB / 3.373 GB, free: 97.53 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/7.388, allocations: 356.8 kB / 3.374 GB, free: 97.35 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.11e-05/7.388, allocations: 64.48 kB / 3.374 GB, free: 97.32 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.631e-05/7.388, allocations: 0 / 3.374 GB, free: 97.32 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.062e-05/7.388, allocations: 353.3 kB / 3.374 GB, free: 97.01 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/7.388, allocations: 83.69 kB / 3.374 GB, free: 97.01 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/7.388, allocations: 193.8 kB / 3.374 GB, free: 96.88 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/7.388, allocations: 155.7 kB / 3.375 GB, free: 96.88 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/7.388, allocations: 2.062 kB / 3.375 GB, free: 96.88 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005413/7.389, allocations: 353.7 kB / 3.375 GB, free: 96.82 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/7.389, allocations: 3.125 kB / 3.375 GB, free: 96.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/7.389, allocations: 7.094 kB / 3.375 GB, free: 96.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/7.389, allocations: 5.781 kB / 3.375 GB, free: 96.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/7.389, allocations: 60.84 kB / 3.375 GB, free: 96.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.689e-06/7.389, allocations: 8.938 kB / 3.375 GB, free: 96.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000453/7.39, allocations: 47.48 kB / 3.375 GB, free: 96.81 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-05/7.39, allocations: 16.38 kB / 3.375 GB, free: 96.81 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.276e-05/7.39, allocations: 121.5 kB / 3.375 GB, free: 96.71 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.784e-05/7.39, allocations: 45.41 kB / 3.375 GB, free: 96.68 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004947/7.39, allocations: 272.4 kB / 3.375 GB, free: 96.64 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/7.39, allocations: 2.75 kB / 3.375 GB, free: 96.64 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/7.39, allocations: 0 / 3.375 GB, free: 96.64 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/7.39, allocations: 2.438 kB / 3.375 GB, free: 96.64 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/7.392, allocations: 1.015 MB / 3.376 GB, free: 96.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/7.392, allocations: 11.19 kB / 3.376 GB, free: 96.25 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/7.392, allocations: 42.94 kB / 3.377 GB, free: 96.25 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/7.392, allocations: 3.969 kB / 3.377 GB, free: 96.25 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/7.392, allocations: 3.812 kB / 3.377 GB, free: 96.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/7.392, allocations: 10.56 kB / 3.377 GB, free: 96.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/7.392, allocations: 7.641 kB / 3.377 GB, free: 96.25 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005523/7.393, allocations: 0.5998 MB / 3.377 GB, free: 95.76 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.198e-05/7.393, allocations: 118.2 kB / 3.377 GB, free: 95.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.54e-05/7.393, allocations: 9.203 kB / 3.377 GB, free: 95.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003443/7.393, allocations: 33.22 kB / 3.377 GB, free: 95.64 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.676e-05/7.393, allocations: 20.98 kB / 3.377 GB, free: 95.64 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/7.393, allocations: 8.906 kB / 3.377 GB, free: 95.64 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002394/7.394, allocations: 267.6 kB / 3.378 GB, free: 95.55 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001107/7.395, allocations: 342.8 kB / 3.378 GB, free: 95.52 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.002901/7.398, allocations: 2.253 MB / 3.38 GB, free: 94.88 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003466/7.398, allocations: 203.7 kB / 3.38 GB, free: 94.88 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/7.398, allocations: 3.469 kB / 3.38 GB, free: 94.88 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001411/7.398, allocations: 98.36 kB / 3.38 GB, free: 94.88 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009037/7.399, allocations: 178.4 kB / 3.381 GB, free: 94.87 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/7.401, allocations: 0.8399 MB / 3.381 GB, free: 94.51 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005552/7.401, allocations: 1.051 MB / 3.382 GB, free: 93.8 MB / 0.6511 GB Notification: Performance of SimCode: time 4.01e-07/7.401, allocations: 2.406 kB / 3.382 GB, free: 93.8 MB / 0.6511 GB Notification: Performance of Templates: time 0.03028/7.432, allocations: 18.44 MB / 3.4 GB, free: 93.39 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_T.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_T.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1)