Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_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.OneDHeatTransferTT_FD_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTT_FD_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTT_FD_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.001176/0.001176, allocations: 184 kB / 8.138 MB, free: 2.223 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.119/1.119, allocations: 221.4 MB / 229.9 MB, free: 3.082 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.001049/0.001048, allocations: 103.8 kB / 280.8 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6812/0.6812, allocations: 120.4 MB / 452 MB, free: 13.02 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3316/1.013, allocations: 88.97 MB / 0.5283 GB, free: 52.34 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/1.121, allocations: 82.84 MB / 0.6092 GB, free: 3.5 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4746/1.595, allocations: 124.6 MB / 0.7309 GB, free: 5.188 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001465/1.596, allocations: 61.83 kB / 0.7309 GB, free: 5.164 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.01376/1.609, allocations: 4.365 MB / 0.7352 GB, free: 1.539 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/1.609, allocations: 12 kB / 0.7352 GB, free: 1.523 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.728e-05/1.61, allocations: 19.81 kB / 0.7352 GB, free: 1.504 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/1.61, allocations: 214.8 kB / 0.7354 GB, free: 1.254 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/1.61, allocations: 4.219 kB / 0.7354 GB, free: 1.25 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.122e-05/1.61, allocations: 23.92 kB / 0.7355 GB, free: 1.23 MB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001858/1.61, allocations: 121.7 kB / 0.7356 GB, free: 1.137 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/1.61, allocations: 214.3 kB / 0.7358 GB, free: 0.957 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/1.61, allocations: 0 / 0.7358 GB, free: 0.957 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/1.61, allocations: 4 kB / 0.7358 GB, free: 0.9531 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/1.61, allocations: 0.5 kB / 0.7358 GB, free: 0.9531 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002135/1.612, allocations: 1.634 MB / 0.7374 GB, free: 15.1 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/1.613, allocations: 217.1 kB / 0.7376 GB, free: 14.92 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/1.613, allocations: 85.95 kB / 0.7377 GB, free: 14.86 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/1.613, allocations: 8 kB / 0.7377 GB, free: 14.85 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/1.613, allocations: 33.62 kB / 0.7377 GB, free: 14.81 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=18): time 2.545e-06/1.613, allocations: 3.984 kB / 0.7377 GB, free: 14.8 MB / 0.5109 GB Notification: Performance of matching and sorting (n=18): time 0.0004046/1.613, allocations: 223.3 kB / 0.7379 GB, free: 14.62 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/1.613, allocations: 51.41 kB / 0.738 GB, free: 14.56 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.444e-05/1.614, allocations: 107.8 kB / 0.7381 GB, free: 14.45 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/1.614, allocations: 26.55 kB / 0.7381 GB, free: 14.42 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 7.836e-05/1.614, allocations: 119.5 kB / 0.7382 GB, free: 14.3 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 5.765e-05/1.614, allocations: 76.39 kB / 0.7383 GB, free: 14.24 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.866e-05/1.614, allocations: 0 / 0.7383 GB, free: 14.24 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 9.641e-05/1.614, allocations: 330.6 kB / 0.7386 GB, free: 13.91 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/1.614, allocations: 113.3 kB / 0.7387 GB, free: 13.83 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/1.614, allocations: 110.8 kB / 0.7388 GB, free: 13.75 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/1.614, allocations: 129 kB / 0.7389 GB, free: 13.65 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/1.614, allocations: 4 kB / 0.7389 GB, free: 13.65 MB / 0.5109 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000446/1.615, allocations: 305.8 kB / 0.7392 GB, free: 13.4 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/1.615, allocations: 4 kB / 0.7392 GB, free: 13.39 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/1.615, allocations: 4 kB / 0.7392 GB, free: 13.39 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/1.615, allocations: 4 kB / 0.7392 GB, free: 13.39 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005097/1.615, allocations: 75.61 kB / 0.7393 GB, free: 13.32 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/1.615, allocations: 4 kB / 0.7393 GB, free: 13.31 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003243/1.616, allocations: 27.77 kB / 0.7393 GB, free: 13.29 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/1.616, allocations: 8 kB / 0.7393 GB, free: 13.28 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 (36): * Single equations (assignments): 36 * 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 8.486e-05/1.616, allocations: 108.9 kB / 0.7395 GB, free: 13.16 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.524e-05/1.616, allocations: 11.81 kB / 0.7395 GB, free: 13.15 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.549e-05/1.616, allocations: 45.23 kB / 0.7395 GB, free: 13.14 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/1.616, allocations: 0 / 0.7395 GB, free: 13.14 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.616, allocations: 3.938 kB / 0.7395 GB, free: 13.14 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/1.616, allocations: 4 kB / 0.7395 GB, free: 13.13 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/1.616, allocations: 236.1 kB / 0.7397 GB, free: 12.88 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/1.616, allocations: 0 / 0.7397 GB, free: 12.88 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005566/1.617, allocations: 47.91 kB / 0.7398 GB, free: 12.84 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/1.617, allocations: 0 / 0.7398 GB, free: 12.84 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.593e-05/1.617, allocations: 15.23 kB / 0.7398 GB, free: 12.82 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/1.617, allocations: 0.7031 kB / 0.7398 GB, free: 12.82 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/1.617, allocations: 4 kB / 0.7398 GB, free: 12.82 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004768/1.617, allocations: 410.5 kB / 0.7402 GB, free: 12.47 MB / 0.5109 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006754/1.618, allocations: 0.8963 MB / 0.7411 GB, free: 11.66 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 4.006e-05/1.618, allocations: 93.09 kB / 0.7412 GB, free: 11.55 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.729e-05/1.618, allocations: 4 kB / 0.7412 GB, free: 11.54 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003675/1.619, allocations: 29.5 kB / 0.7412 GB, free: 11.52 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/1.619, allocations: 11.98 kB / 0.7412 GB, free: 11.5 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/1.619, allocations: 7.25 kB / 0.7412 GB, free: 11.5 MB / 0.5109 GB Notification: Performance of sort global known variables: time 3.379e-05/1.619, allocations: 86.89 kB / 0.7413 GB, free: 11.42 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0008592/1.62, allocations: 71.91 kB / 0.7414 GB, free: 11.35 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (Ttilde[1],Ttilde[2],Ttilde[3],Ttilde[4],Ttilde[5],Ttilde[6],Ttilde[7],Ttilde[8],Ttilde[9],Ttilde[10],Ttilde[11],Ttilde[12],Ttilde[13],Ttilde[14],Ttilde[15],Ttilde[16],Ttilde[17],Ttilde[18]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0001155/1.62, allocations: 105 kB / 0.7415 GB, free: 11.24 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.000348/1.62, allocations: 247.2 kB / 0.7417 GB, free: 11.05 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.62, allocations: 0 / 0.7417 GB, free: 11.05 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/1.62, allocations: 101.5 kB / 0.7418 GB, free: 10.98 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/1.62, allocations: 47.38 kB / 0.7418 GB, free: 10.94 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/1.622, allocations: 1.393 MB / 0.7432 GB, free: 9.535 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004523/1.623, allocations: 0.8267 MB / 0.744 GB, free: 8.684 MB / 0.5109 GB Notification: Performance of SimCode: time 3.11e-07/1.623, allocations: 0 / 0.744 GB, free: 8.684 MB / 0.5109 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTT_FD_N_20_fmu --startTime=0 --stopTime=350 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTT_FD_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_20_res.mat does not exist to compare? outputFormat=mat