Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.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_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_40",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.0008109/0.0008108, allocations: 187.7 kB / 8.137 MB, free: 2.191 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.011/1.011, allocations: 221.4 MB / 229.9 MB, free: 3.031 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.0007741/0.0007742, allocations: 99.89 kB / 280.8 MB, free: 1.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5797/0.5797, allocations: 120.4 MB / 452 MB, free: 13.09 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3023/0.8821, allocations: 89.72 MB / 0.529 GB, free: 51.72 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09985/0.982, allocations: 82.83 MB / 0.6099 GB, free: 2.766 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.409/1.391, allocations: 124.8 MB / 0.7318 GB, free: 4.656 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001017/1.391, allocations: 50.88 kB / 0.7318 GB, free: 4.641 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: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.07389/1.465, allocations: 24.02 MB / 0.7553 GB, free: 14.55 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/1.465, allocations: 15.83 kB / 0.7553 GB, free: 14.54 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002986/1.465, allocations: 118.9 kB / 0.7554 GB, free: 14.42 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001785/1.467, allocations: 0.6669 MB / 0.7561 GB, free: 13.71 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.781e-05/1.467, allocations: 36 kB / 0.7561 GB, free: 13.68 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003072/1.468, allocations: 148.8 kB / 0.7563 GB, free: 13.55 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002172/1.47, allocations: 1.545 MB / 0.7578 GB, free: 12.41 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002872/1.473, allocations: 1.637 MB / 0.7594 GB, free: 11.07 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/1.473, allocations: 0 / 0.7594 GB, free: 11.07 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001495/1.473, allocations: 0 / 0.7594 GB, free: 11.07 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/1.473, allocations: 27.91 kB / 0.7594 GB, free: 11.05 MB / 0.5265 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01006/1.483, allocations: 8.425 MB / 0.7676 GB, free: 2.133 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002322/1.485, allocations: 1.812 MB / 0.7694 GB, free: 0.7812 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00147/1.487, allocations: 1.319 MB / 0.7707 GB, free: 15.93 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001743/1.487, allocations: 25.94 kB / 0.7707 GB, free: 15.9 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/1.487, allocations: 63.44 kB / 0.7708 GB, free: 15.84 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=199): time 2.585e-06/1.487, allocations: 0 / 0.7708 GB, free: 15.84 MB / 0.5421 GB Notification: Performance of matching and sorting (n=199): time 0.003292/1.49, allocations: 2.304 MB / 0.773 GB, free: 14.04 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/1.49, allocations: 77.41 kB / 0.7731 GB, free: 13.95 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.155e-05/1.49, allocations: 144.6 kB / 0.7732 GB, free: 13.82 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0001401/1.491, allocations: 25.7 kB / 0.7732 GB, free: 13.79 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 8.448e-05/1.491, allocations: 198.1 kB / 0.7734 GB, free: 13.6 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004893/1.491, allocations: 0.7973 MB / 0.7742 GB, free: 12.9 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/1.491, allocations: 0 / 0.7742 GB, free: 12.9 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.491, allocations: 422.3 kB / 0.7746 GB, free: 12.52 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0015/1.493, allocations: 1.14 MB / 0.7757 GB, free: 11.69 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/1.494, allocations: 1.298 MB / 0.777 GB, free: 10.74 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001715/1.496, allocations: 1.329 MB / 0.7783 GB, free: 9.727 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/1.496, allocations: 4.781 kB / 0.7783 GB, free: 9.723 MB / 0.5421 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004045/1.5, allocations: 2.85 MB / 0.7811 GB, free: 7.469 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/1.5, allocations: 7.984 kB / 0.7811 GB, free: 7.461 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/1.5, allocations: 0 / 0.7811 GB, free: 7.461 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/1.5, allocations: 12 kB / 0.7811 GB, free: 7.449 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004481/1.505, allocations: 1.049 MB / 0.7821 GB, free: 6.418 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.143e-05/1.505, allocations: 16 kB / 0.7821 GB, free: 6.402 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/1.506, allocations: 182 kB / 0.7823 GB, free: 6.223 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001947/1.507, allocations: 67.06 kB / 0.7824 GB, free: 6.176 MB / 0.5421 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 (317): * Single equations (assignments): 317 * 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.0003184/1.507, allocations: 136.5 kB / 0.7825 GB, free: 6.035 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002077/1.507, allocations: 83.09 kB / 0.7826 GB, free: 5.953 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004656/1.508, allocations: 271.6 kB / 0.7828 GB, free: 5.938 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/1.508, allocations: 20 kB / 0.7829 GB, free: 5.918 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/1.508, allocations: 0 / 0.7829 GB, free: 5.918 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/1.508, allocations: 11.95 kB / 0.7829 GB, free: 5.906 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/1.509, allocations: 1.389 MB / 0.7842 GB, free: 4.707 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/1.509, allocations: 0 / 0.7842 GB, free: 4.707 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005788/1.515, allocations: 1.053 MB / 0.7853 GB, free: 3.672 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.649e-05/1.515, allocations: 8 kB / 0.7853 GB, free: 3.664 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002429/1.515, allocations: 75.34 kB / 0.7853 GB, free: 3.598 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.695e-06/1.515, allocations: 11.94 kB / 0.7854 GB, free: 3.586 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.515, allocations: 0 / 0.7854 GB, free: 3.586 MB / 0.5421 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004888/1.52, allocations: 3.819 MB / 0.7891 GB, free: 0.7188 MB / 0.5421 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006753/1.527, allocations: 5.781 MB / 0.7947 GB, free: 12.38 MB / 0.5578 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/1.527, allocations: 167.8 kB / 0.7949 GB, free: 12.19 MB / 0.5578 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003138/1.528, allocations: 55.92 kB / 0.7949 GB, free: 12.14 MB / 0.5578 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001465/1.529, allocations: 87.47 kB / 0.795 GB, free: 12.05 MB / 0.5578 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000291/1.529, allocations: 105.3 kB / 0.7951 GB, free: 11.96 MB / 0.5578 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001773/1.529, allocations: 55.28 kB / 0.7952 GB, free: 11.92 MB / 0.5578 GB Notification: Performance of sort global known variables: time 3.763e-05/1.53, allocations: 87.03 kB / 0.7953 GB, free: 11.84 MB / 0.5578 GB Notification: Performance of remove unused functions: time 0.001427/1.531, allocations: 0.5463 MB / 0.7958 GB, free: 11.29 MB / 0.5578 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 117 (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],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],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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (199): * Single equations (assignments): 199 * 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.0002966/1.531, allocations: 173 kB / 0.796 GB, free: 11.12 MB / 0.5578 GB Notification: Performance of simCode: created initialization part: time 0.003258/1.535, allocations: 2.68 MB / 0.7986 GB, free: 9.137 MB / 0.5578 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/1.535, allocations: 0 / 0.7986 GB, free: 9.137 MB / 0.5578 GB Notification: Performance of simCode: created simulation system equations: time 0.001572/1.536, allocations: 1.323 MB / 0.7999 GB, free: 8.191 MB / 0.5578 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007892/1.537, allocations: 191.5 kB / 0.8 GB, free: 8.035 MB / 0.5578 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01265/1.55, allocations: 10.27 MB / 0.8101 GB, free: 13.95 MB / 0.5734 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001854/1.551, allocations: 1.599 MB / 0.8116 GB, free: 12.34 MB / 0.5734 GB Notification: Performance of SimCode: time 2.8e-07/1.551, allocations: 0 / 0.8116 GB, free: 12.34 MB / 0.5734 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_40_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_40.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40_res.mat does not exist to compare? outputFormat=mat