Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_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.001365/0.001365, allocations: 191.2 kB / 7.804 MB, free: 2.492 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.533/1.533, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.001004/0.001004, allocations: 103.3 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.2097/0.2097, allocations: 43.49 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2274/0.4372, allocations: 64.99 MB / 417.8 MB, free: 40.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.7499, allocations: 58.85 MB / 476.7 MB, free: 5.172 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1287/0.8787, allocations: 89.89 MB / 0.5533 GB, free: 9 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.879, allocations: 91.94 kB / 0.5534 GB, free: 8.91 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.03491/0.9139, allocations: 11.91 MB / 0.565 GB, free: 12.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.914, allocations: 11.98 kB / 0.565 GB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.9141, allocations: 31.62 kB / 0.565 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003405/0.9145, allocations: 234.1 kB / 0.5653 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.9145, allocations: 12 kB / 0.5653 GB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.683e-05/0.9145, allocations: 12 kB / 0.5653 GB, free: 12.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005384/0.9151, allocations: 329.1 kB / 0.5656 GB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005488/0.9156, allocations: 328.5 kB / 0.5659 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.9157, allocations: 7.906 kB / 0.5659 GB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/0.9157, allocations: 0 / 0.5659 GB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.033e-05/0.9158, allocations: 24.62 kB / 0.566 GB, free: 11.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/0.9171, allocations: 0.7637 MB / 0.5667 GB, free: 11.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003703/0.9175, allocations: 250.4 kB / 0.5669 GB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.9177, allocations: 84.86 kB / 0.567 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/0.9177, allocations: 7.984 kB / 0.567 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.9177, allocations: 34.5 kB / 0.5671 GB, free: 10.65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.9177, allocations: 0 / 0.5671 GB, free: 10.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.000459/0.9182, allocations: 217.7 kB / 0.5673 GB, free: 10.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.9183, allocations: 55.41 kB / 0.5673 GB, free: 10.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.9185, allocations: 162.3 kB / 0.5675 GB, free: 10.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.9185, allocations: 25.7 kB / 0.5675 GB, free: 10.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.9186, allocations: 175.7 kB / 0.5677 GB, free: 9.996 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.31e-05/0.9187, allocations: 59.19 kB / 0.5677 GB, free: 9.938 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.328e-05/0.9187, allocations: 0 / 0.5677 GB, free: 9.938 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002292/0.9189, allocations: 330.7 kB / 0.568 GB, free: 9.605 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.9191, allocations: 80.41 kB / 0.5681 GB, free: 9.523 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.9193, allocations: 177.2 kB / 0.5683 GB, free: 9.312 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.9195, allocations: 115.8 kB / 0.5684 GB, free: 9.199 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.9195, allocations: 0 / 0.5684 GB, free: 9.199 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004917/0.92, allocations: 293.3 kB / 0.5687 GB, free: 8.906 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.9201, allocations: 7.938 kB / 0.5687 GB, free: 8.898 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.9201, allocations: 4 kB / 0.5687 GB, free: 8.895 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.9201, allocations: 4 kB / 0.5687 GB, free: 8.891 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006428/0.9207, allocations: 115.8 kB / 0.5688 GB, free: 8.777 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00248/0.9232, allocations: 3.712 MB / 0.5724 GB, free: 4.922 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.9235, allocations: 19.84 kB / 0.5724 GB, free: 4.902 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/0.9235, allocations: 11.98 kB / 0.5725 GB, free: 4.891 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001394/0.9237, allocations: 120.7 kB / 0.5726 GB, free: 4.766 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.992e-05/0.9237, allocations: 15.72 kB / 0.5726 GB, free: 4.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006475/0.9244, allocations: 329.7 kB / 0.5729 GB, free: 4.418 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.9244, allocations: 0 / 0.5729 GB, free: 4.418 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.9244, allocations: 0 / 0.5729 GB, free: 4.418 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.9244, allocations: 0 / 0.5729 GB, free: 4.418 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000368/0.9248, allocations: 269.9 kB / 0.5732 GB, free: 4.117 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.9248, allocations: 4 kB / 0.5732 GB, free: 4.113 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005303/0.9253, allocations: 99.91 kB / 0.5733 GB, free: 4.016 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/0.9253, allocations: 4 kB / 0.5733 GB, free: 4.012 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/0.9254, allocations: 7.984 kB / 0.5733 GB, free: 4.004 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002349/0.9277, allocations: 3.699 MB / 0.5769 GB, free: 168 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.9277, allocations: 288 / 0.5769 GB, free: 168 kB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004151/0.9282, allocations: 323.4 kB / 0.5772 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004909/0.9287, allocations: 0.6836 MB / 0.5779 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-05/0.9288, allocations: 92.86 kB / 0.5779 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.92e-05/0.9288, allocations: 0 / 0.5779 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.929, allocations: 19.92 kB / 0.578 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.576e-05/0.929, allocations: 7.984 kB / 0.578 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.9291, allocations: 15.98 kB / 0.578 GB, free: 14.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001096/0.9292, allocations: 131.5 kB / 0.5781 GB, free: 14.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001108/0.9303, allocations: 87.69 kB / 0.5782 GB, free: 14.76 MB / 426.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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003166/0.9306, allocations: 147.6 kB / 0.5783 GB, free: 14.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009672/0.9316, allocations: 307.7 kB / 0.5786 GB, free: 14.31 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.9316, allocations: 0 / 0.5786 GB, free: 14.31 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006518/0.9323, allocations: 179.8 kB / 0.5788 GB, free: 14.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.9325, allocations: 23.88 kB / 0.5788 GB, free: 14.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009134/0.9335, allocations: 368.9 kB / 0.5792 GB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004758/0.9339, allocations: 0.8213 MB / 0.58 GB, free: 12.88 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.934, allocations: 4 kB / 0.58 GB, free: 12.88 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat