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: "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_HeatExchangers_test_DiscreteExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_HeatExchangers_test_DiscreteExchanger",fmuType="me",version="2.0",platforms={"static"}) [: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.003161/0.003161, allocations: 184.5 kB / 7.462 MB, free: 2.5 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.404/1.404, allocations: 205.2 MB / 213.1 MB, free: 13.87 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.001158/0.001158, allocations: 98.03 kB / 261.1 MB, free: 13.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06335/0.06335, allocations: 10.87 MB / 319.9 MB, free: 2.586 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01575/0.01575, allocations: 4.159 MB / 374.2 MB, free: 79.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1062/0.122, allocations: 57.61 MB / 431.8 MB, free: 21.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.2228, allocations: 50.75 MB / 482.5 MB, free: 2.988 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.973/2.196, allocations: 0.9491 GB / 1.42 GB, free: 108.9 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/2.196, allocations: 74.14 kB / 1.42 GB, free: 108.9 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 1.733/3.929, allocations: 0.6468 GB / 2.067 GB, free: 4.586 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/3.929, allocations: 17.33 kB / 2.067 GB, free: 4.574 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/3.931, allocations: 131 kB / 2.067 GB, free: 4.445 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/3.932, allocations: 0.5575 MB / 2.068 GB, free: 3.852 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.777e-05/3.932, allocations: 23.91 kB / 2.068 GB, free: 3.828 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003715/3.933, allocations: 51.92 kB / 2.068 GB, free: 3.777 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002514/3.935, allocations: 1.389 MB / 2.069 GB, free: 2.395 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/3.938, allocations: 1.197 MB / 2.07 GB, free: 1.137 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.03e-05/3.938, allocations: 3.938 kB / 2.07 GB, free: 1.133 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00014/3.938, allocations: 4 kB / 2.07 GB, free: 1.129 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-05/3.938, allocations: 45.3 kB / 2.07 GB, free: 1.086 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2111/4.149, allocations: 10.21 MB / 2.08 GB, free: 122.7 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/4.15, allocations: 0.9379 MB / 2.081 GB, free: 122.6 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007296/4.151, allocations: 0.6457 MB / 2.082 GB, free: 122.6 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01997/4.171, allocations: 8.936 MB / 2.091 GB, free: 118.7 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/4.171, allocations: 44.69 kB / 2.091 GB, free: 118.6 MB / 458.7 MB Notification: Performance of pre-optimization done (n=67): time 3.527e-06/4.171, allocations: 0 / 2.091 GB, free: 118.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=67): time 0.003572/4.175, allocations: 1.488 MB / 2.092 GB, free: 118.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/4.175, allocations: 140.2 kB / 2.092 GB, free: 118.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003232/4.175, allocations: 320.2 kB / 2.093 GB, free: 118.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.3e-05/4.175, allocations: 25.7 kB / 2.093 GB, free: 118.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/4.175, allocations: 300.1 kB / 2.093 GB, free: 118.1 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/4.175, allocations: 250.6 kB / 2.093 GB, free: 117.9 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-05/4.176, allocations: 0 / 2.093 GB, free: 117.9 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.505e-05/4.176, allocations: 368.3 kB / 2.094 GB, free: 117.6 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008322/4.176, allocations: 0.6453 MB / 2.094 GB, free: 117.6 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009202/4.177, allocations: 0.8364 MB / 2.095 GB, free: 117.4 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001872/4.179, allocations: 0.884 MB / 2.096 GB, free: 117.4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/4.179, allocations: 2.219 kB / 2.096 GB, free: 117.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003827/4.183, allocations: 1.917 MB / 2.098 GB, free: 117.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/4.183, allocations: 9.469 kB / 2.098 GB, free: 117.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/4.183, allocations: 10.25 kB / 2.098 GB, free: 117.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002622/4.183, allocations: 83.48 kB / 2.098 GB, free: 117.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/4.185, allocations: 340 kB / 2.098 GB, free: 117.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/4.187, allocations: 1.269 MB / 2.099 GB, free: 116.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/4.188, allocations: 115.5 kB / 2.1 GB, free: 116.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/4.188, allocations: 49.52 kB / 2.1 GB, free: 116.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.000223/4.188, allocations: 126.8 kB / 2.1 GB, free: 116.1 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003231/4.189, allocations: 97.75 kB / 2.1 GB, free: 116.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003316/4.192, allocations: 2.086 MB / 2.102 GB, free: 116 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/4.192, allocations: 10.31 kB / 2.102 GB, free: 116 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/4.192, allocations: 0 / 2.102 GB, free: 116 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/4.192, allocations: 10.88 kB / 2.102 GB, free: 116 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004257/4.196, allocations: 3.082 MB / 2.105 GB, free: 115.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/4.196, allocations: 0 / 2.105 GB, free: 115.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002027/4.198, allocations: 284.9 kB / 2.105 GB, free: 115.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004101/4.199, allocations: 326.3 kB / 2.105 GB, free: 115.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000121/4.199, allocations: 37.92 kB / 2.105 GB, free: 115.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/4.2, allocations: 1.542 MB / 2.107 GB, free: 114.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/4.2, allocations: 2.562 kB / 2.107 GB, free: 114.6 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003924/4.204, allocations: 2.7 MB / 2.11 GB, free: 114.3 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005155/4.209, allocations: 4.076 MB / 2.114 GB, free: 113.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/4.21, allocations: 142.9 kB / 2.114 GB, free: 113.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001963/4.21, allocations: 21.25 kB / 2.114 GB, free: 113.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009206/4.211, allocations: 49.83 kB / 2.114 GB, free: 113.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/4.211, allocations: 44.11 kB / 2.114 GB, free: 113.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/4.211, allocations: 35.83 kB / 2.114 GB, free: 113.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0002103/4.211, allocations: 230.1 kB / 2.114 GB, free: 113.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002474/4.214, allocations: 0.5245 MB / 2.115 GB, free: 113.4 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.002323/4.216, allocations: 0.8558 MB / 2.115 GB, free: 113.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002291/4.218, allocations: 1.637 MB / 2.117 GB, free: 113.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/4.218, allocations: 0 / 2.117 GB, free: 113.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001092/4.219, allocations: 0.873 MB / 2.118 GB, free: 113.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008196/4.22, allocations: 132.4 kB / 2.118 GB, free: 113.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002832/4.223, allocations: 1.896 MB / 2.12 GB, free: 112.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001049/4.224, allocations: 1.17 MB / 2.121 GB, free: 112.2 MB / 458.7 MB Notification: Performance of SimCode: time 4.7e-07/4.224, allocations: 0 / 2.121 GB, free: 112.2 MB / 458.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_HeatExchangers_test_DiscreteExchanger_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_HeatExchangers_test_DiscreteExchanger.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger.pipe 2>&1)