Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32: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 trunk/package.mo): time 0.00104/0.00104, allocations: 199.6 kB / 8.536 MB, free: 1.777 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.214/1.214, allocations: 225.5 MB / 234.4 MB, free: 3.363 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009214/0.0009213, allocations: 95.47 kB / 286.3 MB, free: 5.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1663/0.1663, allocations: 45.14 MB / 383.3 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2061/0.3724, allocations: 69.39 MB / 452.7 MB, free: 76.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0917/0.4642, allocations: 63.24 MB / 0.5039 GB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2862/0.7505, allocations: 101.1 MB / 0.6026 GB, free: 1.895 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/0.7508, allocations: 97.45 kB / 0.6027 GB, free: 1.84 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.03307/0.7839, allocations: 10.88 MB / 0.6133 GB, free: 8.957 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.7839, allocations: 8 kB / 0.6134 GB, free: 8.949 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.188e-05/0.784, allocations: 23.72 kB / 0.6134 GB, free: 8.926 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.7842, allocations: 215.5 kB / 0.6136 GB, free: 8.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.7842, allocations: 4 kB / 0.6136 GB, free: 8.676 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.7843, allocations: 12 kB / 0.6136 GB, free: 8.664 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002244/0.7845, allocations: 114 kB / 0.6137 GB, free: 8.598 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.7848, allocations: 224.1 kB / 0.6139 GB, free: 8.406 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.7848, allocations: 3.938 kB / 0.6139 GB, free: 8.402 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.7848, allocations: 0 / 0.6139 GB, free: 8.402 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.7848, allocations: 4 kB / 0.6139 GB, free: 8.398 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009394/0.7858, allocations: 0.8535 MB / 0.6148 GB, free: 7.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.801e-05/0.7859, allocations: 48.94 kB / 0.6148 GB, free: 7.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.125e-05/0.7859, allocations: 20.11 kB / 0.6148 GB, free: 7.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.786, allocations: 3.984 kB / 0.6148 GB, free: 7.496 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.786, allocations: 34.38 kB / 0.6149 GB, free: 7.457 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/0.786, allocations: 0 / 0.6149 GB, free: 7.457 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002134/0.7862, allocations: 80.17 kB / 0.6149 GB, free: 7.379 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.7863, allocations: 51.41 kB / 0.615 GB, free: 7.316 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.7864, allocations: 176.6 kB / 0.6152 GB, free: 7.156 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.742e-05/0.7865, allocations: 29.64 kB / 0.6152 GB, free: 7.121 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.809e-05/0.7866, allocations: 181.5 kB / 0.6154 GB, free: 6.953 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.7866, allocations: 23.08 kB / 0.6154 GB, free: 6.934 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.655e-06/0.7866, allocations: 0 / 0.6154 GB, free: 6.934 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.587e-05/0.7867, allocations: 325.1 kB / 0.6157 GB, free: 6.613 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.09e-05/0.7868, allocations: 30.97 kB / 0.6157 GB, free: 6.586 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.7869, allocations: 167.6 kB / 0.6159 GB, free: 6.367 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.845e-05/0.787, allocations: 58.34 kB / 0.6159 GB, free: 6.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.787, allocations: 4 kB / 0.6159 GB, free: 6.316 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003065/0.7873, allocations: 190 kB / 0.6161 GB, free: 6.141 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.7873, allocations: 4 kB / 0.6161 GB, free: 6.137 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.122e-05/0.7874, allocations: 15.5 kB / 0.6161 GB, free: 6.125 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.7874, allocations: 12.67 kB / 0.6162 GB, free: 6.113 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.7876, allocations: 47.92 kB / 0.6162 GB, free: 6.066 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.7876, allocations: 15.92 kB / 0.6162 GB, free: 6.051 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.7878, allocations: 31.69 kB / 0.6162 GB, free: 6.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.7878, allocations: 12 kB / 0.6163 GB, free: 6.008 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 7.412e-05/0.7879, allocations: 120.5 kB / 0.6164 GB, free: 5.887 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.172e-05/0.7879, allocations: 19.72 kB / 0.6164 GB, free: 5.867 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002944/0.7882, allocations: 127.8 kB / 0.6165 GB, free: 5.742 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.7882, allocations: 11.98 kB / 0.6165 GB, free: 5.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.7882, allocations: 0 / 0.6165 GB, free: 5.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.7883, allocations: 0 / 0.6165 GB, free: 5.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.7885, allocations: 191.2 kB / 0.6167 GB, free: 5.523 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.09e-05/0.7885, allocations: 11.91 kB / 0.6167 GB, free: 5.512 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.56e-05/0.7886, allocations: 15.98 kB / 0.6167 GB, free: 5.496 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.7886, allocations: 0 / 0.6167 GB, free: 5.496 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.7886, allocations: 3.938 kB / 0.6167 GB, free: 5.492 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.7886, allocations: 8 kB / 0.6167 GB, free: 5.484 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7886, allocations: 0 / 0.6167 GB, free: 5.484 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001719/0.7888, allocations: 170 kB / 0.6169 GB, free: 5.312 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002731/0.7891, allocations: 0.5486 MB / 0.6174 GB, free: 4.758 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.878e-05/0.7891, allocations: 88.92 kB / 0.6175 GB, free: 4.652 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.7892, allocations: 4 kB / 0.6175 GB, free: 4.648 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.7893, allocations: 11.98 kB / 0.6175 GB, free: 4.637 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.7893, allocations: 4.234 kB / 0.6175 GB, free: 4.633 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.7894, allocations: 3.625 kB / 0.6176 GB, free: 4.633 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.299e-05/0.7894, allocations: 141 kB / 0.6177 GB, free: 4.508 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00131/0.7908, allocations: 133.3 kB / 0.6178 GB, free: 4.391 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0007239/0.7915, allocations: 252.8 kB / 0.6181 GB, free: 4.137 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003324/0.7918, allocations: 162.7 kB / 0.6182 GB, free: 3.984 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.7919, allocations: 4 kB / 0.6182 GB, free: 3.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.792, allocations: 86.52 kB / 0.6183 GB, free: 3.887 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.7922, allocations: 14.34 kB / 0.6183 GB, free: 3.879 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005974/0.7928, allocations: 205 kB / 0.6185 GB, free: 3.664 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003313/0.7932, allocations: 0.751 MB / 0.6192 GB, free: 2.891 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.7932, allocations: 0 / 0.6192 GB, free: 2.891 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat does not exist to compare? outputFormat=mat