Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_20.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_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTI_Modelica_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTI_Modelica_N_20",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.001067/0.001067, allocations: 188.2 kB / 8.138 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.144/1.144, allocations: 221.4 MB / 229.9 MB, free: 3.055 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.0009229/0.0009229, allocations: 100.8 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.6577/0.6577, allocations: 120.4 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3286/0.9863, allocations: 88.95 MB / 0.5283 GB, free: 52.34 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/1.099, allocations: 82.85 MB / 0.6092 GB, free: 3.461 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4939/1.593, allocations: 125.4 MB / 0.7316 GB, free: 4.281 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001969/1.593, allocations: 59.84 kB / 0.7317 GB, free: 4.258 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.02898/1.622, allocations: 11.81 MB / 0.7432 GB, free: 10.43 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/1.622, allocations: 11.94 kB / 0.7432 GB, free: 10.42 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001765/1.622, allocations: 83.06 kB / 0.7433 GB, free: 10.34 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/1.624, allocations: 0.5773 MB / 0.7439 GB, free: 9.781 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.565e-05/1.624, allocations: 24 kB / 0.7439 GB, free: 9.758 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/1.624, allocations: 59.16 kB / 0.744 GB, free: 9.703 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001184/1.625, allocations: 0.8303 MB / 0.7448 GB, free: 9.09 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/1.626, allocations: 0.7271 MB / 0.7455 GB, free: 8.523 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.419e-05/1.626, allocations: 11.41 kB / 0.7455 GB, free: 8.516 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.916e-05/1.626, allocations: 0 / 0.7455 GB, free: 8.516 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/1.626, allocations: 20 kB / 0.7455 GB, free: 8.496 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003106/1.629, allocations: 2.071 MB / 0.7475 GB, free: 6.777 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/1.631, allocations: 0.9921 MB / 0.7485 GB, free: 6.008 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007175/1.632, allocations: 0.6248 MB / 0.7491 GB, free: 5.562 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 3.358e-05/1.632, allocations: 12.78 kB / 0.7491 GB, free: 5.551 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/1.632, allocations: 53.94 kB / 0.7492 GB, free: 5.496 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=94): time 1.934e-06/1.632, allocations: 0 / 0.7492 GB, free: 5.496 MB / 0.5109 GB Notification: Performance of matching and sorting (n=94): time 0.001101/1.633, allocations: 0.8302 MB / 0.75 GB, free: 4.828 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/1.633, allocations: 60.19 kB / 0.75 GB, free: 4.758 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002726/1.633, allocations: 284.3 kB / 0.7503 GB, free: 4.535 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/1.633, allocations: 25.7 kB / 0.7503 GB, free: 4.504 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 9.677e-05/1.633, allocations: 223.2 kB / 0.7506 GB, free: 4.297 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/1.633, allocations: 330.6 kB / 0.7509 GB, free: 4.008 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/1.633, allocations: 0 / 0.7509 GB, free: 4.008 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001216/1.634, allocations: 364.3 kB / 0.7512 GB, free: 3.664 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004546/1.634, allocations: 365.2 kB / 0.7516 GB, free: 3.402 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004401/1.634, allocations: 377.4 kB / 0.7519 GB, free: 3.137 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005495/1.635, allocations: 463.9 kB / 0.7524 GB, free: 2.793 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.635, allocations: 0 / 0.7524 GB, free: 2.793 MB / 0.5109 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001154/1.636, allocations: 0.9518 MB / 0.7533 GB, free: 2.035 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/1.636, allocations: 8 kB / 0.7533 GB, free: 2.027 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/1.636, allocations: 0 / 0.7533 GB, free: 2.027 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/1.636, allocations: 4 kB / 0.7533 GB, free: 2.023 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009124/1.637, allocations: 247.3 kB / 0.7535 GB, free: 1.789 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/1.637, allocations: 4 kB / 0.7536 GB, free: 1.785 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004749/1.638, allocations: 91.22 kB / 0.7536 GB, free: 1.695 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.163e-05/1.638, allocations: 27.69 kB / 0.7537 GB, free: 1.672 MB / 0.5109 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 (113): * Single equations (assignments): 113 * 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.0001056/1.638, allocations: 111.2 kB / 0.7538 GB, free: 1.559 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/1.638, allocations: 47.44 kB / 0.7538 GB, free: 1.512 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001374/1.638, allocations: 79.72 kB / 0.7539 GB, free: 1.484 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/1.638, allocations: 12 kB / 0.7539 GB, free: 1.473 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/1.638, allocations: 3.938 kB / 0.7539 GB, free: 1.469 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/1.638, allocations: 3.984 kB / 0.7539 GB, free: 1.465 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008159/1.639, allocations: 0.7381 MB / 0.7546 GB, free: 0.832 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/1.639, allocations: 3.984 kB / 0.7546 GB, free: 0.8281 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/1.64, allocations: 250.3 kB / 0.7549 GB, free: 0.5898 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-05/1.64, allocations: 4 kB / 0.7549 GB, free: 0.5859 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.281e-05/1.64, allocations: 15.42 kB / 0.7549 GB, free: 0.5742 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/1.64, allocations: 4 kB / 0.7549 GB, free: 0.5703 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.64, allocations: 3.906 kB / 0.7549 GB, free: 0.5664 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001628/1.642, allocations: 1.552 MB / 0.7564 GB, free: 15.36 MB / 0.5265 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00231/1.644, allocations: 2.521 MB / 0.7589 GB, free: 13.34 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/1.644, allocations: 132.3 kB / 0.759 GB, free: 13.19 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.754e-05/1.644, allocations: 15.92 kB / 0.759 GB, free: 13.18 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004055/1.645, allocations: 47.8 kB / 0.7591 GB, free: 13.13 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.253e-05/1.645, allocations: 40.66 kB / 0.7591 GB, free: 13.1 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.658e-05/1.645, allocations: 27.73 kB / 0.7591 GB, free: 13.08 MB / 0.5265 GB Notification: Performance of sort global known variables: time 0.0001928/1.645, allocations: 229.9 kB / 0.7593 GB, free: 12.91 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.001096/1.646, allocations: 215.4 kB / 0.7596 GB, free: 12.7 MB / 0.5265 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 19 (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) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 94 * 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.0001454/1.646, allocations: 121.8 kB / 0.7597 GB, free: 12.57 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.001017/1.647, allocations: 0.8901 MB / 0.7605 GB, free: 11.9 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/1.647, allocations: 0 / 0.7605 GB, free: 11.9 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.0004974/1.648, allocations: 486.1 kB / 0.761 GB, free: 11.54 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/1.648, allocations: 50.47 kB / 0.7611 GB, free: 11.5 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003575/1.652, allocations: 2.558 MB / 0.7636 GB, free: 9.078 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007924/1.653, allocations: 1.193 MB / 0.7647 GB, free: 7.91 MB / 0.5265 GB Notification: Performance of SimCode: time 3.41e-07/1.653, allocations: 0 / 0.7647 GB, free: 7.91 MB / 0.5265 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTI_Modelica_N_20_fmu --startTime=0 --stopTime=1500 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTI_Modelica_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_20_res.mat does not exist to compare? outputFormat=mat