Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [: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.001071/0.001071, allocations: 191.5 kB / 7.804 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4525/0.4525, allocations: 90.85 MB / 99.07 MB, free: 14.92 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.235/1.235, allocations: 221.4 MB / 342.8 MB, free: 5.098 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.0009321/0.0009321, allocations: 94.02 kB / 415.5 MB, free: 6.391 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.945e-06/8.035e-06, allocations: 4 kB / 493.9 MB, free: 8.02 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3909, allocations: 72.31 MB / 0.5529 GB, free: 73.43 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6172/1.008, allocations: 324.8 MB / 0.8701 GB, free: 0.7539 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/1.009, allocations: 94.86 kB / 0.8702 GB, free: 0.6992 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.03244/1.041, allocations: 13.9 MB / 0.8838 GB, free: 5.793 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.312e-05/1.041, allocations: 4 kB / 0.8838 GB, free: 5.789 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001044/1.042, allocations: 469 kB / 0.8842 GB, free: 5.297 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/1.042, allocations: 8.031 kB / 0.8842 GB, free: 5.289 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.286e-05/1.042, allocations: 15.81 kB / 0.8843 GB, free: 5.273 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/1.043, allocations: 184.1 kB / 0.8844 GB, free: 5.055 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/1.043, allocations: 4 kB / 0.8844 GB, free: 5.051 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/1.043, allocations: 8 kB / 0.8844 GB, free: 5.043 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002361/1.043, allocations: 84.97 kB / 0.8845 GB, free: 4.988 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/1.043, allocations: 84.42 kB / 0.8846 GB, free: 4.918 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/1.043, allocations: 4 kB / 0.8846 GB, free: 4.914 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/1.043, allocations: 0 / 0.8846 GB, free: 4.914 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/1.043, allocations: 4 kB / 0.8846 GB, free: 4.91 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000865/1.044, allocations: 392.3 kB / 0.885 GB, free: 4.551 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/1.044, allocations: 87.33 kB / 0.8851 GB, free: 4.48 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.293e-05/1.044, allocations: 51.94 kB / 0.8851 GB, free: 4.441 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001197/1.046, allocations: 0.92 MB / 0.886 GB, free: 3.434 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/1.046, allocations: 36.69 kB / 0.8861 GB, free: 3.391 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=12): time 2.234e-06/1.046, allocations: 0 / 0.8861 GB, free: 3.391 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12): time 0.0005604/1.046, allocations: 141.4 kB / 0.8862 GB, free: 3.27 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/1.046, allocations: 51.41 kB / 0.8862 GB, free: 3.207 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/1.046, allocations: 139.4 kB / 0.8864 GB, free: 3.078 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/1.046, allocations: 25.7 kB / 0.8864 GB, free: 3.047 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.841e-05/1.046, allocations: 103.4 kB / 0.8865 GB, free: 2.949 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/1.046, allocations: 39.02 kB / 0.8865 GB, free: 2.914 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.055e-05/1.047, allocations: 4 kB / 0.8865 GB, free: 2.91 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001645/1.047, allocations: 326.5 kB / 0.8868 GB, free: 2.59 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.702e-05/1.047, allocations: 43.12 kB / 0.8869 GB, free: 2.566 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/1.047, allocations: 80.27 kB / 0.887 GB, free: 2.496 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005971/1.048, allocations: 150.4 kB / 0.8871 GB, free: 2.379 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.048, allocations: 0 / 0.8871 GB, free: 2.379 MB / 0.5417 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007511/1.048, allocations: 264 kB / 0.8874 GB, free: 2.16 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/1.048, allocations: 4 kB / 0.8874 GB, free: 2.156 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/1.048, allocations: 4.844 kB / 0.8874 GB, free: 2.152 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/1.048, allocations: 3.984 kB / 0.8874 GB, free: 2.148 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003076/1.049, allocations: 64 kB / 0.8874 GB, free: 2.086 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/1.049, allocations: 4 kB / 0.8874 GB, free: 2.082 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/1.049, allocations: 31.73 kB / 0.8875 GB, free: 2.051 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/1.049, allocations: 11.48 kB / 0.8875 GB, free: 2.043 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.676e-05/1.049, allocations: 112.9 kB / 0.8876 GB, free: 1.926 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/1.049, allocations: 11.81 kB / 0.8876 GB, free: 1.914 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004271/1.049, allocations: 149.2 kB / 0.8877 GB, free: 1.797 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/1.049, allocations: 3.984 kB / 0.8877 GB, free: 1.793 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.049, allocations: 0 / 0.8877 GB, free: 1.793 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/1.05, allocations: 4 kB / 0.8877 GB, free: 1.789 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/1.05, allocations: 189.3 kB / 0.8879 GB, free: 1.586 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.05, allocations: 0.9375 kB / 0.8879 GB, free: 1.586 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/1.05, allocations: 43.91 kB / 0.888 GB, free: 1.543 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/1.05, allocations: 0 / 0.888 GB, free: 1.543 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/1.05, allocations: 3.938 kB / 0.888 GB, free: 1.543 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.792e-06/1.05, allocations: 7.938 kB / 0.888 GB, free: 1.535 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.05, allocations: 0 / 0.888 GB, free: 1.535 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003946/1.05, allocations: 237.8 kB / 0.8882 GB, free: 1.312 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/1.05, allocations: 88.92 kB / 0.8883 GB, free: 1.207 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/1.05, allocations: 0 / 0.8883 GB, free: 1.207 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/1.051, allocations: 23.98 kB / 0.8883 GB, free: 1.184 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/1.051, allocations: 14.61 kB / 0.8883 GB, free: 1.176 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-06/1.051, allocations: 0 / 0.8883 GB, free: 1.176 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.096e-05/1.051, allocations: 111.3 kB / 0.8884 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003469/1.051, allocations: 67.83 kB / 0.8885 GB, free: 1.016 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0003239/1.051, allocations: 173 kB / 0.8887 GB, free: 0.8398 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002368/1.052, allocations: 123.4 kB / 0.8888 GB, free: 0.7539 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/1.052, allocations: 0 / 0.8888 GB, free: 0.7539 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.937e-05/1.052, allocations: 39.5 kB / 0.8888 GB, free: 0.7266 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/1.052, allocations: 23.55 kB / 0.8888 GB, free: 0.707 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004185/1.052, allocations: 138.7 kB / 0.889 GB, free: 0.5547 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003798/1.053, allocations: 0.7385 MB / 0.8897 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of SimCode: time 2.3e-07/1.053, allocations: 0 / 0.8897 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.006526/1.059, allocations: 2.733 MB / 0.8924 GB, free: 13.15 MB / 0.5573 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)