Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",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 3.2.3+maint.om/package.mo): time 0.001347/0.001347, allocations: 192 kB / 7.803 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.613/1.613, allocations: 205.2 MB / 213.4 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009907/0.0009908, allocations: 97.16 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.23/0.23, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2455/0.4756, allocations: 64.99 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.8757, allocations: 58.84 MB / 476.7 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1511/1.027, allocations: 91.6 MB / 0.555 GB, free: 7.312 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/1.027, allocations: 91.92 kB / 0.555 GB, free: 7.223 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.02105/1.048, allocations: 6.909 MB / 0.5618 GB, free: 260 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/1.048, allocations: 8 kB / 0.5618 GB, free: 252 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.786e-05/1.048, allocations: 27.62 kB / 0.5618 GB, free: 224 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003711/1.049, allocations: 214.7 kB / 0.562 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/1.049, allocations: 7.828 kB / 0.562 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/1.049, allocations: 12 kB / 0.562 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004128/1.049, allocations: 216.8 kB / 0.5623 GB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003164/1.05, allocations: 178.4 kB / 0.5624 GB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/1.05, allocations: 0 / 0.5624 GB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/1.05, allocations: 4 kB / 0.5624 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/1.05, allocations: 15.89 kB / 0.5624 GB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/1.051, allocations: 0.5493 MB / 0.563 GB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/1.051, allocations: 90.67 kB / 0.5631 GB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.942e-05/1.051, allocations: 32.91 kB / 0.5631 GB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.69e-05/1.051, allocations: 0 / 0.5631 GB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/1.051, allocations: 38.66 kB / 0.5631 GB, free: 14.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 5.29e-06/1.052, allocations: 0 / 0.5631 GB, free: 14.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003092/1.052, allocations: 97.38 kB / 0.5632 GB, free: 14.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/1.052, allocations: 55.41 kB / 0.5633 GB, free: 14.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/1.052, allocations: 166.9 kB / 0.5634 GB, free: 14.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/1.052, allocations: 25.7 kB / 0.5635 GB, free: 14.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/1.052, allocations: 175.5 kB / 0.5636 GB, free: 14.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.379e-05/1.052, allocations: 35.48 kB / 0.5637 GB, free: 14.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/1.052, allocations: 0 / 0.5637 GB, free: 14.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001829/1.053, allocations: 326.7 kB / 0.564 GB, free: 13.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.721e-05/1.053, allocations: 31.94 kB / 0.564 GB, free: 13.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/1.053, allocations: 132.8 kB / 0.5641 GB, free: 13.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/1.053, allocations: 51.91 kB / 0.5642 GB, free: 13.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/1.053, allocations: 4 kB / 0.5642 GB, free: 13.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004345/1.053, allocations: 177.2 kB / 0.5644 GB, free: 13.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/1.054, allocations: 8 kB / 0.5644 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/1.054, allocations: 3.984 kB / 0.5644 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/1.054, allocations: 8.438 kB / 0.5644 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005327/1.054, allocations: 87.89 kB / 0.5645 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009659/1.055, allocations: 1.227 MB / 0.5657 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/1.055, allocations: 27.73 kB / 0.5657 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/1.055, allocations: 12 kB / 0.5657 GB, free: 12 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.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: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002191/1.056, allocations: 117.8 kB / 0.5658 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.526e-05/1.056, allocations: 11.81 kB / 0.5658 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003876/1.056, allocations: 155 kB / 0.566 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/1.056, allocations: 4 kB / 0.566 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/1.056, allocations: 0 / 0.566 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/1.056, allocations: 3.906 kB / 0.566 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004959/1.057, allocations: 392.6 kB / 0.5664 GB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/1.057, allocations: 8.062 kB / 0.5664 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000296/1.057, allocations: 55.95 kB / 0.5664 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/1.057, allocations: 0 / 0.5664 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/1.057, allocations: 4 kB / 0.5664 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007503/1.058, allocations: 1.227 MB / 0.5676 GB, free: 9.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/1.058, allocations: 0 / 0.5676 GB, free: 9.93 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002897/1.058, allocations: 240.5 kB / 0.5678 GB, free: 9.66 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004004/1.059, allocations: 0.6062 MB / 0.5684 GB, free: 9.016 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.293e-05/1.059, allocations: 88.92 kB / 0.5685 GB, free: 8.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/1.059, allocations: 4 kB / 0.5685 GB, free: 8.906 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/1.059, allocations: 11.98 kB / 0.5685 GB, free: 8.895 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/1.059, allocations: 7.984 kB / 0.5685 GB, free: 8.887 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/1.059, allocations: 8 kB / 0.5685 GB, free: 8.879 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.47e-05/1.059, allocations: 129.5 kB / 0.5687 GB, free: 8.754 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001027/1.06, allocations: 75.75 kB / 0.5687 GB, free: 8.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004076/1.06, allocations: 183.3 kB / 0.5689 GB, free: 8.492 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004841/1.061, allocations: 135.8 kB / 0.569 GB, free: 8.359 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.061, allocations: 0.875 kB / 0.5691 GB, free: 8.359 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002927/1.061, allocations: 76.16 kB / 0.5691 GB, free: 8.285 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/1.062, allocations: 19.91 kB / 0.5691 GB, free: 8.266 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006898/1.062, allocations: 217.3 kB / 0.5693 GB, free: 8.016 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004753/1.063, allocations: 0.7665 MB / 0.5701 GB, free: 7.223 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/1.063, allocations: 0 / 0.5701 GB, free: 7.223 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat does not exist to compare? outputFormat=mat