Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.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_5,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5",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.001173/0.001173, allocations: 174.9 kB / 8.128 MB, free: 0.8594 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.149/1.149, allocations: 221.4 MB / 229.9 MB, free: 13.54 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009785/0.0009785, allocations: 103 kB / 280.8 MB, free: 10.49 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6708/0.6708, allocations: 120.4 MB / 452 MB, free: 2.535 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1517/0.8225, allocations: 89.71 MB / 0.529 GB, free: 8.945 MB / 418.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/1.176, allocations: 82.84 MB / 0.6099 GB, free: 4.645 MB / 418.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1373/1.314, allocations: 125.1 MB / 0.7321 GB, free: 7.41 MB / 0.5341 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001795/1.314, allocations: 67.91 kB / 0.7322 GB, free: 7.344 MB / 0.5341 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.009996/1.324, allocations: 2.955 MB / 0.735 GB, free: 4.332 MB / 0.5341 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/1.324, allocations: 12 kB / 0.7351 GB, free: 4.32 MB / 0.5341 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.396e-05/1.324, allocations: 11.81 kB / 0.7351 GB, free: 4.309 MB / 0.5341 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/1.324, allocations: 227 kB / 0.7353 GB, free: 4.047 MB / 0.5341 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/1.324, allocations: 7.984 kB / 0.7353 GB, free: 4.039 MB / 0.5341 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.744e-05/1.324, allocations: 15.91 kB / 0.7353 GB, free: 4.023 MB / 0.5341 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002665/1.325, allocations: 144.3 kB / 0.7354 GB, free: 3.883 MB / 0.5341 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/1.325, allocations: 164.1 kB / 0.7356 GB, free: 3.719 MB / 0.5341 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/1.325, allocations: 0 / 0.7356 GB, free: 3.719 MB / 0.5341 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/1.325, allocations: 0 / 0.7356 GB, free: 3.719 MB / 0.5341 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/1.325, allocations: 4 kB / 0.7356 GB, free: 3.715 MB / 0.5341 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003126/1.325, allocations: 250.7 kB / 0.7358 GB, free: 3.434 MB / 0.5341 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007647/1.326, allocations: 299.3 kB / 0.7361 GB, free: 3.133 MB / 0.5341 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/1.326, allocations: 113.8 kB / 0.7362 GB, free: 3.02 MB / 0.5341 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001772/1.327, allocations: 93.09 kB / 0.7363 GB, free: 2.91 MB / 0.5341 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/1.327, allocations: 38.56 kB / 0.7364 GB, free: 2.863 MB / 0.5341 GB Notification: Performance of pre-optimization done (n=28): time 2.945e-06/1.327, allocations: 0 / 0.7364 GB, free: 2.863 MB / 0.5341 GB Notification: Performance of matching and sorting (n=28): time 0.0008592/1.327, allocations: 338.6 kB / 0.7367 GB, free: 2.527 MB / 0.5341 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/1.327, allocations: 55.41 kB / 0.7367 GB, free: 2.461 MB / 0.5341 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.728e-05/1.328, allocations: 116.6 kB / 0.7368 GB, free: 2.344 MB / 0.5341 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/1.328, allocations: 33.7 kB / 0.7369 GB, free: 2.305 MB / 0.5341 GB Notification: Performance of collectInitialEqns (initialization): time 3.278e-05/1.328, allocations: 80.64 kB / 0.737 GB, free: 2.223 MB / 0.5341 GB Notification: Performance of collectInitialBindings (initialization): time 8.944e-05/1.328, allocations: 110.4 kB / 0.7371 GB, free: 2.113 MB / 0.5341 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.523e-05/1.328, allocations: 4 kB / 0.7371 GB, free: 2.109 MB / 0.5341 GB Notification: Performance of setup shared object (initialization): time 0.0001152/1.328, allocations: 326.8 kB / 0.7374 GB, free: 1.781 MB / 0.5341 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/1.328, allocations: 120.6 kB / 0.7375 GB, free: 1.66 MB / 0.5341 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/1.328, allocations: 124.9 kB / 0.7376 GB, free: 1.539 MB / 0.5341 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006227/1.329, allocations: 222 kB / 0.7378 GB, free: 1.324 MB / 0.5341 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.329, allocations: 0 / 0.7378 GB, free: 1.324 MB / 0.5341 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008693/1.33, allocations: 421.6 kB / 0.7382 GB, free: 0.9062 MB / 0.5341 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/1.33, allocations: 4 kB / 0.7382 GB, free: 0.9023 MB / 0.5341 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/1.33, allocations: 4 kB / 0.7382 GB, free: 0.8984 MB / 0.5341 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/1.33, allocations: 3.984 kB / 0.7382 GB, free: 0.8945 MB / 0.5341 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004007/1.33, allocations: 79.84 kB / 0.7383 GB, free: 0.8164 MB / 0.5341 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/1.33, allocations: 4 kB / 0.7383 GB, free: 0.8125 MB / 0.5341 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/1.33, allocations: 15.75 kB / 0.7383 GB, free: 0.7969 MB / 0.5341 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/1.33, allocations: 7.984 kB / 0.7383 GB, free: 0.7891 MB / 0.5341 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 (39): * Single equations (assignments): 39 * 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 9.416e-05/1.331, allocations: 115.4 kB / 0.7384 GB, free: 0.6719 MB / 0.5341 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/1.331, allocations: 19.75 kB / 0.7385 GB, free: 0.6523 MB / 0.5341 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/1.332, allocations: 447.2 kB / 0.7389 GB, free: 216 kB / 0.5341 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/1.332, allocations: 4 kB / 0.7389 GB, free: 212 kB / 0.5341 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/1.332, allocations: 0 / 0.7389 GB, free: 212 kB / 0.5341 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/1.332, allocations: 4 kB / 0.7389 GB, free: 208 kB / 0.5341 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2413/1.573, allocations: 268 kB / 0.7392 GB, free: 179.9 MB / 0.5344 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/1.573, allocations: 3.625 kB / 0.7392 GB, free: 179.9 MB / 0.5344 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005661/1.574, allocations: 88.48 kB / 0.7392 GB, free: 179.9 MB / 0.5344 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/1.574, allocations: 0 / 0.7392 GB, free: 179.9 MB / 0.5344 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.428e-05/1.574, allocations: 15.69 kB / 0.7393 GB, free: 179.9 MB / 0.5344 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/1.574, allocations: 3.281 kB / 0.7393 GB, free: 179.9 MB / 0.5344 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.574, allocations: 0 / 0.7393 GB, free: 179.9 MB / 0.5344 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009454/1.575, allocations: 0.5698 MB / 0.7398 GB, free: 179.8 MB / 0.5344 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001064/1.576, allocations: 1.113 MB / 0.7409 GB, free: 179.4 MB / 0.5344 GB Notification: Performance of postOpt removeConstants (simulation): time 9.389e-05/1.576, allocations: 124.3 kB / 0.741 GB, free: 179.3 MB / 0.5344 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.28e-05/1.576, allocations: 11.58 kB / 0.741 GB, free: 179.3 MB / 0.5344 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/1.576, allocations: 0 / 0.741 GB, free: 179.3 MB / 0.5344 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/1.576, allocations: 20.73 kB / 0.7411 GB, free: 179.3 MB / 0.5344 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/1.576, allocations: 10.72 kB / 0.7411 GB, free: 179.3 MB / 0.5344 GB Notification: Performance of sort global known variables: time 3.463e-05/1.576, allocations: 95.58 kB / 0.7412 GB, free: 179.2 MB / 0.5344 GB Notification: Performance of remove unused functions: time 0.0008512/1.577, allocations: 62.77 kB / 0.7412 GB, free: 179.2 MB / 0.5344 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],x[1],x[2],x[3],x[4],x[5]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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.0001349/1.577, allocations: 125.3 kB / 0.7413 GB, free: 179.1 MB / 0.5344 GB Notification: Performance of simCode: created initialization part: time 0.0003556/1.577, allocations: 294.7 kB / 0.7416 GB, free: 179.1 MB / 0.5344 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.577, allocations: 0 / 0.7416 GB, free: 179.1 MB / 0.5344 GB Notification: Performance of simCode: created simulation system equations: time 0.0001783/1.578, allocations: 165.9 kB / 0.7418 GB, free: 179.1 MB / 0.5344 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/1.578, allocations: 26.44 kB / 0.7418 GB, free: 179.1 MB / 0.5344 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/1.579, allocations: 0.7851 MB / 0.7426 GB, free: 178.8 MB / 0.5344 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002878/1.579, allocations: 0.8117 MB / 0.7434 GB, free: 178.1 MB / 0.5344 GB Notification: Performance of SimCode: time 2.61e-07/1.579, allocations: 5.062 kB / 0.7434 GB, free: 178.1 MB / 0.5344 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5_fmu --startTime=0 --stopTime=432000 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat does not exist to compare? outputFormat=mat