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.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,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",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.00117/0.00117, allocations: 185.1 kB / 7.8 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.535/1.535, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.00113/0.00113, allocations: 91.02 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.2219/0.2219, allocations: 43.5 MB / 352.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2537/0.4757, allocations: 64.98 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.849, allocations: 58.84 MB / 476.7 MB, free: 5.305 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1383/0.9873, allocations: 93.61 MB / 0.5569 GB, free: 5.359 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003736/0.9878, allocations: 103.4 kB / 0.557 GB, free: 5.262 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.02279/1.011, allocations: 7.9 MB / 0.5647 GB, free: 13.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/1.011, allocations: 8 kB / 0.5647 GB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.73e-05/1.011, allocations: 27.72 kB / 0.5648 GB, free: 13.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/1.011, allocations: 214.5 kB / 0.565 GB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/1.011, allocations: 4 kB / 0.565 GB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/1.011, allocations: 12 kB / 0.565 GB, free: 13 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002227/1.011, allocations: 116.3 kB / 0.5651 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/1.012, allocations: 154.8 kB / 0.5652 GB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/1.012, allocations: 0 / 0.5652 GB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/1.012, allocations: 0 / 0.5652 GB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/1.012, allocations: 11.94 kB / 0.5652 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008848/1.012, allocations: 0.5223 MB / 0.5658 GB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/1.013, allocations: 50.56 kB / 0.5658 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.751e-05/1.013, allocations: 20.92 kB / 0.5658 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/1.013, allocations: 7.906 kB / 0.5658 GB, free: 12.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/1.013, allocations: 30.56 kB / 0.5659 GB, free: 12.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 2.745e-06/1.013, allocations: 0 / 0.5659 GB, free: 12.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002264/1.013, allocations: 77.58 kB / 0.5659 GB, free: 11.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/1.013, allocations: 55.31 kB / 0.566 GB, free: 11.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/1.013, allocations: 149.8 kB / 0.5661 GB, free: 11.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/1.013, allocations: 29.69 kB / 0.5662 GB, free: 11.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.11e-05/1.013, allocations: 163.5 kB / 0.5663 GB, free: 11.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/1.013, allocations: 23.73 kB / 0.5663 GB, free: 11.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.624e-06/1.013, allocations: 0 / 0.5663 GB, free: 11.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/1.013, allocations: 330.7 kB / 0.5667 GB, free: 11.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.788e-05/1.014, allocations: 20 kB / 0.5667 GB, free: 11.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/1.014, allocations: 120.1 kB / 0.5668 GB, free: 10.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.226e-05/1.014, allocations: 31.98 kB / 0.5668 GB, free: 10.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.014, allocations: 4 kB / 0.5668 GB, free: 10.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002597/1.014, allocations: 149.3 kB / 0.567 GB, free: 10.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/1.014, allocations: 8 kB / 0.567 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.301e-05/1.014, allocations: 15.98 kB / 0.567 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/1.014, allocations: 7.938 kB / 0.567 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/1.014, allocations: 31.92 kB / 0.567 GB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/1.014, allocations: 8.25 kB / 0.567 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/1.014, allocations: 27.83 kB / 0.5671 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/1.014, allocations: 16 kB / 0.5671 GB, free: 10.69 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 (17): * Single equations (assignments): 15 * 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 8.254e-05/1.015, allocations: 110.2 kB / 0.5672 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.665e-05/1.015, allocations: 11.91 kB / 0.5672 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003144/1.015, allocations: 134.5 kB / 0.5673 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/1.015, allocations: 0 / 0.5673 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/1.015, allocations: 0 / 0.5673 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/1.015, allocations: 0 / 0.5673 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/1.015, allocations: 194.2 kB / 0.5675 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.131e-05/1.015, allocations: 11.98 kB / 0.5675 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.585e-05/1.015, allocations: 8 kB / 0.5675 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/1.015, allocations: 11.84 kB / 0.5675 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/1.015, allocations: 4 kB / 0.5675 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/1.015, allocations: 7.984 kB / 0.5675 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.015, allocations: 144 / 0.5675 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001806/1.015, allocations: 171.3 kB / 0.5677 GB, free: 9.969 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002798/1.016, allocations: 0.5467 MB / 0.5682 GB, free: 9.402 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.242e-05/1.016, allocations: 92.91 kB / 0.5683 GB, free: 9.293 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/1.016, allocations: 0 / 0.5683 GB, free: 9.293 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/1.016, allocations: 11.94 kB / 0.5683 GB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/1.016, allocations: 7.984 kB / 0.5684 GB, free: 9.273 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/1.016, allocations: 0 / 0.5684 GB, free: 9.273 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.407e-05/1.016, allocations: 123.3 kB / 0.5685 GB, free: 9.152 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001058/1.017, allocations: 91.67 kB / 0.5686 GB, free: 9.062 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.0004706/1.018, allocations: 203.1 kB / 0.5687 GB, free: 8.852 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003256/1.018, allocations: 140.1 kB / 0.5689 GB, free: 8.703 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.018, allocations: 4 kB / 0.5689 GB, free: 8.699 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001503/1.018, allocations: 89.28 kB / 0.569 GB, free: 8.602 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/1.018, allocations: 11.78 kB / 0.569 GB, free: 8.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006319/1.019, allocations: 203.6 kB / 0.5692 GB, free: 8.371 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004026/1.019, allocations: 0.7526 MB / 0.5699 GB, free: 7.594 MB / 410.7 MB Notification: Performance of SimCode: time 3e-07/1.019, allocations: 0 / 0.5699 GB, free: 7.594 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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_res.mat does not exist to compare? outputFormat=mat