Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.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.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") [: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.0009772/0.0009773, allocations: 189.5 kB / 7.805 MB, free: 2.453 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4391/0.4391, 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.169/1.169, allocations: 221.4 MB / 342.8 MB, free: 5.121 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.001009/0.00101, allocations: 98.81 kB / 415.5 MB, free: 6.418 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 9.197e-06/9.207e-06, allocations: 4 kB / 493.9 MB, free: 8.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3207, allocations: 72.29 MB / 0.5529 GB, free: 73.22 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.537/0.8578, allocations: 372.5 MB / 0.9167 GB, free: 2.473 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.8581, allocations: 97.59 kB / 0.9168 GB, free: 2.422 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.278/2.136, allocations: 422.7 MB / 1.33 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002352/2.137, allocations: 51.53 kB / 1.33 GB, free: 108.4 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: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.004957/2.142, allocations: 1.862 MB / 1.331 GB, free: 106.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/2.142, allocations: 8.031 kB / 1.331 GB, free: 106.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001413/2.143, allocations: 229.5 kB / 1.332 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004802/2.148, allocations: 2.14 MB / 1.334 GB, free: 104.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.796e-05/2.148, allocations: 44 kB / 1.334 GB, free: 104.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004771/2.148, allocations: 95.8 kB / 1.334 GB, free: 104 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00285/2.151, allocations: 1.638 MB / 1.335 GB, free: 102.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002613/2.154, allocations: 1.679 MB / 1.337 GB, free: 100.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.404e-05/2.154, allocations: 7.922 kB / 1.337 GB, free: 100.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/2.154, allocations: 4 kB / 1.337 GB, free: 100.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-05/2.154, allocations: 39.94 kB / 1.337 GB, free: 100.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009269/2.163, allocations: 7.203 MB / 1.344 GB, free: 93.22 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/2.165, allocations: 1.243 MB / 1.345 GB, free: 91.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006145/2.165, allocations: 0.6259 MB / 1.346 GB, free: 91.35 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003843/2.169, allocations: 3.437 MB / 1.349 GB, free: 87.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/2.169, allocations: 56.17 kB / 1.349 GB, free: 87.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=86): time 3.887e-06/2.169, allocations: 0.8125 kB / 1.349 GB, free: 87.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=86): time 0.00217/2.171, allocations: 1.168 MB / 1.351 GB, free: 86.39 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/2.171, allocations: 61.06 kB / 1.351 GB, free: 86.32 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/2.173, allocations: 1.259 MB / 1.352 GB, free: 85.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.36e-05/2.173, allocations: 30.27 kB / 1.352 GB, free: 85.02 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002912/2.173, allocations: 0.6069 MB / 1.353 GB, free: 84.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/2.173, allocations: 295.7 kB / 1.353 GB, free: 84.11 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.023e-05/2.173, allocations: 7.938 kB / 1.353 GB, free: 84.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.818e-05/2.174, allocations: 361.8 kB / 1.353 GB, free: 83.74 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007101/2.174, allocations: 0.6676 MB / 1.354 GB, free: 83.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008175/2.175, allocations: 1.005 MB / 1.355 GB, free: 81.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002448/2.178, allocations: 1.266 MB / 1.356 GB, free: 80.69 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/2.178, allocations: 4 kB / 1.356 GB, free: 80.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.003736/2.181, allocations: 2.229 MB / 1.358 GB, free: 78.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005069/2.182, allocations: 3.483 MB / 1.362 GB, free: 74.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/2.182, allocations: 8.5 kB / 1.362 GB, free: 74.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.383e-05/2.182, allocations: 17.22 kB / 1.362 GB, free: 74.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/2.183, allocations: 343.5 kB / 1.362 GB, free: 74.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/2.183, allocations: 19.94 kB / 1.362 GB, free: 74.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/2.184, allocations: 158.3 kB / 1.362 GB, free: 74.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/2.184, allocations: 63.98 kB / 1.362 GB, free: 74.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.853e-06/2.184, allocations: 4.625 kB / 1.362 GB, free: 74.14 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003398/2.188, allocations: 2.062 MB / 1.364 GB, free: 72.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/2.188, allocations: 12 kB / 1.364 GB, free: 72.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/2.188, allocations: 16 kB / 1.364 GB, free: 72.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/2.189, allocations: 339.4 kB / 1.365 GB, free: 71.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/2.189, allocations: 22.12 kB / 1.365 GB, free: 71.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/2.19, allocations: 126.9 kB / 1.365 GB, free: 71.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/2.19, allocations: 63.98 kB / 1.365 GB, free: 71.51 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (176): * Single equations (assignments): 176 * 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 0.0002301/2.191, allocations: 136.6 kB / 1.365 GB, free: 71.37 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000237/2.191, allocations: 134.3 kB / 1.365 GB, free: 71.24 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00224/2.193, allocations: 1.318 MB / 1.366 GB, free: 69.92 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/2.193, allocations: 8 kB / 1.366 GB, free: 69.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/2.193, allocations: 0 / 1.366 GB, free: 69.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001591/2.195, allocations: 1.367 MB / 1.368 GB, free: 68.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004041/2.199, allocations: 2.812 MB / 1.37 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/2.199, allocations: 4 kB / 1.37 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000764/2.199, allocations: 167.8 kB / 1.371 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/2.2, allocations: 4 kB / 1.371 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-05/2.2, allocations: 15.98 kB / 1.371 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/2.2, allocations: 4 kB / 1.371 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/2.2, allocations: 0 / 1.371 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002401/2.202, allocations: 2.022 MB / 1.373 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006019/2.203, allocations: 395 kB / 1.373 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/2.203, allocations: 4 kB / 1.373 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007175/2.204, allocations: 31.97 kB / 1.373 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.389e-05/2.204, allocations: 52.61 kB / 1.373 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-05/2.204, allocations: 39.97 kB / 1.373 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.001007/2.205, allocations: 0.9771 MB / 1.374 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002329/2.207, allocations: 0.9427 MB / 1.375 GB, free: 60.91 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (indTanHex.vol[1].dynBal.U,indTanHex.vol[2].dynBal.U,indTanHex.vol[3].dynBal.U,indTanHex.cap[1].T,indTanHex.cap[2].T,indTanHex.cap[3].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0008429/2.208, allocations: 0.4887 MB / 1.375 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002511/2.21, allocations: 2.308 MB / 1.378 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/2.21, allocations: 0 / 1.378 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004855/2.211, allocations: 0.5064 MB / 1.378 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002458/2.213, allocations: 0.5997 MB / 1.379 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004385/2.218, allocations: 3.064 MB / 1.382 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001237/2.219, allocations: 1.851 MB / 1.384 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of SimCode: time 6.12e-07/2.219, allocations: 0 / 1.384 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of Templates: time 0.04798/2.267, allocations: 35.13 MB / 1.418 GB, free: 17.33 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)