Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.CocurrentHeatExchangerEquations_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_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.0009618/0.0009618, allocations: 188.7 kB / 8.138 MB, free: 2.195 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.054/1.054, 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.0008774/0.0008774, allocations: 97.48 kB / 280.8 MB, free: 1.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5931/0.5931, allocations: 120.4 MB / 452 MB, free: 13.01 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3046/0.8977, allocations: 89.71 MB / 0.529 GB, free: 51.71 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.999, allocations: 82.86 MB / 0.6099 GB, free: 2.73 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4168/1.416, allocations: 124.7 MB / 0.7318 GB, free: 4.582 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000105/1.416, allocations: 46.56 kB / 0.7318 GB, free: 4.566 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.07334/1.489, allocations: 23.14 MB / 0.7544 GB, free: 15.31 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/1.489, allocations: 12 kB / 0.7544 GB, free: 15.3 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005258/1.49, allocations: 118.9 kB / 0.7545 GB, free: 15.18 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002059/1.492, allocations: 0.6699 MB / 0.7552 GB, free: 14.48 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.652e-05/1.492, allocations: 36 kB / 0.7552 GB, free: 14.44 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004328/1.493, allocations: 144.3 kB / 0.7554 GB, free: 14.31 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002424/1.495, allocations: 1.553 MB / 0.7569 GB, free: 13.17 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002597/1.498, allocations: 1.633 MB / 0.7585 GB, free: 11.84 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/1.498, allocations: 0 / 0.7585 GB, free: 11.84 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001584/1.498, allocations: 5.25 kB / 0.7585 GB, free: 11.84 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.626e-05/1.498, allocations: 31.91 kB / 0.7585 GB, free: 11.8 MB / 0.5265 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01105/1.509, allocations: 8.421 MB / 0.7667 GB, free: 2.887 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002447/1.511, allocations: 1.809 MB / 0.7685 GB, free: 1.551 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001572/1.513, allocations: 1.346 MB / 0.7698 GB, free: 0.6875 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001782/1.513, allocations: 22 kB / 0.7698 GB, free: 0.668 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/1.513, allocations: 69.23 kB / 0.7699 GB, free: 0.6016 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=199): time 3.777e-06/1.513, allocations: 0 / 0.7699 GB, free: 0.6016 MB / 0.5265 GB Notification: Performance of matching and sorting (n=199): time 0.00352/1.517, allocations: 2.323 MB / 0.7722 GB, free: 14.79 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/1.517, allocations: 73.41 kB / 0.7722 GB, free: 14.71 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/1.517, allocations: 142 kB / 0.7724 GB, free: 14.59 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0001593/1.517, allocations: 25.7 kB / 0.7724 GB, free: 14.55 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/1.517, allocations: 210.8 kB / 0.7726 GB, free: 14.36 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005812/1.518, allocations: 0.7918 MB / 0.7734 GB, free: 13.66 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/1.518, allocations: 0 / 0.7734 GB, free: 13.66 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001778/1.518, allocations: 420.1 kB / 0.7738 GB, free: 13.28 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001638/1.52, allocations: 1.148 MB / 0.7749 GB, free: 12.45 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001688/1.521, allocations: 1.302 MB / 0.7762 GB, free: 11.5 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001825/1.523, allocations: 1.333 MB / 0.7775 GB, free: 10.49 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/1.523, allocations: 7.938 kB / 0.7775 GB, free: 10.48 MB / 0.5421 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004217/1.527, allocations: 2.863 MB / 0.7803 GB, free: 8.223 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/1.527, allocations: 4 kB / 0.7803 GB, free: 8.219 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/1.528, allocations: 0.9375 kB / 0.7803 GB, free: 8.219 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.975e-05/1.528, allocations: 12 kB / 0.7803 GB, free: 8.207 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004778/1.532, allocations: 1.053 MB / 0.7813 GB, free: 7.172 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.781e-05/1.532, allocations: 12 kB / 0.7813 GB, free: 7.16 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/1.534, allocations: 178 kB / 0.7815 GB, free: 6.984 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002425/1.534, allocations: 75.25 kB / 0.7816 GB, free: 6.93 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.0004026/1.535, allocations: 136.2 kB / 0.7817 GB, free: 6.793 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002647/1.535, allocations: 79.09 kB / 0.7818 GB, free: 6.715 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005046/1.536, allocations: 272.5 kB / 0.782 GB, free: 6.691 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/1.536, allocations: 16 kB / 0.782 GB, free: 6.676 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/1.536, allocations: 7.938 kB / 0.782 GB, free: 6.668 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/1.536, allocations: 7.969 kB / 0.7821 GB, free: 6.66 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/1.538, allocations: 1.382 MB / 0.7834 GB, free: 5.473 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/1.538, allocations: 4 kB / 0.7834 GB, free: 5.469 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005949/1.543, allocations: 1.049 MB / 0.7844 GB, free: 4.438 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.885e-05/1.544, allocations: 15.94 kB / 0.7845 GB, free: 4.422 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002643/1.544, allocations: 75.59 kB / 0.7845 GB, free: 4.355 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/1.544, allocations: 7.938 kB / 0.7845 GB, free: 4.348 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/1.544, allocations: 3.984 kB / 0.7845 GB, free: 4.344 MB / 0.5421 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005252/1.549, allocations: 3.835 MB / 0.7883 GB, free: 1.473 MB / 0.5421 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00709/1.556, allocations: 5.793 MB / 0.7939 GB, free: 13.12 MB / 0.5578 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/1.556, allocations: 167.8 kB / 0.7941 GB, free: 12.94 MB / 0.5578 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003259/1.557, allocations: 55.94 kB / 0.7942 GB, free: 12.89 MB / 0.5578 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/1.558, allocations: 83.47 kB / 0.7942 GB, free: 12.8 MB / 0.5578 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003085/1.558, allocations: 105.1 kB / 0.7943 GB, free: 12.71 MB / 0.5578 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001901/1.559, allocations: 47.48 kB / 0.7944 GB, free: 12.68 MB / 0.5578 GB Notification: Performance of sort global known variables: time 4.451e-05/1.559, allocations: 103 kB / 0.7945 GB, free: 12.59 MB / 0.5578 GB Notification: Performance of remove unused functions: time 0.001544/1.56, allocations: 0.5424 MB / 0.795 GB, free: 12.04 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.000314/1.561, allocations: 165 kB / 0.7952 GB, free: 11.87 MB / 0.5578 GB Notification: Performance of simCode: created initialization part: time 0.003344/1.564, allocations: 2.699 MB / 0.7978 GB, free: 9.891 MB / 0.5578 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/1.564, allocations: 4.062 kB / 0.7978 GB, free: 9.887 MB / 0.5578 GB Notification: Performance of simCode: created simulation system equations: time 0.001597/1.566, allocations: 1.339 MB / 0.7991 GB, free: 8.941 MB / 0.5578 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008198/1.566, allocations: 188.4 kB / 0.7993 GB, free: 8.789 MB / 0.5578 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01269/1.579, allocations: 10.21 MB / 0.8093 GB, free: 14.74 MB / 0.5734 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001957/1.581, allocations: 1.603 MB / 0.8108 GB, free: 13.13 MB / 0.5734 GB Notification: Performance of SimCode: time 3.3e-07/1.581, allocations: 0 / 0.8108 GB, free: 13.13 MB / 0.5734 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_40_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_40.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40_res.mat does not exist to compare? outputFormat=mat