Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_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.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_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.001144/0.001144, allocations: 182.3 kB / 8.135 MB, free: 2.215 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.138/1.138, allocations: 221.4 MB / 230 MB, free: 3.355 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.0009307/0.0009307, allocations: 93.42 kB / 280.8 MB, free: 1.297 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.674/0.674, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3405/1.015, allocations: 89.71 MB / 0.529 GB, free: 51.64 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/1.129, allocations: 82.85 MB / 0.6099 GB, free: 2.719 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4745/1.604, allocations: 125.1 MB / 0.7321 GB, free: 4.375 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001549/1.604, allocations: 59.2 kB / 0.7322 GB, free: 4.355 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.022/1.626, allocations: 7.441 MB / 0.7394 GB, free: 13.76 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/1.626, allocations: 8 kB / 0.7394 GB, free: 13.75 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/1.626, allocations: 47.44 kB / 0.7395 GB, free: 13.71 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007308/1.627, allocations: 431.7 kB / 0.7399 GB, free: 13.26 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/1.627, allocations: 16 kB / 0.7399 GB, free: 13.24 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/1.627, allocations: 42.45 kB / 0.7399 GB, free: 13.21 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008676/1.628, allocations: 0.5791 MB / 0.7405 GB, free: 12.74 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008322/1.629, allocations: 0.5375 MB / 0.741 GB, free: 12.3 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/1.629, allocations: 0 / 0.741 GB, free: 12.3 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.307e-05/1.629, allocations: 0.5 kB / 0.741 GB, free: 12.3 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/1.629, allocations: 12 kB / 0.7411 GB, free: 12.29 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007772/1.629, allocations: 0.5541 MB / 0.7416 GB, free: 11.78 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00243/1.632, allocations: 1.13 MB / 0.7427 GB, free: 10.85 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00054/1.632, allocations: 436.7 kB / 0.7431 GB, free: 10.54 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002062/1.633, allocations: 105.5 kB / 0.7432 GB, free: 10.42 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/1.633, allocations: 46.97 kB / 0.7433 GB, free: 10.37 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=103): time 2.124e-06/1.633, allocations: 0 / 0.7433 GB, free: 10.37 MB / 0.5109 GB Notification: Performance of matching and sorting (n=103): time 0.002684/1.635, allocations: 1.172 MB / 0.7444 GB, free: 9.375 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/1.635, allocations: 64.41 kB / 0.7445 GB, free: 9.301 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/1.636, allocations: 143.1 kB / 0.7446 GB, free: 9.168 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 5.552e-05/1.636, allocations: 25.7 kB / 0.7446 GB, free: 9.137 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 4.143e-05/1.636, allocations: 93.44 kB / 0.7447 GB, free: 9.047 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002722/1.636, allocations: 389.9 kB / 0.7451 GB, free: 8.715 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.387e-05/1.636, allocations: 8 kB / 0.7451 GB, free: 8.707 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001417/1.636, allocations: 364.7 kB / 0.7454 GB, free: 8.363 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006439/1.637, allocations: 492 kB / 0.7459 GB, free: 8.008 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000695/1.638, allocations: 487.8 kB / 0.7464 GB, free: 7.652 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002077/1.64, allocations: 0.8074 MB / 0.7472 GB, free: 6.977 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/1.64, allocations: 1.031 kB / 0.7472 GB, free: 6.977 MB / 0.5109 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003036/1.643, allocations: 1.478 MB / 0.7486 GB, free: 5.742 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/1.643, allocations: 4.781 kB / 0.7486 GB, free: 5.738 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/1.643, allocations: 3.984 kB / 0.7486 GB, free: 5.734 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/1.643, allocations: 4 kB / 0.7486 GB, free: 5.73 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/1.644, allocations: 280.9 kB / 0.7489 GB, free: 5.465 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.375e-05/1.644, allocations: 12 kB / 0.7489 GB, free: 5.453 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003969/1.645, allocations: 52.81 kB / 0.749 GB, free: 5.402 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/1.645, allocations: 42.05 kB / 0.749 GB, free: 5.371 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 (144): * Single equations (assignments): 144 * 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.0001757/1.645, allocations: 112.8 kB / 0.7491 GB, free: 5.254 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/1.645, allocations: 47.44 kB / 0.7491 GB, free: 5.207 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003598/1.649, allocations: 1.58 MB / 0.7507 GB, free: 3.93 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/1.649, allocations: 16 kB / 0.7507 GB, free: 3.914 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/1.649, allocations: 0 / 0.7507 GB, free: 3.914 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.775e-05/1.649, allocations: 11.88 kB / 0.7507 GB, free: 3.902 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008771/1.65, allocations: 0.6576 MB / 0.7514 GB, free: 3.305 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/1.65, allocations: 0 / 0.7514 GB, free: 3.305 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002085/1.652, allocations: 320.7 kB / 0.7517 GB, free: 3.004 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.076e-05/1.652, allocations: 4 kB / 0.7517 GB, free: 3 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001218/1.652, allocations: 33.84 kB / 0.7517 GB, free: 2.973 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/1.652, allocations: 4 kB / 0.7517 GB, free: 2.969 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/1.652, allocations: 8.812 kB / 0.7517 GB, free: 2.961 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003784/1.656, allocations: 2.025 MB / 0.7537 GB, free: 1.328 MB / 0.5109 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004612/1.66, allocations: 3.038 MB / 0.7567 GB, free: 14.87 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003405/1.661, allocations: 243.1 kB / 0.7569 GB, free: 14.62 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/1.661, allocations: 19.97 kB / 0.7569 GB, free: 14.6 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003638/1.661, allocations: 0 / 0.7569 GB, free: 14.6 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/1.661, allocations: 80.5 kB / 0.757 GB, free: 14.54 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.558e-05/1.662, allocations: 43.67 kB / 0.757 GB, free: 14.5 MB / 0.5265 GB Notification: Performance of sort global known variables: time 8.391e-05/1.662, allocations: 131.9 kB / 0.7571 GB, free: 14.38 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.001073/1.663, allocations: 188 kB / 0.7573 GB, free: 14.2 MB / 0.5265 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (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],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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 144 * 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.000235/1.663, allocations: 143.8 kB / 0.7575 GB, free: 14.05 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.001482/1.664, allocations: 1.139 MB / 0.7586 GB, free: 13.17 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.664, allocations: 0 / 0.7586 GB, free: 13.17 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.0007676/1.665, allocations: 0.6117 MB / 0.7592 GB, free: 12.7 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/1.666, allocations: 63.55 kB / 0.7592 GB, free: 12.64 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004056/1.67, allocations: 2.788 MB / 0.762 GB, free: 9.914 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/1.671, allocations: 1.136 MB / 0.7631 GB, free: 8.77 MB / 0.5265 GB Notification: Performance of SimCode: time 2.81e-07/1.671, allocations: 0 / 0.7631 GB, free: 8.77 MB / 0.5265 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_20_fmu --startTime=0 --stopTime=432000 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat does not exist to compare? outputFormat=mat