Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_80.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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_80,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_80,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_80",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:33: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.0009038/0.0009038, allocations: 183.5 kB / 8.135 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.009/1.009, allocations: 221.4 MB / 229.9 MB, free: 3.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008292/0.0008293, allocations: 106.5 kB / 280.8 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5839/0.5839, allocations: 120.4 MB / 452 MB, free: 13.01 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2991/0.883, allocations: 89.72 MB / 0.529 GB, free: 51.66 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0962/0.9792, allocations: 82.83 MB / 0.6099 GB, free: 2.75 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4075/1.387, allocations: 124.8 MB / 0.7318 GB, free: 4.527 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001092/1.387, allocations: 48.55 kB / 0.7318 GB, free: 4.512 MB / 0.4953 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 558 * Number of variables: 558 Notification: Performance of Generate backend data structure: time 0.156/1.543, allocations: 50.18 MB / 0.7808 GB, free: 5.883 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/1.543, allocations: 11.98 kB / 0.7808 GB, free: 5.871 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006293/1.544, allocations: 233.8 kB / 0.7811 GB, free: 5.641 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003531/1.547, allocations: 1.17 MB / 0.7822 GB, free: 4.43 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.371e-05/1.547, allocations: 68 kB / 0.7823 GB, free: 4.363 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006384/1.548, allocations: 301.5 kB / 0.7826 GB, free: 4.098 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004496/1.552, allocations: 3.15 MB / 0.7856 GB, free: 1.781 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004885/1.557, allocations: 3.292 MB / 0.7889 GB, free: 15.13 MB / 0.5578 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.66e-05/1.557, allocations: 0 / 0.7889 GB, free: 15.13 MB / 0.5578 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003027/1.558, allocations: 0 / 0.7889 GB, free: 15.13 MB / 0.5578 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.904e-05/1.558, allocations: 52 kB / 0.7889 GB, free: 15.08 MB / 0.5578 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0205/1.578, allocations: 17.07 MB / 0.8056 GB, free: 13.06 MB / 0.5734 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005185/1.583, allocations: 3.864 MB / 0.8094 GB, free: 10.16 MB / 0.5734 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002961/1.586, allocations: 2.71 MB / 0.812 GB, free: 8.414 MB / 0.5734 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003317/1.587, allocations: 39.14 kB / 0.812 GB, free: 8.375 MB / 0.5734 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/1.587, allocations: 69.02 kB / 0.8121 GB, free: 8.32 MB / 0.5734 GB Notification: Performance of pre-optimization done (n=399): time 4.038e-06/1.587, allocations: 8 kB / 0.8121 GB, free: 8.312 MB / 0.5734 GB Notification: Performance of matching and sorting (n=399): time 0.006472/1.593, allocations: 4.62 MB / 0.8166 GB, free: 4.707 MB / 0.5734 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/1.593, allocations: 90.55 kB / 0.8167 GB, free: 4.605 MB / 0.5734 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/1.593, allocations: 192.7 kB / 0.8169 GB, free: 4.449 MB / 0.5734 GB Notification: Performance of collectPreVariables (initialization): time 0.000277/1.594, allocations: 25.7 kB / 0.8169 GB, free: 4.418 MB / 0.5734 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/1.594, allocations: 310.1 kB / 0.8172 GB, free: 4.129 MB / 0.5734 GB Notification: Performance of collectInitialBindings (initialization): time 0.000945/1.595, allocations: 1.596 MB / 0.8188 GB, free: 2.727 MB / 0.5734 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002845/1.595, allocations: 0 / 0.8188 GB, free: 2.727 MB / 0.5734 GB Notification: Performance of setup shared object (initialization): time 0.0001857/1.595, allocations: 0.5098 MB / 0.8193 GB, free: 2.285 MB / 0.5734 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003054/1.598, allocations: 2.325 MB / 0.8215 GB, free: 0.6094 MB / 0.5734 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003142/1.601, allocations: 2.625 MB / 0.8241 GB, free: 14.7 MB / 0.589 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003355/1.605, allocations: 2.69 MB / 0.8267 GB, free: 12.65 MB / 0.589 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/1.605, allocations: 0 / 0.8267 GB, free: 12.65 MB / 0.589 GB Notification: Performance of matching and sorting (n=637) (initialization): time 0.007531/1.612, allocations: 5.758 MB / 0.8324 GB, free: 8.133 MB / 0.589 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/1.612, allocations: 4 kB / 0.8324 GB, free: 8.129 MB / 0.589 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/1.612, allocations: 4 kB / 0.8324 GB, free: 8.125 MB / 0.589 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.463e-05/1.612, allocations: 20.84 kB / 0.8324 GB, free: 8.105 MB / 0.589 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008925/1.621, allocations: 2.133 MB / 0.8345 GB, free: 6.012 MB / 0.589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.47e-05/1.621, allocations: 20 kB / 0.8345 GB, free: 5.992 MB / 0.589 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002865/1.624, allocations: 368 kB / 0.8348 GB, free: 5.629 MB / 0.589 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003765/1.625, allocations: 142.1 kB / 0.835 GB, free: 5.527 MB / 0.589 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (637): * Single equations (assignments): 637 * 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.0006191/1.625, allocations: 168 kB / 0.8351 GB, free: 5.355 MB / 0.589 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004013/1.626, allocations: 146.4 kB / 0.8353 GB, free: 5.211 MB / 0.589 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009256/1.627, allocations: 0.5229 MB / 0.8358 GB, free: 5.184 MB / 0.589 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.662e-05/1.627, allocations: 36 kB / 0.8358 GB, free: 5.148 MB / 0.589 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/1.627, allocations: 7.938 kB / 0.8358 GB, free: 5.141 MB / 0.589 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.651e-05/1.627, allocations: 19.92 kB / 0.8358 GB, free: 5.121 MB / 0.589 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003288/1.63, allocations: 2.76 MB / 0.8385 GB, free: 2.789 MB / 0.589 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/1.63, allocations: 4 kB / 0.8385 GB, free: 2.785 MB / 0.589 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01171/1.642, allocations: 2.136 MB / 0.8406 GB, free: 0.6875 MB / 0.589 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-05/1.642, allocations: 16 kB / 0.8406 GB, free: 0.6719 MB / 0.589 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000455/1.642, allocations: 151.4 kB / 0.8408 GB, free: 0.5391 MB / 0.589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.385e-05/1.642, allocations: 12 kB / 0.8408 GB, free: 0.5273 MB / 0.589 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.642, allocations: 0 / 0.8408 GB, free: 0.5273 MB / 0.589 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009419/1.652, allocations: 7.614 MB / 0.8482 GB, free: 10.88 MB / 0.6046 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0131/1.665, allocations: 11.22 MB / 0.8592 GB, free: 2.602 MB / 0.6046 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/1.665, allocations: 246.6 kB / 0.8594 GB, free: 2.34 MB / 0.6046 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006048/1.666, allocations: 107.9 kB / 0.8595 GB, free: 2.234 MB / 0.6046 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002936/1.669, allocations: 178.9 kB / 0.8597 GB, free: 2.059 MB / 0.6046 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005752/1.669, allocations: 205.5 kB / 0.8599 GB, free: 1.883 MB / 0.6046 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003562/1.67, allocations: 111.3 kB / 0.86 GB, free: 1.797 MB / 0.6046 GB Notification: Performance of sort global known variables: time 4.011e-05/1.67, allocations: 90.66 kB / 0.8601 GB, free: 1.715 MB / 0.6046 GB Notification: Performance of remove unused functions: time 0.002274/1.672, allocations: 1.085 MB / 0.8611 GB, free: 0.6289 MB / 0.6046 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 237 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TAtilde[10],TAtilde[11],TAtilde[12],TAtilde[13],TAtilde[14],TAtilde[15],TAtilde[16],TAtilde[17],TAtilde[18],TAtilde[19],TAtilde[20],TAtilde[21],TAtilde[22],TAtilde[23],TAtilde[24],TAtilde[25],TAtilde[26],TAtilde[27],TAtilde[28],TAtilde[29],TAtilde[30],TAtilde[31],TAtilde[32],TAtilde[33],TAtilde[34],TAtilde[35],TAtilde[36],TAtilde[37],TAtilde[38],TAtilde[39],TAtilde[40],TAtilde[41],TAtilde[42],TAtilde[43],TAtilde[44],TAtilde[45],TAtilde[46],TAtilde[47],TAtilde[48],TAtilde[49],TAtilde[50],TAtilde[51],TAtilde[52],TAtilde[53],TAtilde[54],TAtilde[55],TAtilde[56],TAtilde[57],TAtilde[58],TAtilde[59],TAtilde[60],TAtilde[61],TAtilde[62],TAtilde[63],TAtilde[64],TAtilde[65],TAtilde[66],TAtilde[67],TAtilde[68],TAtilde[69],TAtilde[70],TAtilde[71],TAtilde[72],TAtilde[73],TAtilde[74],TAtilde[75],TAtilde[76],TAtilde[77],TAtilde[78],TAtilde[79],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TBtilde[10],TBtilde[11],TBtilde[12],TBtilde[13],TBtilde[14],TBtilde[15],TBtilde[16],TBtilde[17],TBtilde[18],TBtilde[19],TBtilde[20],TBtilde[21],TBtilde[22],TBtilde[23],TBtilde[24],TBtilde[25],TBtilde[26],TBtilde[27],TBtilde[28],TBtilde[29],TBtilde[30],TBtilde[31],TBtilde[32],TBtilde[33],TBtilde[34],TBtilde[35],TBtilde[36],TBtilde[37],TBtilde[38],TBtilde[39],TBtilde[40],TBtilde[41],TBtilde[42],TBtilde[43],TBtilde[44],TBtilde[45],TBtilde[46],TBtilde[47],TBtilde[48],TBtilde[49],TBtilde[50],TBtilde[51],TBtilde[52],TBtilde[53],TBtilde[54],TBtilde[55],TBtilde[56],TBtilde[57],TBtilde[58],TBtilde[59],TBtilde[60],TBtilde[61],TBtilde[62],TBtilde[63],TBtilde[64],TBtilde[65],TBtilde[66],TBtilde[67],TBtilde[68],TBtilde[69],TBtilde[70],TBtilde[71],TBtilde[72],TBtilde[73],TBtilde[74],TBtilde[75],TBtilde[76],TBtilde[77],TBtilde[78],TBtilde[79],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9],TW[10],TW[11],TW[12],TW[13],TW[14],TW[15],TW[16],TW[17],TW[18],TW[19],TW[20],TW[21],TW[22],TW[23],TW[24],TW[25],TW[26],TW[27],TW[28],TW[29],TW[30],TW[31],TW[32],TW[33],TW[34],TW[35],TW[36],TW[37],TW[38],TW[39],TW[40],TW[41],TW[42],TW[43],TW[44],TW[45],TW[46],TW[47],TW[48],TW[49],TW[50],TW[51],TW[52],TW[53],TW[54],TW[55],TW[56],TW[57],TW[58],TW[59],TW[60],TW[61],TW[62],TW[63],TW[64],TW[65],TW[66],TW[67],TW[68],TW[69],TW[70],TW[71],TW[72],TW[73],TW[74],TW[75],TW[76],TW[77],TW[78],TW[79]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (399): * Single equations (assignments): 399 * 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.0004917/1.672, allocations: 252.3 kB / 0.8614 GB, free: 392 kB / 0.6046 GB Notification: Performance of simCode: created initialization part: time 0.006401/1.679, allocations: 5.434 MB / 0.8667 GB, free: 12.39 MB / 0.6203 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/1.679, allocations: 0 / 0.8667 GB, free: 12.39 MB / 0.6203 GB Notification: Performance of simCode: created simulation system equations: time 0.003043/1.682, allocations: 2.69 MB / 0.8693 GB, free: 10.48 MB / 0.6203 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/1.683, allocations: 378 kB / 0.8697 GB, free: 10.18 MB / 0.6203 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02837/1.712, allocations: 21.48 MB / 0.8907 GB, free: 5.051 MB / 0.6359 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003524/1.715, allocations: 2.545 MB / 0.8931 GB, free: 2.523 MB / 0.6359 GB Notification: Performance of SimCode: time 1.603e-06/1.715, allocations: 0 / 0.8931 GB, free: 2.523 MB / 0.6359 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_80.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_80.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_80.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_80.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_80_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_80_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_80.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_80.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_80_res.mat does not exist to compare? outputFormat=mat