Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.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_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.579/1.579, allocations: 289.8 MB / 297.1 MB, free: 6.703 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.001164/0.001164, allocations: 181.3 kB / 366.3 MB, free: 1.992 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.726/1.726, allocations: 205.1 MB / 0.6256 GB, free: 5.809 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.001007/0.001007, allocations: 92.12 kB / 0.7396 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.837e-06/8.957e-06, allocations: 4 kB / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7879/0.7879, allocations: 116.3 MB / 0.9726 GB, free: 68.28 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.204/4.992, allocations: 2.065 GB / 3.038 GB, free: 10.89 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/4.992, allocations: 88.8 kB / 3.038 GB, free: 10.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.827/6.82, allocations: 411 MB / 3.439 GB, free: 238.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.687e-05/6.82, allocations: 20.84 kB / 3.439 GB, free: 238.9 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.001567/6.822, allocations: 0.8471 MB / 3.44 GB, free: 238.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/6.822, allocations: 11.38 kB / 3.44 GB, free: 238.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/6.822, allocations: 67.34 kB / 3.44 GB, free: 238.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006736/6.822, allocations: 428.1 kB / 3.441 GB, free: 238.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/6.822, allocations: 20.25 kB / 3.441 GB, free: 238.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.895e-05/6.822, allocations: 31.66 kB / 3.441 GB, free: 238.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004561/6.823, allocations: 288.9 kB / 3.441 GB, free: 238.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007379/6.824, allocations: 0.5924 MB / 3.441 GB, free: 238 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/6.824, allocations: 8.625 kB / 3.441 GB, free: 238 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.923e-05/6.824, allocations: 7.281 kB / 3.441 GB, free: 238 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.746e-05/6.824, allocations: 32.52 kB / 3.442 GB, free: 238 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001922/6.826, allocations: 2.993 MB / 3.444 GB, free: 235.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/6.826, allocations: 201.1 kB / 3.445 GB, free: 235.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/6.826, allocations: 113.1 kB / 3.445 GB, free: 235.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/6.826, allocations: 6.75 kB / 3.445 GB, free: 235.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/6.826, allocations: 44.72 kB / 3.445 GB, free: 235.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 1.793e-06/6.826, allocations: 3.844 kB / 3.445 GB, free: 235.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0004338/6.827, allocations: 130.9 kB / 3.445 GB, free: 235.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/6.827, allocations: 295.5 kB / 3.445 GB, free: 235 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/6.827, allocations: 219.4 kB / 3.445 GB, free: 234.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/6.827, allocations: 27.3 kB / 3.445 GB, free: 234.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/6.827, allocations: 262.9 kB / 3.446 GB, free: 234.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/6.827, allocations: 31.58 kB / 3.446 GB, free: 234.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.675e-06/6.827, allocations: 0 / 3.446 GB, free: 234.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.543e-05/6.827, allocations: 339 kB / 3.446 GB, free: 234.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.595e-05/6.827, allocations: 26.08 kB / 3.446 GB, free: 234.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.798e-05/6.827, allocations: 104.9 kB / 3.446 GB, free: 234.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.383e-05/6.827, allocations: 40.27 kB / 3.446 GB, free: 234.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/6.828, allocations: 0 / 3.446 GB, free: 234.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001532/6.828, allocations: 125.6 kB / 3.446 GB, free: 234.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/6.828, allocations: 3.969 kB / 3.446 GB, free: 234.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/6.828, allocations: 7.812 kB / 3.446 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/6.828, allocations: 2.844 kB / 3.446 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/6.828, allocations: 26.48 kB / 3.446 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/6.828, allocations: 0 / 3.446 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/6.828, allocations: 28.09 kB / 3.446 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.296e-05/6.828, allocations: 13.41 kB / 3.446 GB, free: 234.2 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 8.26e-05/6.828, allocations: 114.1 kB / 3.447 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/6.828, allocations: 26.03 kB / 3.447 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.435e-05/6.829, allocations: 30.33 kB / 3.447 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/6.829, allocations: 6.938 kB / 3.447 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/6.829, allocations: 3.844 kB / 3.447 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/6.829, allocations: 3.344 kB / 3.447 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/6.83, allocations: 1.219 MB / 3.448 GB, free: 233.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/6.83, allocations: 3.844 kB / 3.448 GB, free: 233.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.303e-05/6.83, allocations: 22.92 kB / 3.448 GB, free: 233.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/6.83, allocations: 10.88 kB / 3.448 GB, free: 233.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/6.83, allocations: 0 / 3.448 GB, free: 233.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/6.83, allocations: 9.672 kB / 3.448 GB, free: 233.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/6.83, allocations: 7.062 kB / 3.448 GB, free: 233.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003173/6.83, allocations: 382.8 kB / 3.448 GB, free: 232.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.288e-05/6.83, allocations: 110.1 kB / 3.448 GB, free: 232.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/6.83, allocations: 10.12 kB / 3.448 GB, free: 232.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/6.831, allocations: 25.11 kB / 3.448 GB, free: 232.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.374e-05/6.831, allocations: 14.95 kB / 3.448 GB, free: 232.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/6.831, allocations: 7.531 kB / 3.448 GB, free: 232.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0001346/6.831, allocations: 180.7 kB / 3.449 GB, free: 232.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009291/6.832, allocations: 207.6 kB / 3.449 GB, free: 232.6 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.002483/6.834, allocations: 1.643 MB / 3.45 GB, free: 232.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001925/6.834, allocations: 73.5 kB / 3.45 GB, free: 232.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/6.834, allocations: 0 / 3.45 GB, free: 232.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.087e-05/6.835, allocations: 48.75 kB / 3.45 GB, free: 232.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000585/6.835, allocations: 93.81 kB / 3.451 GB, free: 232.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/6.836, allocations: 0.5864 MB / 3.451 GB, free: 232 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003735/6.837, allocations: 0.9305 MB / 3.452 GB, free: 231.2 MB / 0.948 GB Notification: Performance of SimCode: time 5.01e-07/6.837, allocations: 2.938 kB / 3.452 GB, free: 231.2 MB / 0.948 GB Notification: Performance of Templates: time 0.01837/6.855, allocations: 11.83 MB / 3.464 GB, free: 231.1 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)