Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_10",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.001086/0.001086, allocations: 186.4 kB / 8.139 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.156/1.156, allocations: 221.4 MB / 229.9 MB, free: 3.023 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.001013/0.001013, allocations: 103.5 kB / 280.8 MB, free: 1.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6544/0.6544, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3452/0.9996, allocations: 89.71 MB / 0.529 GB, free: 51.68 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/1.113, allocations: 82.84 MB / 0.6099 GB, free: 2.73 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.487/1.6, allocations: 125.1 MB / 0.7321 GB, free: 4.047 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001636/1.6, allocations: 63.05 kB / 0.7321 GB, free: 4.023 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.01305/1.613, allocations: 4.414 MB / 0.7365 GB, free: 212 kB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/1.613, allocations: 8 kB / 0.7365 GB, free: 204 kB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.488e-05/1.613, allocations: 27.72 kB / 0.7365 GB, free: 176 kB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004051/1.614, allocations: 294.4 kB / 0.7368 GB, free: 15.84 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/1.614, allocations: 11.91 kB / 0.7368 GB, free: 15.83 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.284e-05/1.614, allocations: 19.44 kB / 0.7368 GB, free: 15.82 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004572/1.614, allocations: 284.4 kB / 0.7371 GB, free: 15.6 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004481/1.615, allocations: 295.5 kB / 0.7374 GB, free: 15.35 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/1.615, allocations: 0 / 0.7374 GB, free: 15.35 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.03e-05/1.615, allocations: 0 / 0.7374 GB, free: 15.35 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/1.615, allocations: 4 kB / 0.7374 GB, free: 15.35 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000468/1.615, allocations: 358.9 kB / 0.7377 GB, free: 15 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/1.617, allocations: 0.5711 MB / 0.7383 GB, free: 14.53 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003108/1.617, allocations: 222.9 kB / 0.7385 GB, free: 14.37 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002136/1.617, allocations: 97.53 kB / 0.7386 GB, free: 14.26 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.758e-05/1.617, allocations: 42.16 kB / 0.7386 GB, free: 14.21 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=53): time 2.425e-06/1.617, allocations: 0 / 0.7386 GB, free: 14.21 MB / 0.5109 GB Notification: Performance of matching and sorting (n=53): time 0.001534/1.619, allocations: 0.6106 MB / 0.7392 GB, free: 13.69 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/1.619, allocations: 55.84 kB / 0.7393 GB, free: 13.62 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/1.619, allocations: 124.8 kB / 0.7394 GB, free: 13.5 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/1.619, allocations: 25.7 kB / 0.7394 GB, free: 13.46 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 3.897e-05/1.619, allocations: 92.88 kB / 0.7395 GB, free: 13.38 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.000153/1.619, allocations: 199.2 kB / 0.7397 GB, free: 13.2 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/1.619, allocations: 0 / 0.7397 GB, free: 13.2 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001307/1.62, allocations: 352.5 kB / 0.74 GB, free: 12.86 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003378/1.62, allocations: 239.8 kB / 0.7402 GB, free: 12.69 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/1.62, allocations: 251.1 kB / 0.7405 GB, free: 12.5 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/1.621, allocations: 419.2 kB / 0.7409 GB, free: 12.16 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/1.621, allocations: 0 / 0.7409 GB, free: 12.16 MB / 0.5109 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001628/1.623, allocations: 0.7641 MB / 0.7416 GB, free: 11.52 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/1.623, allocations: 8 kB / 0.7416 GB, free: 11.51 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/1.623, allocations: 0 / 0.7416 GB, free: 11.51 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/1.623, allocations: 4 kB / 0.7416 GB, free: 11.5 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007762/1.624, allocations: 143 kB / 0.7418 GB, free: 11.37 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/1.624, allocations: 4 kB / 0.7418 GB, free: 11.36 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/1.624, allocations: 23.59 kB / 0.7418 GB, free: 11.34 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.026e-05/1.624, allocations: 30.55 kB / 0.7418 GB, free: 11.32 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 (74): * Single equations (assignments): 74 * 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.0001266/1.624, allocations: 108.9 kB / 0.7419 GB, free: 11.2 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.676e-05/1.624, allocations: 31.62 kB / 0.742 GB, free: 11.17 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001926/1.626, allocations: 0.811 MB / 0.7428 GB, free: 10.51 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.709e-06/1.626, allocations: 12 kB / 0.7428 GB, free: 10.5 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.626, allocations: 0 / 0.7428 GB, free: 10.5 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/1.626, allocations: 7.969 kB / 0.7428 GB, free: 10.49 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000538/1.627, allocations: 414.1 kB / 0.7432 GB, free: 10.11 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/1.627, allocations: 1.688 kB / 0.7432 GB, free: 10.11 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/1.628, allocations: 159.4 kB / 0.7433 GB, free: 9.953 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/1.628, allocations: 4 kB / 0.7433 GB, free: 9.949 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-05/1.628, allocations: 19.73 kB / 0.7433 GB, free: 9.934 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/1.628, allocations: 0 / 0.7433 GB, free: 9.934 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.628, allocations: 0 / 0.7433 GB, free: 9.934 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002004/1.63, allocations: 1.057 MB / 0.7444 GB, free: 9.07 MB / 0.5109 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002519/1.633, allocations: 1.755 MB / 0.7461 GB, free: 7.586 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002274/1.633, allocations: 166.8 kB / 0.7463 GB, free: 7.41 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.141e-05/1.633, allocations: 15.89 kB / 0.7463 GB, free: 7.395 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/1.633, allocations: 0 / 0.7463 GB, free: 7.395 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.192e-05/1.633, allocations: 39.41 kB / 0.7463 GB, free: 7.363 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.357e-05/1.633, allocations: 21.88 kB / 0.7463 GB, free: 7.348 MB / 0.5109 GB Notification: Performance of sort global known variables: time 7.627e-05/1.633, allocations: 113.8 kB / 0.7464 GB, free: 7.246 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0009763/1.634, allocations: 103.5 kB / 0.7465 GB, free: 7.148 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.0002027/1.635, allocations: 130.5 kB / 0.7467 GB, free: 7.012 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0008121/1.635, allocations: 0.571 MB / 0.7472 GB, free: 6.57 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.635, allocations: 3.25 kB / 0.7472 GB, free: 6.57 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0003859/1.636, allocations: 316.5 kB / 0.7475 GB, free: 6.332 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/1.636, allocations: 30.84 kB / 0.7476 GB, free: 6.309 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/1.638, allocations: 1.448 MB / 0.749 GB, free: 4.883 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006434/1.639, allocations: 0.9225 MB / 0.7499 GB, free: 3.945 MB / 0.5109 GB Notification: Performance of SimCode: time 3.9e-07/1.639, allocations: 0 / 0.7499 GB, free: 3.945 MB / 0.5109 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_10_fmu --startTime=0 --stopTime=432000 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat does not exist to compare? outputFormat=mat