Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h") translateModel(IBPSA.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.0009977/0.0009978, allocations: 184.1 kB / 7.804 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4384/0.4384, allocations: 90.84 MB / 99.06 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.205/1.205, allocations: 221.4 MB / 342.8 MB, free: 5.27 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 85.67 kB / 415.5 MB, free: 6.445 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.764e-06/7.965e-06, allocations: 0 / 493.9 MB, free: 8.086 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3683, allocations: 72.3 MB / 0.5529 GB, free: 73.42 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.264/3.633, allocations: 1.823 GB / 2.376 GB, free: 171.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001961/3.633, allocations: 84.56 kB / 2.376 GB, free: 171.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.9334/4.566, allocations: 414.7 MB / 2.781 GB, free: 31.99 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.331e-05/4.566, allocations: 23.98 kB / 2.781 GB, free: 31.97 MB / 0.6042 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.002198/4.569, allocations: 0.8497 MB / 2.782 GB, free: 31.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/4.569, allocations: 8.031 kB / 2.782 GB, free: 31.07 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002433/4.569, allocations: 71.23 kB / 2.782 GB, free: 31 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007716/4.57, allocations: 423.9 kB / 2.782 GB, free: 30.54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/4.57, allocations: 19.91 kB / 2.782 GB, free: 30.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.509e-05/4.57, allocations: 32 kB / 2.782 GB, free: 30.49 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005897/4.571, allocations: 290.5 kB / 2.782 GB, free: 30.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007002/4.571, allocations: 0.5871 MB / 2.783 GB, free: 29.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/4.571, allocations: 11.94 kB / 2.783 GB, free: 29.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.661e-05/4.571, allocations: 0 / 2.783 GB, free: 29.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.823e-05/4.571, allocations: 35.97 kB / 2.783 GB, free: 29.49 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001844/4.573, allocations: 2.987 MB / 2.786 GB, free: 26.37 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/4.573, allocations: 206.2 kB / 2.786 GB, free: 26.08 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.939e-05/4.573, allocations: 116.5 kB / 2.786 GB, free: 25.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/4.573, allocations: 8.328 kB / 2.786 GB, free: 25.93 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.518e-05/4.573, allocations: 42.5 kB / 2.786 GB, free: 25.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 2.054e-06/4.573, allocations: 0 / 2.786 GB, free: 25.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0003904/4.574, allocations: 145 kB / 2.786 GB, free: 25.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/4.574, allocations: 287 kB / 2.787 GB, free: 25.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/4.574, allocations: 223.6 kB / 2.787 GB, free: 25.15 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/4.574, allocations: 25.7 kB / 2.787 GB, free: 25.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.568e-05/4.574, allocations: 263.5 kB / 2.787 GB, free: 24.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/4.574, allocations: 35.48 kB / 2.787 GB, free: 24.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-06/4.574, allocations: 0 / 2.787 GB, free: 24.82 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.231e-05/4.574, allocations: 338.8 kB / 2.787 GB, free: 24.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.312e-05/4.574, allocations: 19.98 kB / 2.787 GB, free: 24.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.136e-05/4.574, allocations: 100.5 kB / 2.788 GB, free: 24.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.584e-05/4.574, allocations: 43.91 kB / 2.788 GB, free: 24.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/4.574, allocations: 0 / 2.788 GB, free: 24.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001486/4.575, allocations: 125.2 kB / 2.788 GB, free: 24.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/4.575, allocations: 4 kB / 2.788 GB, free: 24.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/4.575, allocations: 4 kB / 2.788 GB, free: 24.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/4.575, allocations: 0 / 2.788 GB, free: 24.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/4.575, allocations: 32.11 kB / 2.788 GB, free: 24.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/4.575, allocations: 4 kB / 2.788 GB, free: 24.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/4.575, allocations: 27.88 kB / 2.788 GB, free: 24.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/4.575, allocations: 16 kB / 2.788 GB, free: 24.08 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 5.271e-05/4.575, allocations: 105 kB / 2.788 GB, free: 23.97 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002004/4.575, allocations: 27.72 kB / 2.788 GB, free: 23.94 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.593e-05/4.575, allocations: 32.88 kB / 2.788 GB, free: 23.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/4.575, allocations: 4 kB / 2.788 GB, free: 23.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/4.575, allocations: 4 kB / 2.788 GB, free: 23.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/4.575, allocations: 7.938 kB / 2.788 GB, free: 23.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009868/4.576, allocations: 1.219 MB / 2.789 GB, free: 22.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/4.576, allocations: 288 / 2.789 GB, free: 22.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/4.577, allocations: 39.83 kB / 2.789 GB, free: 22.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/4.577, allocations: 0 / 2.789 GB, free: 22.56 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/4.577, allocations: 4 kB / 2.789 GB, free: 22.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/4.577, allocations: 4 kB / 2.789 GB, free: 22.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/4.577, allocations: 7.938 kB / 2.789 GB, free: 22.54 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001856/4.577, allocations: 374.2 kB / 2.79 GB, free: 22.08 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.998e-05/4.577, allocations: 104.8 kB / 2.79 GB, free: 21.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.035e-05/4.577, allocations: 15.89 kB / 2.79 GB, free: 21.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/4.577, allocations: 19.92 kB / 2.79 GB, free: 21.92 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/4.577, allocations: 15.98 kB / 2.79 GB, free: 21.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/4.577, allocations: 8 kB / 2.79 GB, free: 21.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0001042/4.577, allocations: 175.5 kB / 2.79 GB, free: 21.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006324/4.578, allocations: 219.2 kB / 2.79 GB, free: 21.51 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001927/4.58, allocations: 1.65 MB / 2.792 GB, free: 19.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001453/4.58, allocations: 71.84 kB / 2.792 GB, free: 19.73 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/4.58, allocations: 0 / 2.792 GB, free: 19.73 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.434e-05/4.58, allocations: 52.8 kB / 2.792 GB, free: 19.68 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000511/4.581, allocations: 87.94 kB / 2.792 GB, free: 19.59 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009108/4.581, allocations: 0.5788 MB / 2.793 GB, free: 18.96 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003307/4.582, allocations: 0.9423 MB / 2.793 GB, free: 17.99 MB / 0.6042 GB Notification: Performance of SimCode: time 2.61e-07/4.582, allocations: 0 / 2.793 GB, free: 17.99 MB / 0.6042 GB Notification: Performance of Templates: time 0.0168/4.599, allocations: 11.86 MB / 2.805 GB, free: 6.195 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.sim & ./IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)