Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_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.DistrictHeating.ScaledExperiments.HeatingSystem_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_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.001194/0.001194, allocations: 185.7 kB / 8.135 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.188/1.188, allocations: 221.4 MB / 229.9 MB, free: 3.062 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.001021/0.001021, allocations: 98.67 kB / 280.8 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7126/0.7126, allocations: 120.4 MB / 452 MB, free: 12.99 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3739/1.087, allocations: 89.71 MB / 0.529 GB, free: 51.7 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/1.208, allocations: 82.85 MB / 0.6099 GB, free: 2.723 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5359/1.744, allocations: 125.1 MB / 0.7321 GB, free: 4.152 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001555/1.744, allocations: 60.69 kB / 0.7322 GB, free: 4.129 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.04385/1.788, allocations: 13.88 MB / 0.7457 GB, free: 7.602 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/1.788, allocations: 8 kB / 0.7457 GB, free: 7.594 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002671/1.788, allocations: 83.06 kB / 0.7458 GB, free: 7.512 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001593/1.79, allocations: 0.8368 MB / 0.7466 GB, free: 6.645 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.27e-05/1.79, allocations: 24 kB / 0.7466 GB, free: 6.621 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002817/1.79, allocations: 89.27 kB / 0.7467 GB, free: 6.547 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001956/1.792, allocations: 1.243 MB / 0.7479 GB, free: 5.531 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001849/1.794, allocations: 1.048 MB / 0.749 GB, free: 4.684 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/1.794, allocations: 4 kB / 0.749 GB, free: 4.68 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/1.794, allocations: 7.984 kB / 0.749 GB, free: 4.672 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/1.794, allocations: 17.25 kB / 0.749 GB, free: 4.656 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/1.796, allocations: 0.9845 MB / 0.7499 GB, free: 3.797 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004967/1.801, allocations: 2.3 MB / 0.7522 GB, free: 1.93 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/1.802, allocations: 0.8439 MB / 0.753 GB, free: 1.32 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003084/1.802, allocations: 125.7 kB / 0.7531 GB, free: 1.184 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/1.802, allocations: 62.72 kB / 0.7532 GB, free: 1.129 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=203): time 3.727e-06/1.802, allocations: 3.938 kB / 0.7532 GB, free: 1.125 MB / 0.5109 GB Notification: Performance of matching and sorting (n=203): time 0.005811/1.808, allocations: 2.288 MB / 0.7554 GB, free: 15.2 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/1.808, allocations: 77.34 kB / 0.7555 GB, free: 15.11 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/1.809, allocations: 198.1 kB / 0.7557 GB, free: 14.94 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 9.644e-05/1.809, allocations: 26.73 kB / 0.7557 GB, free: 14.91 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 5.007e-05/1.809, allocations: 102.2 kB / 0.7558 GB, free: 14.81 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006513/1.809, allocations: 0.7493 MB / 0.7565 GB, free: 14.15 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/1.809, allocations: 0 / 0.7565 GB, free: 14.15 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001952/1.81, allocations: 421.9 kB / 0.757 GB, free: 13.77 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/1.811, allocations: 0.9421 MB / 0.7579 GB, free: 13.07 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001329/1.812, allocations: 0.9505 MB / 0.7588 GB, free: 12.35 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004323/1.817, allocations: 1.607 MB / 0.7604 GB, free: 11 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/1.817, allocations: 4 kB / 0.7604 GB, free: 10.99 MB / 0.5265 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.006281/1.823, allocations: 2.891 MB / 0.7632 GB, free: 8.566 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/1.823, allocations: 6.969 kB / 0.7632 GB, free: 8.562 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/1.823, allocations: 3.938 kB / 0.7632 GB, free: 8.559 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.065e-05/1.823, allocations: 12 kB / 0.7632 GB, free: 8.547 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003693/1.827, allocations: 0.5396 MB / 0.7637 GB, free: 8.023 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.095e-05/1.827, allocations: 15.98 kB / 0.7638 GB, free: 8.008 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007881/1.828, allocations: 102.2 kB / 0.7639 GB, free: 7.906 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001764/1.828, allocations: 81.16 kB / 0.7639 GB, free: 7.844 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 (284): * Single equations (assignments): 284 * 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.0002992/1.828, allocations: 128.5 kB / 0.7641 GB, free: 7.711 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/1.828, allocations: 90.97 kB / 0.7641 GB, free: 7.617 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006808/1.835, allocations: 3.087 MB / 0.7672 GB, free: 5.094 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.668e-05/1.835, allocations: 28 kB / 0.7672 GB, free: 5.066 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/1.835, allocations: 3.938 kB / 0.7672 GB, free: 5.062 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.241e-05/1.835, allocations: 11.95 kB / 0.7672 GB, free: 5.051 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/1.837, allocations: 1.199 MB / 0.7684 GB, free: 4.012 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/1.837, allocations: 0 / 0.7684 GB, free: 4.012 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004692/1.842, allocations: 0.608 MB / 0.769 GB, free: 3.426 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-05/1.842, allocations: 8 kB / 0.769 GB, free: 3.418 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002545/1.842, allocations: 75.17 kB / 0.769 GB, free: 3.355 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-05/1.842, allocations: 8 kB / 0.7691 GB, free: 3.348 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.842, allocations: 3.938 kB / 0.7691 GB, free: 3.344 MB / 0.5265 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007396/1.849, allocations: 3.948 MB / 0.7729 GB, free: 160 kB / 0.5265 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009273/1.859, allocations: 5.622 MB / 0.7784 GB, free: 11.64 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007143/1.859, allocations: 406.2 kB / 0.7788 GB, free: 11.25 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002739/1.86, allocations: 35.95 kB / 0.7788 GB, free: 11.21 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007485/1.86, allocations: 0 / 0.7788 GB, free: 11.21 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002603/1.861, allocations: 145.2 kB / 0.779 GB, free: 11.09 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001657/1.861, allocations: 82.97 kB / 0.779 GB, free: 11.02 MB / 0.5421 GB Notification: Performance of sort global known variables: time 0.0001331/1.861, allocations: 167.8 kB / 0.7792 GB, free: 10.88 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.001505/1.863, allocations: 367.9 kB / 0.7796 GB, free: 10.52 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 81 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],Tu[11],Tu[12],Tu[13],Tu[14],Tu[15],Tu[16],Tu[17],Tu[18],Tu[19],Tu[20],Tu[21],Tu[22],Tu[23],Tu[24],Tu[25],Tu[26],Tu[27],Tu[28],Tu[29],Tu[30],Tu[31],Tu[32],Tu[33],Tu[34],Tu[35],Tu[36],Tu[37],Tu[38],Tu[39],Tu[40],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20],x[21],x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31],x[32],x[33],x[34],x[35],x[36],x[37],x[38],x[39],x[40]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (284): * Single equations (assignments): 284 * 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.0003369/1.863, allocations: 174.2 kB / 0.7797 GB, free: 10.35 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.0032/1.866, allocations: 2.252 MB / 0.7819 GB, free: 8.598 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.866, allocations: 4 kB / 0.7819 GB, free: 8.594 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001594/1.868, allocations: 1.222 MB / 0.7831 GB, free: 7.652 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006195/1.868, allocations: 116.3 kB / 0.7832 GB, free: 7.562 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008051/1.876, allocations: 5.496 MB / 0.7886 GB, free: 2.195 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00179/1.878, allocations: 1.573 MB / 0.7901 GB, free: 0.6211 MB / 0.5421 GB Notification: Performance of SimCode: time 2.474e-06/1.878, allocations: 0 / 0.7901 GB, free: 0.6211 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_40_fmu --startTime=0 --stopTime=432000 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_40.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat does not exist to compare? outputFormat=mat