Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.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_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_10",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.0009179/0.0009179, allocations: 183.3 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.022/1.022, allocations: 221.4 MB / 230 MB, free: 3.242 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.0008497/0.0008497, allocations: 99.98 kB / 280.8 MB, free: 1.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5615/0.5615, allocations: 120.4 MB / 452 MB, free: 12.97 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 1.969/2.53, allocations: 89.71 MB / 0.529 GB, free: 51.63 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09834/2.629, allocations: 82.84 MB / 0.6099 GB, free: 2.695 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4079/3.037, allocations: 124.8 MB / 0.7318 GB, free: 4.539 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 9.746e-05/3.037, allocations: 46.97 kB / 0.7318 GB, free: 4.523 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0178/3.055, allocations: 6.216 MB / 0.7379 GB, free: 15 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/3.055, allocations: 8 kB / 0.7379 GB, free: 14.99 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.079e-05/3.055, allocations: 41.81 kB / 0.7379 GB, free: 14.95 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005699/3.055, allocations: 293.8 kB / 0.7382 GB, free: 14.63 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/3.055, allocations: 11.91 kB / 0.7382 GB, free: 14.62 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-05/3.056, allocations: 38.89 kB / 0.7383 GB, free: 14.58 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005267/3.056, allocations: 359 kB / 0.7386 GB, free: 14.32 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005679/3.057, allocations: 414.1 kB / 0.739 GB, free: 13.98 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/3.057, allocations: 4 kB / 0.739 GB, free: 13.98 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.895e-05/3.057, allocations: 0.5625 kB / 0.739 GB, free: 13.98 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/3.057, allocations: 8 kB / 0.739 GB, free: 13.97 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002603/3.059, allocations: 2.085 MB / 0.741 GB, free: 11.75 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006444/3.06, allocations: 430.2 kB / 0.7415 GB, free: 11.42 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003632/3.06, allocations: 308.9 kB / 0.7418 GB, free: 11.21 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 4.742e-05/3.06, allocations: 4.438 kB / 0.7418 GB, free: 11.21 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/3.06, allocations: 42.88 kB / 0.7418 GB, free: 11.16 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=49): time 1.493e-06/3.06, allocations: 0 / 0.7418 GB, free: 11.16 MB / 0.5109 GB Notification: Performance of matching and sorting (n=49): time 0.0008623/3.061, allocations: 0.567 MB / 0.7424 GB, free: 10.7 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/3.061, allocations: 55.84 kB / 0.7424 GB, free: 10.63 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.289e-05/3.061, allocations: 119.2 kB / 0.7425 GB, free: 10.52 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 4.517e-05/3.062, allocations: 29.69 kB / 0.7425 GB, free: 10.48 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/3.062, allocations: 112.5 kB / 0.7427 GB, free: 10.38 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.000119/3.062, allocations: 194.5 kB / 0.7428 GB, free: 10.21 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/3.062, allocations: 4 kB / 0.7428 GB, free: 10.2 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 9.595e-05/3.062, allocations: 344.5 kB / 0.7432 GB, free: 9.871 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003581/3.062, allocations: 263.1 kB / 0.7434 GB, free: 9.684 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000377/3.063, allocations: 318.5 kB / 0.7437 GB, free: 9.449 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003999/3.063, allocations: 314.2 kB / 0.744 GB, free: 9.215 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/3.063, allocations: 0 / 0.744 GB, free: 9.215 MB / 0.5109 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009375/3.064, allocations: 0.6929 MB / 0.7447 GB, free: 8.66 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/3.064, allocations: 4 kB / 0.7447 GB, free: 8.656 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/3.064, allocations: 4.031 kB / 0.7447 GB, free: 8.652 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/3.064, allocations: 7.984 kB / 0.7447 GB, free: 8.645 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/3.065, allocations: 250.9 kB / 0.745 GB, free: 8.402 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/3.065, allocations: 4 kB / 0.745 GB, free: 8.398 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003662/3.065, allocations: 39.52 kB / 0.745 GB, free: 8.359 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.718e-05/3.066, allocations: 18.81 kB / 0.745 GB, free: 8.348 MB / 0.5109 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 (77): * Single equations (assignments): 77 * 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.0001123/3.066, allocations: 112.9 kB / 0.7451 GB, free: 8.23 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.903e-05/3.066, allocations: 23.72 kB / 0.7451 GB, free: 8.207 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/3.066, allocations: 72.75 kB / 0.7452 GB, free: 8.191 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/3.066, allocations: 4 kB / 0.7452 GB, free: 8.188 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/3.066, allocations: 0 / 0.7452 GB, free: 8.188 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/3.066, allocations: 7.891 kB / 0.7452 GB, free: 8.18 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005091/3.066, allocations: 426.2 kB / 0.7456 GB, free: 7.781 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/3.066, allocations: 0 / 0.7456 GB, free: 7.781 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001411/3.068, allocations: 252.7 kB / 0.7459 GB, free: 7.539 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/3.068, allocations: 4 kB / 0.7459 GB, free: 7.535 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-05/3.068, allocations: 23.84 kB / 0.7459 GB, free: 7.516 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/3.068, allocations: 0 / 0.7459 GB, free: 7.516 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/3.068, allocations: 0 / 0.7459 GB, free: 7.516 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001213/3.069, allocations: 0.9786 MB / 0.7469 GB, free: 6.742 MB / 0.5109 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00169/3.071, allocations: 1.716 MB / 0.7485 GB, free: 5.332 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 5.054e-05/3.071, allocations: 100.8 kB / 0.7486 GB, free: 5.215 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.231e-05/3.071, allocations: 13.3 kB / 0.7486 GB, free: 5.203 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003979/3.071, allocations: 15.89 kB / 0.7487 GB, free: 5.188 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.241e-05/3.071, allocations: 27.83 kB / 0.7487 GB, free: 5.164 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.165e-05/3.072, allocations: 11.44 kB / 0.7487 GB, free: 5.156 MB / 0.5109 GB Notification: Performance of sort global known variables: time 4.253e-05/3.072, allocations: 104.8 kB / 0.7488 GB, free: 5.062 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.001261/3.073, allocations: 139.8 kB / 0.7489 GB, free: 4.926 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 27 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * 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.0001313/3.073, allocations: 112.5 kB / 0.749 GB, free: 4.809 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0007899/3.074, allocations: 0.6235 MB / 0.7496 GB, free: 4.34 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/3.074, allocations: 0 / 0.7496 GB, free: 4.34 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0003694/3.074, allocations: 303.8 kB / 0.7499 GB, free: 4.125 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/3.075, allocations: 55.08 kB / 0.75 GB, free: 4.082 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002941/3.077, allocations: 2.361 MB / 0.7523 GB, free: 1.75 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006202/3.078, allocations: 0.9035 MB / 0.7532 GB, free: 0.832 MB / 0.5109 GB Notification: Performance of SimCode: time 2.8e-07/3.078, allocations: 0 / 0.7532 GB, free: 0.832 MB / 0.5109 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_10_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat does not exist to compare? outputFormat=mat