Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_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.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTI_Modelica_N_40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTI_Modelica_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.001221/0.001221, allocations: 182.5 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.126/1.126, allocations: 221.4 MB / 229.9 MB, free: 3.059 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.0009818/0.0009819, allocations: 93.84 kB / 280.8 MB, free: 1.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6541/0.6541, allocations: 120.4 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3283/0.9825, allocations: 88.96 MB / 0.5283 GB, free: 52.36 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/1.097, allocations: 82.85 MB / 0.6092 GB, free: 3.457 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4753/1.572, allocations: 125.4 MB / 0.7316 GB, free: 4.492 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001797/1.572, allocations: 58.95 kB / 0.7317 GB, free: 4.469 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.05998/1.632, allocations: 23.29 MB / 0.7544 GB, free: 0.9375 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/1.632, allocations: 12 kB / 0.7544 GB, free: 0.9258 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002815/1.633, allocations: 166.2 kB / 0.7546 GB, free: 0.7617 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002305/1.635, allocations: 0.9971 MB / 0.7556 GB, free: 15.86 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.698e-05/1.635, allocations: 59.91 kB / 0.7556 GB, free: 15.8 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000202/1.635, allocations: 107.8 kB / 0.7557 GB, free: 15.7 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002289/1.637, allocations: 1.697 MB / 0.7574 GB, free: 14.45 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/1.64, allocations: 1.457 MB / 0.7588 GB, free: 13.32 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.261e-05/1.64, allocations: 23.44 kB / 0.7588 GB, free: 13.3 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-05/1.64, allocations: 4 kB / 0.7588 GB, free: 13.3 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.92e-05/1.64, allocations: 36 kB / 0.7589 GB, free: 13.27 MB / 0.5265 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005814/1.646, allocations: 4.033 MB / 0.7628 GB, free: 9.988 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00302/1.649, allocations: 2.058 MB / 0.7648 GB, free: 8.406 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/1.65, allocations: 1.288 MB / 0.7661 GB, free: 7.504 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 6.28e-05/1.65, allocations: 22 kB / 0.7661 GB, free: 7.48 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/1.65, allocations: 49.62 kB / 0.7662 GB, free: 7.438 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=194): time 3.797e-06/1.65, allocations: 0 / 0.7662 GB, free: 7.438 MB / 0.5265 GB Notification: Performance of matching and sorting (n=194): time 0.00212/1.652, allocations: 1.708 MB / 0.7678 GB, free: 6.086 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/1.652, allocations: 69.41 kB / 0.7679 GB, free: 6.004 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004681/1.653, allocations: 464.4 kB / 0.7683 GB, free: 5.664 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 6.825e-05/1.653, allocations: 29.7 kB / 0.7684 GB, free: 5.629 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/1.653, allocations: 368.3 kB / 0.7687 GB, free: 5.293 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003948/1.653, allocations: 0.6699 MB / 0.7694 GB, free: 4.695 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/1.653, allocations: 0 / 0.7694 GB, free: 4.695 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001431/1.654, allocations: 409 kB / 0.7698 GB, free: 4.328 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008916/1.654, allocations: 0.7484 MB / 0.7705 GB, free: 3.781 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009409/1.655, allocations: 0.7546 MB / 0.7712 GB, free: 3.23 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/1.657, allocations: 0.9376 MB / 0.7721 GB, free: 2.531 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.657, allocations: 0 / 0.7721 GB, free: 2.531 MB / 0.5265 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.00232/1.659, allocations: 1.918 MB / 0.774 GB, free: 1.012 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/1.659, allocations: 7.125 kB / 0.774 GB, free: 1.008 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.659, allocations: 0 / 0.774 GB, free: 1.008 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/1.659, allocations: 8 kB / 0.774 GB, free: 1 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001855/1.661, allocations: 0.5139 MB / 0.7745 GB, free: 0.5 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/1.661, allocations: 11.91 kB / 0.7745 GB, free: 500 kB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009493/1.662, allocations: 190.5 kB / 0.7747 GB, free: 308 kB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.463e-05/1.662, allocations: 47.62 kB / 0.7748 GB, free: 272 kB / 0.5265 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (233): * Single equations (assignments): 233 * 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.0001854/1.662, allocations: 128.7 kB / 0.7749 GB, free: 136 kB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/1.662, allocations: 94.81 kB / 0.775 GB, free: 44 kB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002628/1.663, allocations: 145 kB / 0.7751 GB, free: 0 / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.051e-05/1.663, allocations: 20.11 kB / 0.7751 GB, free: 15.98 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/1.663, allocations: 3.938 kB / 0.7751 GB, free: 15.97 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/1.663, allocations: 7.969 kB / 0.7751 GB, free: 15.96 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/1.664, allocations: 1.372 MB / 0.7765 GB, free: 14.85 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/1.664, allocations: 0 / 0.7765 GB, free: 14.85 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002167/1.666, allocations: 0.507 MB / 0.777 GB, free: 14.35 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.237e-05/1.666, allocations: 4 kB / 0.777 GB, free: 14.35 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.454e-05/1.666, allocations: 35.72 kB / 0.777 GB, free: 14.32 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/1.666, allocations: 4 kB / 0.777 GB, free: 14.32 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.666, allocations: 3.906 kB / 0.777 GB, free: 14.31 MB / 0.5421 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003153/1.67, allocations: 3.098 MB / 0.7801 GB, free: 11.94 MB / 0.5421 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004426/1.674, allocations: 4.685 MB / 0.7846 GB, free: 8.332 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002576/1.674, allocations: 195.4 kB / 0.7848 GB, free: 8.125 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/1.675, allocations: 27.78 kB / 0.7848 GB, free: 8.102 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007541/1.675, allocations: 95.67 kB / 0.7849 GB, free: 8.008 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/1.675, allocations: 93.34 kB / 0.785 GB, free: 7.93 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.348e-05/1.676, allocations: 47.61 kB / 0.7851 GB, free: 7.895 MB / 0.5421 GB Notification: Performance of sort global known variables: time 0.000356/1.676, allocations: 380.6 kB / 0.7854 GB, free: 7.625 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.001599/1.677, allocations: 446.8 kB / 0.7859 GB, free: 7.188 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 39 (heatcapacitor[1].T,heatcapacitor[2].T,heatcapacitor[3].T,heatcapacitor[4].T,heatcapacitor[5].T,heatcapacitor[6].T,heatcapacitor[7].T,heatcapacitor[8].T,heatcapacitor[9].T,heatcapacitor[10].T,heatcapacitor[11].T,heatcapacitor[12].T,heatcapacitor[13].T,heatcapacitor[14].T,heatcapacitor[15].T,heatcapacitor[16].T,heatcapacitor[17].T,heatcapacitor[18].T,heatcapacitor[19].T,heatcapacitor[20].T,heatcapacitor[21].T,heatcapacitor[22].T,heatcapacitor[23].T,heatcapacitor[24].T,heatcapacitor[25].T,heatcapacitor[26].T,heatcapacitor[27].T,heatcapacitor[28].T,heatcapacitor[29].T,heatcapacitor[30].T,heatcapacitor[31].T,heatcapacitor[32].T,heatcapacitor[33].T,heatcapacitor[34].T,heatcapacitor[35].T,heatcapacitor[36].T,heatcapacitor[37].T,heatcapacitor[38].T,heatcapacitor[39].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (194): * Single equations (assignments): 194 * 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.0002244/1.678, allocations: 146.4 kB / 0.786 GB, free: 7.039 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.002104/1.68, allocations: 1.841 MB / 0.7878 GB, free: 5.637 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.68, allocations: 0 / 0.7878 GB, free: 5.637 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0009621/1.681, allocations: 0.9769 MB / 0.7887 GB, free: 4.895 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005831/1.681, allocations: 97.03 kB / 0.7888 GB, free: 4.82 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007556/1.689, allocations: 5.262 MB / 0.794 GB, free: 15.86 MB / 0.5578 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001381/1.69, allocations: 1.714 MB / 0.7957 GB, free: 14.22 MB / 0.5578 GB Notification: Performance of SimCode: time 6.11e-07/1.69, allocations: 0 / 0.7957 GB, free: 14.22 MB / 0.5578 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTI_Modelica_N_40_fmu --startTime=0 --stopTime=1500 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTI_Modelica_N_40.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40_res.mat does not exist to compare? outputFormat=mat