Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_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.OneDHeatTransferTT_Modelica_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTT_Modelica_N_40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_Modelica_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTT_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.00118/0.00118, allocations: 187.3 kB / 8.137 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.201/1.201, allocations: 221.4 MB / 229.9 MB, free: 3.02 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.0009898/0.0009897, allocations: 97.95 kB / 280.8 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7136/0.7136, allocations: 120.4 MB / 452 MB, free: 13.01 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3792/1.093, allocations: 88.96 MB / 0.5283 GB, free: 52.39 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/1.227, allocations: 82.85 MB / 0.6092 GB, free: 3.473 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5445/1.771, allocations: 125.4 MB / 0.7317 GB, free: 4.832 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001808/1.771, allocations: 61.81 kB / 0.7317 GB, free: 4.809 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: 390 * Number of variables: 390 Notification: Performance of Generate backend data structure: time 0.06063/1.832, allocations: 23.27 MB / 0.7544 GB, free: 1.297 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/1.832, allocations: 12 kB / 0.7544 GB, free: 1.285 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004903/1.833, allocations: 165.8 kB / 0.7546 GB, free: 1.125 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002644/1.835, allocations: 0.9939 MB / 0.7556 GB, free: 236 kB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.032e-05/1.835, allocations: 51.98 kB / 0.7556 GB, free: 184 kB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002703/1.836, allocations: 119 kB / 0.7557 GB, free: 68 kB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002719/1.838, allocations: 1.676 MB / 0.7574 GB, free: 14.83 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002217/1.841, allocations: 1.451 MB / 0.7588 GB, free: 13.71 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.14e-05/1.841, allocations: 22.88 kB / 0.7588 GB, free: 13.69 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.711e-05/1.841, allocations: 0 / 0.7588 GB, free: 13.69 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-05/1.841, allocations: 36 kB / 0.7589 GB, free: 13.66 MB / 0.5265 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006715/1.848, allocations: 4.001 MB / 0.7628 GB, free: 10.41 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002823/1.85, allocations: 1.693 MB / 0.7644 GB, free: 9.105 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001468/1.852, allocations: 1.281 MB / 0.7657 GB, free: 8.203 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 6.322e-05/1.852, allocations: 25.91 kB / 0.7657 GB, free: 8.176 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/1.852, allocations: 49.44 kB / 0.7657 GB, free: 8.133 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=192): time 3.616e-06/1.852, allocations: 0 / 0.7657 GB, free: 8.133 MB / 0.5265 GB Notification: Performance of matching and sorting (n=192): time 0.002361/1.854, allocations: 1.69 MB / 0.7674 GB, free: 6.793 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/1.854, allocations: 81.22 kB / 0.7675 GB, free: 6.703 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005643/1.855, allocations: 449.2 kB / 0.7679 GB, free: 6.371 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 7.789e-05/1.855, allocations: 29.7 kB / 0.7679 GB, free: 6.336 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002473/1.855, allocations: 372.4 kB / 0.7683 GB, free: 6 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005579/1.856, allocations: 0.6512 MB / 0.7689 GB, free: 5.418 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.829e-05/1.856, allocations: 0 / 0.7689 GB, free: 5.418 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001786/1.856, allocations: 416.6 kB / 0.7693 GB, free: 5.043 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000953/1.857, allocations: 0.7372 MB / 0.77 GB, free: 4.508 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009835/1.858, allocations: 0.7487 MB / 0.7708 GB, free: 3.957 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/1.859, allocations: 0.9218 MB / 0.7717 GB, free: 3.27 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/1.859, allocations: 0 / 0.7717 GB, free: 3.27 MB / 0.5265 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.002429/1.862, allocations: 1.9 MB / 0.7735 GB, free: 1.766 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/1.862, allocations: 4 kB / 0.7735 GB, free: 1.762 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/1.862, allocations: 4 kB / 0.7735 GB, free: 1.758 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.758e-05/1.862, allocations: 8 kB / 0.7735 GB, free: 1.75 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/1.864, allocations: 0.4986 MB / 0.774 GB, free: 1.262 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.99e-05/1.864, allocations: 11.98 kB / 0.774 GB, free: 1.25 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/1.865, allocations: 186.5 kB / 0.7742 GB, free: 1.066 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/1.865, allocations: 55.48 kB / 0.7743 GB, free: 1.027 MB / 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 (230): * Single equations (assignments): 230 * 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.0001961/1.865, allocations: 128.5 kB / 0.7744 GB, free: 0.8945 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/1.865, allocations: 90.97 kB / 0.7745 GB, free: 0.8047 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002676/1.866, allocations: 152.8 kB / 0.7746 GB, free: 0.7578 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/1.866, allocations: 16 kB / 0.7746 GB, free: 0.7422 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/1.866, allocations: 0 / 0.7746 GB, free: 0.7422 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/1.866, allocations: 7.969 kB / 0.7746 GB, free: 0.7344 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/1.867, allocations: 1.365 MB / 0.776 GB, free: 15.62 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/1.867, allocations: 0 / 0.776 GB, free: 15.62 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002217/1.87, allocations: 0.4989 MB / 0.7765 GB, free: 15.13 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.586e-05/1.87, allocations: 7.906 kB / 0.7765 GB, free: 15.12 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001249/1.87, allocations: 39.72 kB / 0.7765 GB, free: 15.09 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.358e-06/1.87, allocations: 4 kB / 0.7765 GB, free: 15.09 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/1.87, allocations: 0 / 0.7765 GB, free: 15.09 MB / 0.5421 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003525/1.873, allocations: 3.068 MB / 0.7795 GB, free: 12.73 MB / 0.5421 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004692/1.878, allocations: 4.641 MB / 0.784 GB, free: 9.164 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002978/1.878, allocations: 195.5 kB / 0.7842 GB, free: 8.953 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002105/1.879, allocations: 31.72 kB / 0.7843 GB, free: 8.93 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008306/1.879, allocations: 87.7 kB / 0.7843 GB, free: 8.844 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/1.88, allocations: 96.69 kB / 0.7844 GB, free: 8.762 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.84e-05/1.88, allocations: 43.5 kB / 0.7845 GB, free: 8.73 MB / 0.5421 GB Notification: Performance of sort global known variables: time 0.0003831/1.88, allocations: 372.3 kB / 0.7848 GB, free: 8.461 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.001633/1.882, allocations: 442.8 kB / 0.7852 GB, free: 8.027 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 38 (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) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (192): * Single equations (assignments): 192 * 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.0002253/1.882, allocations: 146.8 kB / 0.7854 GB, free: 7.883 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.002238/1.884, allocations: 1.821 MB / 0.7872 GB, free: 6.492 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/1.884, allocations: 0 / 0.7872 GB, free: 6.492 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/1.885, allocations: 0.9613 MB / 0.7881 GB, free: 5.766 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005878/1.886, allocations: 101 kB / 0.7882 GB, free: 5.688 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007533/1.893, allocations: 5.179 MB / 0.7933 GB, free: 0.8047 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001527/1.895, allocations: 1.698 MB / 0.7949 GB, free: 15.18 MB / 0.5578 GB Notification: Performance of SimCode: time 3.6e-07/1.895, allocations: 0 / 0.7949 GB, free: 15.18 MB / 0.5578 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_Modelica_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_Modelica_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_Modelica_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_Modelica_N_40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_Modelica_N_40_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTT_Modelica_N_40_fmu --startTime=0 --stopTime=350 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTT_Modelica_N_40.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_Modelica_N_40.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_Modelica_N_40_res.mat does not exist to compare? outputFormat=mat