Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo", uses=false) Using package TAeZoSysPro_testsuite with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo) Using package TAeZoSysPro with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo) 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) Running command: translateModel(TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger") translateModel(TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger") [: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 3.2.3+maint.om/package.mo): time 0.003737/0.003737, allocations: 178 kB / 7.454 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 205.2 MB / 213.1 MB, free: 13.9 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001287/0.001287, allocations: 97.64 kB / 261.1 MB, free: 13.6 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.0624/0.0624, allocations: 10.87 MB / 319.9 MB, free: 2.598 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01795/0.01795, allocations: 4.149 MB / 374.2 MB, free: 79.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.165e-06/8.195e-06, allocations: 0 / 431.7 MB, free: 21.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1282, allocations: 50.77 MB / 482.4 MB, free: 3.043 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.498/2.626, allocations: 0.9491 GB / 1.42 GB, free: 122 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003724/2.626, allocations: 78.77 kB / 1.42 GB, free: 121.9 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.13/4.757, allocations: 0.6451 GB / 2.065 GB, free: 19.04 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.334e-05/4.757, allocations: 23.83 kB / 2.065 GB, free: 19.02 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.007572/4.764, allocations: 1.718 MB / 2.067 GB, free: 17.38 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.817e-05/4.764, allocations: 9.531 kB / 2.067 GB, free: 17.37 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/4.766, allocations: 135.1 kB / 2.067 GB, free: 17.24 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001593/4.768, allocations: 0.5535 MB / 2.068 GB, free: 16.65 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.609e-05/4.768, allocations: 23.91 kB / 2.068 GB, free: 16.63 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000447/4.768, allocations: 48 kB / 2.068 GB, free: 16.58 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002776/4.771, allocations: 1.386 MB / 2.069 GB, free: 15.2 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002324/4.773, allocations: 1.197 MB / 2.07 GB, free: 13.94 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.413e-05/4.773, allocations: 4 kB / 2.07 GB, free: 13.94 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001917/4.774, allocations: 0 / 2.07 GB, free: 13.94 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.567e-05/4.774, allocations: 49.28 kB / 2.07 GB, free: 13.89 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02427/4.798, allocations: 10.23 MB / 2.08 GB, free: 3.07 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002104/4.8, allocations: 0.9344 MB / 2.081 GB, free: 2.133 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/4.801, allocations: 0.6432 MB / 2.082 GB, free: 1.484 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3372/5.139, allocations: 8.941 MB / 2.091 GB, free: 121.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.057e-05/5.139, allocations: 42.34 kB / 2.091 GB, free: 121.5 MB / 458.7 MB Notification: Performance of pre-optimization done (n=67): time 3.417e-06/5.139, allocations: 0 / 2.091 GB, free: 121.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=67): time 0.004128/5.143, allocations: 1.484 MB / 2.092 GB, free: 121.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.049e-05/5.143, allocations: 136.5 kB / 2.092 GB, free: 121.3 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004043/5.143, allocations: 316.4 kB / 2.093 GB, free: 121.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.415e-05/5.143, allocations: 29.36 kB / 2.093 GB, free: 121.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/5.144, allocations: 305.7 kB / 2.093 GB, free: 121 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002329/5.144, allocations: 251.1 kB / 2.093 GB, free: 120.9 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.104e-05/5.144, allocations: 0 / 2.093 GB, free: 120.9 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/5.144, allocations: 363.3 kB / 2.093 GB, free: 120.6 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008804/5.145, allocations: 0.6472 MB / 2.094 GB, free: 120.6 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009555/5.146, allocations: 0.8372 MB / 2.095 GB, free: 120.4 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001965/5.148, allocations: 0.8778 MB / 2.096 GB, free: 120.4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.77e-06/5.148, allocations: 0 / 2.096 GB, free: 120.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003937/5.152, allocations: 1.919 MB / 2.098 GB, free: 120.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/5.152, allocations: 11.28 kB / 2.098 GB, free: 120.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/5.152, allocations: 7.062 kB / 2.098 GB, free: 120.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002665/5.152, allocations: 78.88 kB / 2.098 GB, free: 120.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002124/5.154, allocations: 339.5 kB / 2.098 GB, free: 120.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00151/5.156, allocations: 1.277 MB / 2.099 GB, free: 119.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/5.157, allocations: 109.1 kB / 2.099 GB, free: 119.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/5.157, allocations: 53.39 kB / 2.099 GB, free: 119.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 118 * 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 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003029/5.157, allocations: 128.4 kB / 2.1 GB, free: 119.1 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003614/5.158, allocations: 97.12 kB / 2.1 GB, free: 119.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003845/5.162, allocations: 2.092 MB / 2.102 GB, free: 119 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/5.162, allocations: 11.45 kB / 2.102 GB, free: 119 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/5.162, allocations: 3.812 kB / 2.102 GB, free: 119 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/5.162, allocations: 3.469 kB / 2.102 GB, free: 119 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005329/5.167, allocations: 3.09 MB / 2.105 GB, free: 118.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/5.167, allocations: 0 / 2.105 GB, free: 118.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002163/5.169, allocations: 290.1 kB / 2.105 GB, free: 118.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005921/5.17, allocations: 318.3 kB / 2.105 GB, free: 118.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/5.17, allocations: 37.45 kB / 2.105 GB, free: 118.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001983/5.172, allocations: 1.544 MB / 2.107 GB, free: 117.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.917e-06/5.172, allocations: 4.812 kB / 2.107 GB, free: 117.6 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005334/5.177, allocations: 2.694 MB / 2.11 GB, free: 117.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002777/5.178, allocations: 144.6 kB / 2.11 GB, free: 117.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002904/5.178, allocations: 26.33 kB / 2.11 GB, free: 117.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/5.179, allocations: 43.7 kB / 2.11 GB, free: 117.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/5.179, allocations: 51.34 kB / 2.11 GB, free: 117.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/5.179, allocations: 37.42 kB / 2.11 GB, free: 117.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0003539/5.18, allocations: 228.5 kB / 2.11 GB, free: 117.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002968/5.183, allocations: 469.1 kB / 2.11 GB, free: 117 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 21 (discreteExchanger.E,discreteExchanger.transport_A.u[1,1],discreteExchanger.transport_A.u[2,1],discreteExchanger.transport_A.u[3,1],discreteExchanger.transport_A.u[4,1],discreteExchanger.transport_A.u[5,1],discreteExchanger.transport_A.u[6,1],discreteExchanger.transport_A.u[7,1],discreteExchanger.transport_A.u[8,1],discreteExchanger.transport_A.u[9,1],discreteExchanger.transport_A.u[10,1],discreteExchanger.transport_B.u[1,1],discreteExchanger.transport_B.u[2,1],discreteExchanger.transport_B.u[3,1],discreteExchanger.transport_B.u[4,1],discreteExchanger.transport_B.u[5,1],discreteExchanger.transport_B.u[6,1],discreteExchanger.transport_B.u[7,1],discreteExchanger.transport_B.u[8,1],discreteExchanger.transport_B.u[9,1],discreteExchanger.transport_B.u[10,1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 61 * 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 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003495/5.186, allocations: 0.8456 MB / 2.111 GB, free: 116.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003438/5.19, allocations: 1.64 MB / 2.113 GB, free: 116.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/5.19, allocations: 0 / 2.113 GB, free: 116.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00151/5.191, allocations: 0.8732 MB / 2.114 GB, free: 116.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/5.192, allocations: 137.4 kB / 2.114 GB, free: 116.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004057/5.197, allocations: 1.872 MB / 2.116 GB, free: 116.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001411/5.198, allocations: 1.093 MB / 2.117 GB, free: 115.8 MB / 458.7 MB Notification: Performance of SimCode: time 4.388e-06/5.198, allocations: 0 / 2.117 GB, free: 115.8 MB / 458.7 MB Notification: Performance of Templates: time 0.04411/5.242, allocations: 22.39 MB / 2.139 GB, free: 115.5 MB / 458.7 MB make -j1 -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger.makefile (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger.sim & ./TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger.pipe 2>&1)