Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.Manifold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.Manifold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.Manifold") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.Manifold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.Manifold") [: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 1.6.0+build.1/package.mo): time 0.5432/0.5432, allocations: 94.74 MB / 102 MB, free: 10.36 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001272/0.001272, allocations: 188.5 kB / 125.3 MB, free: 12 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.227/1.227, allocations: 170.5 MB / 319 MB, free: 9.355 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001702/0.001701, allocations: 111.2 kB / 381 MB, free: 18.14 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.946e-06/8.967e-06, allocations: 4 kB / 448.6 MB, free: 2.109 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1522, allocations: 61.53 MB / 0.4981 GB, free: 4.492 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.169/1.322, allocations: 411.3 MB / 0.8998 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/1.322, allocations: 99.84 kB / 0.8999 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.879/4.201, allocations: 0.8636 GB / 1.764 GB, free: 64.66 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0007387/4.202, allocations: 91.31 kB / 1.764 GB, free: 64.64 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 557 * Number of variables: 557 Notification: Performance of Generate backend data structure: time 0.01195/4.214, allocations: 3.668 MB / 1.767 GB, free: 63.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/4.214, allocations: 8.812 kB / 1.767 GB, free: 63.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002564/4.217, allocations: 385.1 kB / 1.768 GB, free: 63.51 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01166/4.228, allocations: 4.612 MB / 1.772 GB, free: 62.91 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-05/4.228, allocations: 69.78 kB / 1.772 GB, free: 62.91 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005027/4.229, allocations: 134.5 kB / 1.772 GB, free: 62.91 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005348/4.234, allocations: 3.866 MB / 1.776 GB, free: 62.89 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00482/4.239, allocations: 3.467 MB / 1.779 GB, free: 62.67 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.445e-05/4.239, allocations: 2.844 kB / 1.779 GB, free: 62.67 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00027/4.24, allocations: 3.719 kB / 1.779 GB, free: 62.67 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.594e-05/4.24, allocations: 53.25 kB / 1.78 GB, free: 62.67 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02267/4.262, allocations: 16.75 MB / 1.796 GB, free: 54.98 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001917/4.264, allocations: 1.26 MB / 1.797 GB, free: 54.96 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001708/4.266, allocations: 1.525 MB / 1.799 GB, free: 54.95 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000252/4.266, allocations: 269.6 kB / 1.799 GB, free: 54.66 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/4.266, allocations: 48.56 kB / 1.799 GB, free: 54.62 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=81): time 3.407e-06/4.266, allocations: 0 / 1.799 GB, free: 54.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85): time 0.01897/4.285, allocations: 6.372 MB / 1.805 GB, free: 53.79 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.523e-05/4.285, allocations: 111.9 kB / 1.805 GB, free: 53.66 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003695/4.289, allocations: 1.812 MB / 1.807 GB, free: 53.46 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002614/4.289, allocations: 28.64 kB / 1.807 GB, free: 53.43 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007859/4.29, allocations: 0.9316 MB / 1.808 GB, free: 52.94 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004983/4.291, allocations: 293 kB / 1.808 GB, free: 52.75 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/4.291, allocations: 1.188 kB / 1.808 GB, free: 52.75 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001053/4.291, allocations: 337.2 kB / 1.809 GB, free: 52.45 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001577/4.293, allocations: 1.001 MB / 1.81 GB, free: 52.44 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0018/4.294, allocations: 1.352 MB / 1.811 GB, free: 52.02 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003658/4.298, allocations: 1.473 MB / 1.812 GB, free: 52 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/4.298, allocations: 2.656 kB / 1.812 GB, free: 52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.006595/4.305, allocations: 3.101 MB / 1.815 GB, free: 51.83 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004426/4.305, allocations: 1.598 MB / 1.817 GB, free: 50.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/4.305, allocations: 7 kB / 1.817 GB, free: 50.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/4.306, allocations: 428.4 kB / 1.817 GB, free: 50.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001515/4.308, allocations: 266.5 kB / 1.818 GB, free: 50.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005194/4.313, allocations: 2.372 MB / 1.82 GB, free: 49.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003969/4.317, allocations: 323.1 kB / 1.82 GB, free: 49.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002973/4.317, allocations: 88.7 kB / 1.82 GB, free: 49.04 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/4.317, allocations: 4.188 kB / 1.82 GB, free: 49.04 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005573/4.323, allocations: 2.801 MB / 1.823 GB, free: 48.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/4.323, allocations: 7.562 kB / 1.823 GB, free: 48.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008035/4.324, allocations: 334.2 kB / 1.823 GB, free: 48.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/4.325, allocations: 265.8 kB / 1.824 GB, free: 48.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007492/4.333, allocations: 5.14 MB / 1.829 GB, free: 46.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004035/4.337, allocations: 316.1 kB / 1.829 GB, free: 46.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000235/4.337, allocations: 79 kB / 1.829 GB, free: 46.16 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 6,13 14} Notification: Performance of prepare postOptimizeDAE: time 0.0008332/4.338, allocations: 128.7 kB / 1.829 GB, free: 46.05 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006827/4.338, allocations: 211.3 kB / 1.829 GB, free: 45.93 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007601/4.346, allocations: 3.094 MB / 1.832 GB, free: 45.82 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/4.346, allocations: 11.47 kB / 1.832 GB, free: 45.82 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/4.346, allocations: 0 / 1.832 GB, free: 45.82 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.126e-05/4.346, allocations: 5.297 kB / 1.832 GB, free: 45.82 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01277/4.359, allocations: 4.672 MB / 1.837 GB, free: 45.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/4.359, allocations: 0 / 1.837 GB, free: 45.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/4.36, allocations: 159 kB / 1.837 GB, free: 45.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007856/4.361, allocations: 390.4 kB / 1.837 GB, free: 45.34 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/4.361, allocations: 17.73 kB / 1.837 GB, free: 45.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003454/4.364, allocations: 2.257 MB / 1.84 GB, free: 44.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-06/4.364, allocations: 6.641 kB / 1.84 GB, free: 44.28 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006655/4.371, allocations: 3.515 MB / 1.843 GB, free: 43.98 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001599/4.373, allocations: 273.6 kB / 1.843 GB, free: 43.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008978/4.374, allocations: 6.281 kB / 1.843 GB, free: 43.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002979/4.377, allocations: 279.2 kB / 1.844 GB, free: 43.76 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002204/4.377, allocations: 60.14 kB / 1.844 GB, free: 43.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001579/4.377, allocations: 33.66 kB / 1.844 GB, free: 43.76 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.003695/4.381, allocations: 1.443 MB / 1.845 GB, free: 43.62 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009862/4.391, allocations: 1.348 MB / 1.846 GB, free: 43.58 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (ducFixRes_2.vol.dynBal.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 69 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 5,13 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.002341/4.393, allocations: 0.6173 MB / 1.847 GB, free: 43.43 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008347/4.401, allocations: 3.833 MB / 1.851 GB, free: 43.17 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/4.401, allocations: 0.7812 kB / 1.851 GB, free: 43.17 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002163/4.404, allocations: 1.004 MB / 1.852 GB, free: 43.14 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005731/4.409, allocations: 0.8671 MB / 1.853 GB, free: 43.12 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01452/4.424, allocations: 4.612 MB / 1.857 GB, free: 42.26 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00565/4.43, allocations: 2.616 MB / 1.86 GB, free: 41.23 MB / 0.5261 GB Notification: Performance of SimCode: time 1.443e-06/4.43, allocations: 0 / 1.86 GB, free: 41.23 MB / 0.5261 GB Notification: Performance of Templates: time 0.3873/4.817, allocations: 57.65 MB / 1.916 GB, free: 107.6 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.Manifold.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.Manifold.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.Manifold.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.Manifold.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.Manifold.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.Manifold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.Manifold.pipe 2>&1)