Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.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_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h") translateModel(BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h") [: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.682/0.682, allocations: 127.4 MB / 134.6 MB, free: 4.082 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.001132/0.001131, allocations: 181.3 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.634/1.634, allocations: 205.1 MB / 399.1 MB, free: 6.082 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.001074/0.001074, allocations: 85.97 kB / 476.3 MB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 6.622e-06/6.662e-06, allocations: 0 / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1692, allocations: 76.75 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.789/4.959, allocations: 2.139 GB / 2.76 GB, free: 73.94 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/4.959, allocations: 83.95 kB / 2.76 GB, free: 73.86 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.566/6.525, allocations: 410.8 MB / 3.162 GB, free: 130.3 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.255e-05/6.526, allocations: 24.86 kB / 3.162 GB, free: 130.3 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002216/6.528, allocations: 0.8501 MB / 3.162 GB, free: 129.8 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/6.528, allocations: 13.06 kB / 3.162 GB, free: 129.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002265/6.528, allocations: 64.97 kB / 3.162 GB, free: 129.8 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007896/6.529, allocations: 420.8 kB / 3.163 GB, free: 129.6 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/6.529, allocations: 23.53 kB / 3.163 GB, free: 129.6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.743e-05/6.529, allocations: 33.41 kB / 3.163 GB, free: 129.6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006393/6.53, allocations: 290.7 kB / 3.163 GB, free: 129.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008741/6.531, allocations: 0.5499 MB / 3.164 GB, free: 129.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/6.531, allocations: 5.016 kB / 3.164 GB, free: 129.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.97e-05/6.531, allocations: 2.156 kB / 3.164 GB, free: 129.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.143e-05/6.531, allocations: 32.73 kB / 3.164 GB, free: 129.4 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002255/6.533, allocations: 2.331 MB / 3.166 GB, free: 127.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/6.533, allocations: 133.3 kB / 3.166 GB, free: 127.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/6.533, allocations: 88.27 kB / 3.166 GB, free: 127.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/6.533, allocations: 1.344 kB / 3.166 GB, free: 127.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/6.533, allocations: 39.81 kB / 3.166 GB, free: 127.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.645e-06/6.533, allocations: 1.344 kB / 3.166 GB, free: 127.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0003544/6.534, allocations: 116.2 kB / 3.166 GB, free: 127.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/6.534, allocations: 160.3 kB / 3.167 GB, free: 127.3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/6.534, allocations: 219.6 kB / 3.167 GB, free: 127.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/6.534, allocations: 27.33 kB / 3.167 GB, free: 127.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/6.534, allocations: 266.8 kB / 3.167 GB, free: 127.1 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/6.534, allocations: 25.77 kB / 3.167 GB, free: 127 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/6.534, allocations: 1.219 kB / 3.167 GB, free: 127 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.943e-05/6.534, allocations: 340.7 kB / 3.167 GB, free: 126.7 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.105e-05/6.534, allocations: 19.62 kB / 3.167 GB, free: 126.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.904e-05/6.534, allocations: 93.41 kB / 3.168 GB, free: 126.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.915e-05/6.534, allocations: 34.25 kB / 3.168 GB, free: 126.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/6.535, allocations: 0 / 3.168 GB, free: 126.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001913/6.535, allocations: 128.5 kB / 3.168 GB, free: 126.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/6.535, allocations: 3.812 kB / 3.168 GB, free: 126.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/6.535, allocations: 4.969 kB / 3.168 GB, free: 126.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/6.535, allocations: 2.094 kB / 3.168 GB, free: 126.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/6.535, allocations: 26.66 kB / 3.168 GB, free: 126.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/6.535, allocations: 5.469 kB / 3.168 GB, free: 126.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/6.535, allocations: 23.56 kB / 3.168 GB, free: 126.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/6.535, allocations: 7.5 kB / 3.168 GB, free: 126.6 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 6.974e-05/6.535, allocations: 112.6 kB / 3.168 GB, free: 126.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/6.535, allocations: 23.84 kB / 3.168 GB, free: 126.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.806e-05/6.535, allocations: 34.47 kB / 3.168 GB, free: 126.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/6.535, allocations: 6.297 kB / 3.168 GB, free: 126.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/6.535, allocations: 1.281 kB / 3.168 GB, free: 126.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/6.535, allocations: 1.125 kB / 3.168 GB, free: 126.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/6.537, allocations: 0.8356 MB / 3.169 GB, free: 125.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/6.537, allocations: 5.375 kB / 3.169 GB, free: 125.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/6.537, allocations: 24.12 kB / 3.169 GB, free: 125.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/6.537, allocations: 6.125 kB / 3.169 GB, free: 125.9 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/6.537, allocations: 3.406 kB / 3.169 GB, free: 125.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/6.537, allocations: 2.562 kB / 3.169 GB, free: 125.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/6.537, allocations: 6.312 kB / 3.169 GB, free: 125.9 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002624/6.537, allocations: 354.9 kB / 3.169 GB, free: 125.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.098e-05/6.537, allocations: 96.7 kB / 3.169 GB, free: 125.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/6.537, allocations: 4.031 kB / 3.169 GB, free: 125.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/6.537, allocations: 27.23 kB / 3.169 GB, free: 125.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/6.537, allocations: 6.906 kB / 3.169 GB, free: 125.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/6.537, allocations: 5.125 kB / 3.169 GB, free: 125.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.000185/6.538, allocations: 180.3 kB / 3.169 GB, free: 125.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008454/6.538, allocations: 218.9 kB / 3.17 GB, free: 125.3 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.003087/6.542, allocations: 1.677 MB / 3.171 GB, free: 124.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002096/6.542, allocations: 69.28 kB / 3.171 GB, free: 124.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/6.542, allocations: 2.875 kB / 3.171 GB, free: 124.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.033e-05/6.542, allocations: 41.91 kB / 3.171 GB, free: 124.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000632/6.542, allocations: 83.36 kB / 3.171 GB, free: 124.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/6.544, allocations: 0.5662 MB / 3.172 GB, free: 124.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006493/6.545, allocations: 0.9357 MB / 3.173 GB, free: 123.9 MB / 0.6355 GB Notification: Performance of SimCode: time 4.5e-07/6.545, allocations: 0 / 3.173 GB, free: 123.9 MB / 0.6355 GB Notification: Performance of Templates: time 0.02894/6.574, allocations: 12 MB / 3.185 GB, free: 122.5 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)