Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.CocurrentHeatExchangerEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_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.0009598/0.0009598, allocations: 183.3 kB / 8.132 MB, free: 2.219 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.084/1.084, allocations: 221.4 MB / 229.9 MB, free: 3.035 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.0008726/0.0008726, allocations: 99.53 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.6192/0.6192, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3286/0.9478, allocations: 89.7 MB / 0.529 GB, free: 51.6 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/1.056, allocations: 82.85 MB / 0.6099 GB, free: 2.582 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.452/1.508, allocations: 124.7 MB / 0.7318 GB, free: 4.215 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001047/1.508, allocations: 49.62 kB / 0.7318 GB, free: 4.199 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.01709/1.526, allocations: 6.001 MB / 0.7377 GB, free: 14.84 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/1.526, allocations: 12 kB / 0.7377 GB, free: 14.83 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.54e-05/1.526, allocations: 31.62 kB / 0.7377 GB, free: 14.8 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005868/1.526, allocations: 297.3 kB / 0.738 GB, free: 14.47 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/1.526, allocations: 15.91 kB / 0.738 GB, free: 14.46 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.151e-05/1.526, allocations: 31.78 kB / 0.738 GB, free: 14.43 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005506/1.527, allocations: 368.2 kB / 0.7384 GB, free: 14.16 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005964/1.528, allocations: 414.1 kB / 0.7388 GB, free: 13.82 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/1.528, allocations: 0 / 0.7388 GB, free: 13.82 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.925e-05/1.528, allocations: 4 kB / 0.7388 GB, free: 13.82 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/1.528, allocations: 4 kB / 0.7388 GB, free: 13.82 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002762/1.53, allocations: 2.086 MB / 0.7408 GB, free: 11.59 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000658/1.531, allocations: 437.9 kB / 0.7412 GB, free: 11.26 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003853/1.531, allocations: 313.3 kB / 0.7415 GB, free: 11.05 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 4.876e-05/1.532, allocations: 4.438 kB / 0.7415 GB, free: 11.05 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.855e-05/1.532, allocations: 38.81 kB / 0.7416 GB, free: 11 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=49): time 1.583e-06/1.532, allocations: 4 kB / 0.7416 GB, free: 11 MB / 0.5109 GB Notification: Performance of matching and sorting (n=49): time 0.0009843/1.533, allocations: 0.5587 MB / 0.7421 GB, free: 10.55 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/1.533, allocations: 59.83 kB / 0.7422 GB, free: 10.48 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.596e-05/1.533, allocations: 122.2 kB / 0.7423 GB, free: 10.36 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 4.281e-05/1.533, allocations: 25.7 kB / 0.7423 GB, free: 10.33 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 6.914e-05/1.533, allocations: 114.9 kB / 0.7424 GB, free: 10.22 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/1.533, allocations: 195.1 kB / 0.7426 GB, free: 10.05 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/1.533, allocations: 4 kB / 0.7426 GB, free: 10.05 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001519/1.533, allocations: 344.6 kB / 0.743 GB, free: 9.715 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003879/1.534, allocations: 273.8 kB / 0.7432 GB, free: 9.52 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004161/1.534, allocations: 316.4 kB / 0.7435 GB, free: 9.289 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004385/1.534, allocations: 313.8 kB / 0.7438 GB, free: 9.055 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/1.534, allocations: 0 / 0.7438 GB, free: 9.055 MB / 0.5109 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001054/1.535, allocations: 0.6906 MB / 0.7445 GB, free: 8.504 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/1.536, allocations: 12.03 kB / 0.7445 GB, free: 8.492 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/1.536, allocations: 0 / 0.7445 GB, free: 8.492 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/1.536, allocations: 4 kB / 0.7445 GB, free: 8.488 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/1.537, allocations: 251.2 kB / 0.7447 GB, free: 8.246 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/1.537, allocations: 0 / 0.7447 GB, free: 8.246 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004103/1.537, allocations: 43.52 kB / 0.7448 GB, free: 8.203 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.911e-05/1.537, allocations: 15.88 kB / 0.7448 GB, free: 8.191 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.0001313/1.537, allocations: 116.3 kB / 0.7449 GB, free: 8.074 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.171e-05/1.537, allocations: 27.7 kB / 0.7449 GB, free: 8.047 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/1.538, allocations: 70.12 kB / 0.745 GB, free: 8.035 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/1.538, allocations: 8 kB / 0.745 GB, free: 8.027 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/1.538, allocations: 0 / 0.745 GB, free: 8.027 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/1.538, allocations: 7.891 kB / 0.745 GB, free: 8.02 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005417/1.538, allocations: 416.8 kB / 0.7454 GB, free: 7.629 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/1.538, allocations: 3.938 kB / 0.7454 GB, free: 7.625 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001438/1.54, allocations: 259 kB / 0.7457 GB, free: 7.379 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/1.54, allocations: 4 kB / 0.7457 GB, free: 7.375 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.735e-05/1.54, allocations: 11.98 kB / 0.7457 GB, free: 7.363 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/1.54, allocations: 4 kB / 0.7457 GB, free: 7.359 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.54, allocations: 0 / 0.7457 GB, free: 7.359 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001258/1.541, allocations: 0.9766 MB / 0.7466 GB, free: 6.59 MB / 0.5109 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001769/1.543, allocations: 1.726 MB / 0.7483 GB, free: 5.176 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 5.916e-05/1.543, allocations: 103.5 kB / 0.7484 GB, free: 5.059 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.764e-05/1.543, allocations: 11.98 kB / 0.7484 GB, free: 5.047 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003884/1.543, allocations: 19.83 kB / 0.7485 GB, free: 5.027 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.511e-05/1.543, allocations: 27.7 kB / 0.7485 GB, free: 5.004 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.386e-05/1.543, allocations: 15.61 kB / 0.7485 GB, free: 4.992 MB / 0.5109 GB Notification: Performance of sort global known variables: time 5.333e-05/1.543, allocations: 94.31 kB / 0.7486 GB, free: 4.906 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0009538/1.544, allocations: 139.8 kB / 0.7487 GB, free: 4.77 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.000158/1.545, allocations: 115.9 kB / 0.7488 GB, free: 4.652 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0008329/1.545, allocations: 0.6217 MB / 0.7494 GB, free: 4.188 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/1.545, allocations: 0 / 0.7494 GB, free: 4.188 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0003886/1.546, allocations: 314.6 kB / 0.7497 GB, free: 3.965 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/1.546, allocations: 49.88 kB / 0.7498 GB, free: 3.926 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003027/1.549, allocations: 2.332 MB / 0.7521 GB, free: 1.617 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006659/1.55, allocations: 0.9099 MB / 0.753 GB, free: 0.6953 MB / 0.5109 GB Notification: Performance of SimCode: time 1.442e-06/1.55, allocations: 3.938 kB / 0.753 GB, free: 0.6914 MB / 0.5109 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_10_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat does not exist to compare? outputFormat=mat