Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.554/1.554, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.00115/0.00115, allocations: 185.3 kB / 361.1 MB, free: 7.086 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.577/1.577, allocations: 205.1 MB / 0.6195 GB, free: 10.25 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.0008448/0.0008448, allocations: 103.8 kB / 0.7326 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.167e-06/9.177e-06, allocations: 4 kB / 0.8511 GB, free: 2.957 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6528/0.6528, allocations: 115.3 MB / 0.9637 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.827/4.479, allocations: 2.064 GB / 3.028 GB, free: 91.84 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/4.48, allocations: 88.94 kB / 3.028 GB, free: 91.75 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.207/5.686, allocations: 411 MB / 3.429 GB, free: 61.43 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.766e-05/5.686, allocations: 28.2 kB / 3.429 GB, free: 61.4 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001681/5.688, allocations: 0.8413 MB / 3.43 GB, free: 60.51 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/5.688, allocations: 12.03 kB / 3.43 GB, free: 60.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001903/5.688, allocations: 71.16 kB / 3.43 GB, free: 60.43 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000669/5.689, allocations: 431.6 kB / 3.431 GB, free: 59.97 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/5.689, allocations: 16 kB / 3.431 GB, free: 59.95 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.881e-05/5.689, allocations: 32 kB / 3.431 GB, free: 59.92 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004712/5.69, allocations: 290.4 kB / 3.431 GB, free: 59.64 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006771/5.69, allocations: 0.5998 MB / 3.432 GB, free: 58.96 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/5.69, allocations: 7.984 kB / 3.432 GB, free: 58.95 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.566e-05/5.69, allocations: 0 / 3.432 GB, free: 58.95 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.833e-05/5.69, allocations: 35.86 kB / 3.432 GB, free: 58.91 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001849/5.692, allocations: 2.986 MB / 3.435 GB, free: 55.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/5.692, allocations: 207 kB / 3.435 GB, free: 55.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.236e-05/5.692, allocations: 112.6 kB / 3.435 GB, free: 55.36 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/5.692, allocations: 8 kB / 3.435 GB, free: 55.36 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/5.692, allocations: 42.5 kB / 3.435 GB, free: 55.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 1.683e-06/5.692, allocations: 0 / 3.435 GB, free: 55.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0003954/5.693, allocations: 141.1 kB / 3.435 GB, free: 55.16 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/5.693, allocations: 290.7 kB / 3.435 GB, free: 54.81 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/5.693, allocations: 223.6 kB / 3.436 GB, free: 54.59 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/5.693, allocations: 26.02 kB / 3.436 GB, free: 54.55 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.807e-05/5.693, allocations: 263.5 kB / 3.436 GB, free: 54.29 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/5.693, allocations: 31.55 kB / 3.436 GB, free: 54.26 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/5.693, allocations: 0 / 3.436 GB, free: 54.26 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.712e-05/5.693, allocations: 338.8 kB / 3.436 GB, free: 53.92 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.417e-05/5.693, allocations: 19.98 kB / 3.436 GB, free: 53.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.706e-05/5.693, allocations: 100.6 kB / 3.436 GB, free: 53.77 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.767e-05/5.694, allocations: 35.92 kB / 3.436 GB, free: 53.73 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/5.694, allocations: 0 / 3.436 GB, free: 53.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001572/5.694, allocations: 133.2 kB / 3.436 GB, free: 53.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/5.694, allocations: 4 kB / 3.436 GB, free: 53.59 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/5.694, allocations: 4 kB / 3.436 GB, free: 53.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/5.694, allocations: 4.312 kB / 3.437 GB, free: 53.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/5.694, allocations: 27.98 kB / 3.437 GB, free: 53.56 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/5.694, allocations: 4 kB / 3.437 GB, free: 53.55 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/5.694, allocations: 32.03 kB / 3.437 GB, free: 53.52 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/5.694, allocations: 8 kB / 3.437 GB, free: 53.52 MB / 0.948 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 6.269e-05/5.694, allocations: 112.8 kB / 3.437 GB, free: 53.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/5.694, allocations: 31.98 kB / 3.437 GB, free: 53.37 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.885e-05/5.694, allocations: 32.98 kB / 3.437 GB, free: 53.33 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/5.694, allocations: 4 kB / 3.437 GB, free: 53.33 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/5.694, allocations: 11.84 kB / 3.437 GB, free: 53.32 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/5.694, allocations: 4 kB / 3.437 GB, free: 53.31 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/5.696, allocations: 1.215 MB / 3.438 GB, free: 52.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/5.696, allocations: 0 / 3.438 GB, free: 52.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.988e-05/5.696, allocations: 27.98 kB / 3.438 GB, free: 51.99 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/5.696, allocations: 288 / 3.438 GB, free: 51.99 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/5.696, allocations: 11.91 kB / 3.438 GB, free: 51.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/5.696, allocations: 4 kB / 3.438 GB, free: 51.98 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/5.696, allocations: 7.938 kB / 3.438 GB, free: 51.97 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002023/5.696, allocations: 378.2 kB / 3.438 GB, free: 51.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.84e-05/5.696, allocations: 104.8 kB / 3.438 GB, free: 51.38 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/5.696, allocations: 4 kB / 3.438 GB, free: 51.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/5.696, allocations: 23.89 kB / 3.438 GB, free: 51.35 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/5.696, allocations: 15.98 kB / 3.438 GB, free: 51.34 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/5.696, allocations: 4 kB / 3.439 GB, free: 51.33 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0001078/5.696, allocations: 175.1 kB / 3.439 GB, free: 51.16 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007072/5.697, allocations: 227.2 kB / 3.439 GB, free: 50.94 MB / 0.948 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.001903/5.699, allocations: 1.647 MB / 3.44 GB, free: 49.23 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001604/5.699, allocations: 75.91 kB / 3.441 GB, free: 49.15 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/5.699, allocations: 0 / 3.441 GB, free: 49.15 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.462e-05/5.699, allocations: 51.84 kB / 3.441 GB, free: 49.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005264/5.7, allocations: 87.41 kB / 3.441 GB, free: 49.02 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009499/5.701, allocations: 0.584 MB / 3.441 GB, free: 48.39 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003574/5.701, allocations: 0.9314 MB / 3.442 GB, free: 47.43 MB / 0.948 GB Notification: Performance of SimCode: time 2.6e-07/5.701, allocations: 3.938 kB / 3.442 GB, free: 47.43 MB / 0.948 GB Notification: Performance of Templates: time 0.01732/5.718, allocations: 11.85 MB / 3.454 GB, free: 35.64 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)