Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.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.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.00135/0.00135, allocations: 195.1 kB / 8.537 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.175/1.175, allocations: 225.5 MB / 234.4 MB, free: 3.441 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00107/0.00107, allocations: 94.34 kB / 286.3 MB, free: 5.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1715/0.1715, allocations: 45.14 MB / 383.3 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2058/0.3774, allocations: 69.4 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0918/0.4692, allocations: 63.24 MB / 0.5039 GB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2732/0.7425, allocations: 92.06 MB / 0.5938 GB, free: 10.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.7428, allocations: 96.88 kB / 0.5939 GB, free: 10.7 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.03358/0.7764, allocations: 12.23 MB / 0.6058 GB, free: 472 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.7764, allocations: 8 kB / 0.6058 GB, free: 464 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.317e-05/0.7765, allocations: 39.55 kB / 0.6059 GB, free: 424 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.7769, allocations: 240.1 kB / 0.6061 GB, free: 152 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.7769, allocations: 8 kB / 0.6061 GB, free: 144 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.595e-05/0.7769, allocations: 16 kB / 0.6061 GB, free: 128 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004987/0.7774, allocations: 334.3 kB / 0.6064 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004682/0.7779, allocations: 325.3 kB / 0.6068 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.7779, allocations: 0 / 0.6068 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.778, allocations: 0 / 0.6068 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.412e-05/0.778, allocations: 20.64 kB / 0.6068 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.7792, allocations: 0.763 MB / 0.6075 GB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003638/0.7796, allocations: 262.2 kB / 0.6078 GB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.7798, allocations: 82.98 kB / 0.6078 GB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.7798, allocations: 0 / 0.6078 GB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.7798, allocations: 37.88 kB / 0.6079 GB, free: 14.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.032e-06/0.7798, allocations: 0 / 0.6079 GB, free: 14.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004228/0.7803, allocations: 209.5 kB / 0.6081 GB, free: 14.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.7803, allocations: 54.47 kB / 0.6081 GB, free: 14.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.7805, allocations: 168.2 kB / 0.6083 GB, free: 14.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.7805, allocations: 33.64 kB / 0.6083 GB, free: 14.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.113e-05/0.7806, allocations: 170.7 kB / 0.6085 GB, free: 13.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.85e-05/0.7806, allocations: 61.53 kB / 0.6085 GB, free: 13.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.213e-05/0.7807, allocations: 0 / 0.6085 GB, free: 13.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.7808, allocations: 331.5 kB / 0.6089 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.7809, allocations: 82.16 kB / 0.6089 GB, free: 13.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.7811, allocations: 169.2 kB / 0.6091 GB, free: 13.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.7813, allocations: 121.8 kB / 0.6092 GB, free: 13.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.7813, allocations: 0 / 0.6092 GB, free: 13.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004374/0.7818, allocations: 296.8 kB / 0.6095 GB, free: 12.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.7818, allocations: 7.938 kB / 0.6095 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.7818, allocations: 4 kB / 0.6095 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.7818, allocations: 7.938 kB / 0.6095 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000645/0.7825, allocations: 119.8 kB / 0.6096 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002257/0.7847, allocations: 3.698 MB / 0.6132 GB, free: 8.961 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.785, allocations: 24.16 kB / 0.6133 GB, free: 8.938 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.785, allocations: 19.8 kB / 0.6133 GB, free: 8.922 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.0001188/0.7851, allocations: 108.9 kB / 0.6134 GB, free: 8.809 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/0.7852, allocations: 19.72 kB / 0.6134 GB, free: 8.789 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005911/0.7858, allocations: 330.1 kB / 0.6137 GB, free: 8.488 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.7858, allocations: 4 kB / 0.6137 GB, free: 8.484 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.7858, allocations: 0 / 0.6137 GB, free: 8.484 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.7858, allocations: 0 / 0.6137 GB, free: 8.484 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003562/0.7862, allocations: 268.6 kB / 0.614 GB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.7862, allocations: 0 / 0.614 GB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005447/0.7867, allocations: 107.8 kB / 0.6141 GB, free: 8.105 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.7867, allocations: 4 kB / 0.6141 GB, free: 8.102 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.7868, allocations: 11.97 kB / 0.6141 GB, free: 8.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002062/0.7888, allocations: 3.694 MB / 0.6177 GB, free: 4.297 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.7889, allocations: 4.031 kB / 0.6177 GB, free: 4.293 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003733/0.7892, allocations: 317.7 kB / 0.618 GB, free: 3.988 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004799/0.7897, allocations: 0.6822 MB / 0.6187 GB, free: 3.312 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.468e-05/0.7898, allocations: 92.92 kB / 0.6188 GB, free: 3.203 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/0.7898, allocations: 3.938 kB / 0.6188 GB, free: 3.199 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.79, allocations: 11.98 kB / 0.6188 GB, free: 3.188 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.7901, allocations: 11.98 kB / 0.6188 GB, free: 3.176 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.7901, allocations: 7.984 kB / 0.6188 GB, free: 3.168 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.782e-05/0.7902, allocations: 129.4 kB / 0.6189 GB, free: 3.055 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009986/0.7912, allocations: 94.75 kB / 0.619 GB, free: 2.969 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 (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.0002911/0.7915, allocations: 150.5 kB / 0.6192 GB, free: 2.816 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008695/0.7924, allocations: 298.6 kB / 0.6194 GB, free: 2.547 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.7924, allocations: 7.938 kB / 0.6195 GB, free: 2.539 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006289/0.793, allocations: 182.8 kB / 0.6196 GB, free: 2.371 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.7932, allocations: 19.83 kB / 0.6196 GB, free: 2.355 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008432/0.7941, allocations: 378.1 kB / 0.62 GB, free: 1.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004717/0.7946, allocations: 0.825 MB / 0.6208 GB, free: 1.133 MB / 410.7 MB Notification: Performance of SimCode: time 3.1e-07/0.7946, allocations: 0 / 0.6208 GB, free: 1.133 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat