Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_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 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 178.2 kB / 8.519 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.161/1.161, allocations: 221.4 MB / 230.3 MB, free: 7.633 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008734/0.0008735, allocations: 81.75 kB / 281.2 MB, free: 5.441 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1596/0.1596, allocations: 44.15 MB / 376.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1785/0.3382, allocations: 68.05 MB / 444.2 MB, free: 15.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.439, allocations: 61.91 MB / 0.4942 GB, free: 1.496 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2702/0.7093, allocations: 89.18 MB / 0.5813 GB, free: 7.488 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.7096, allocations: 95.75 kB / 0.5814 GB, free: 7.398 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.01704/0.7267, allocations: 5.97 MB / 0.5872 GB, free: 1.359 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.7267, allocations: 11.94 kB / 0.5872 GB, free: 1.348 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000872/0.7276, allocations: 107.7 kB / 0.5873 GB, free: 1.242 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003108/0.7279, allocations: 222.7 kB / 0.5875 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.728, allocations: 7.938 kB / 0.5876 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.646e-05/0.728, allocations: 4 kB / 0.5876 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004456/0.7285, allocations: 268.1 kB / 0.5878 GB, free: 0.707 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003878/0.7289, allocations: 268 kB / 0.5881 GB, free: 444 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.7289, allocations: 7.938 kB / 0.5881 GB, free: 436 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.7289, allocations: 3.984 kB / 0.5881 GB, free: 432 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.772e-05/0.729, allocations: 19.91 kB / 0.5881 GB, free: 412 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.7304, allocations: 0.6697 MB / 0.5887 GB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004095/0.7309, allocations: 290.2 kB / 0.589 GB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.731, allocations: 88.83 kB / 0.5891 GB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.731, allocations: 0 / 0.5891 GB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.7311, allocations: 42.56 kB / 0.5892 GB, free: 15.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.7311, allocations: 0 / 0.5892 GB, free: 15.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004606/0.7315, allocations: 233.3 kB / 0.5894 GB, free: 15.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.7316, allocations: 51.41 kB / 0.5894 GB, free: 14.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.7317, allocations: 145.5 kB / 0.5896 GB, free: 14.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.7318, allocations: 25.7 kB / 0.5896 GB, free: 14.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.7318, allocations: 120.1 kB / 0.5897 GB, free: 14.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.035e-05/0.7319, allocations: 43.36 kB / 0.5897 GB, free: 14.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.66e-05/0.7319, allocations: 0 / 0.5897 GB, free: 14.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.732, allocations: 326.8 kB / 0.5901 GB, free: 14.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.7322, allocations: 91.91 kB / 0.5901 GB, free: 14.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.7323, allocations: 119.3 kB / 0.5903 GB, free: 14.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.7325, allocations: 110 kB / 0.5904 GB, free: 13.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.7325, allocations: 3.906 kB / 0.5904 GB, free: 13.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004308/0.733, allocations: 269.5 kB / 0.5906 GB, free: 13.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.733, allocations: 14.33 kB / 0.5906 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.733, allocations: 0 / 0.5906 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.733, allocations: 0 / 0.5906 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01943/0.7524, allocations: 0.9476 MB / 0.5916 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02192/0.7744, allocations: 9.839 MB / 0.6012 GB, free: 2.188 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004044/0.7748, allocations: 16.02 kB / 0.6012 GB, free: 2.172 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.647e-05/0.7749, allocations: 11.97 kB / 0.6012 GB, free: 2.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001331/0.775, allocations: 112.8 kB / 0.6013 GB, free: 2.043 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-05/0.7751, allocations: 12 kB / 0.6013 GB, free: 2.031 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00754/0.7827, allocations: 0.655 MB / 0.602 GB, free: 1.359 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.7827, allocations: 4 kB / 0.602 GB, free: 1.355 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.7827, allocations: 7.984 kB / 0.602 GB, free: 1.348 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.7827, allocations: 0 / 0.602 GB, free: 1.348 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003114/0.783, allocations: 249.9 kB / 0.6022 GB, free: 1.066 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.783, allocations: 4 kB / 0.6022 GB, free: 1.062 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002691/0.7833, allocations: 35.97 kB / 0.6022 GB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008578/0.7919, allocations: 493.7 kB / 0.6027 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.7919, allocations: 3.984 kB / 0.6027 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01484/0.8068, allocations: 9.219 MB / 0.6117 GB, free: 6.605 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.8068, allocations: 3.938 kB / 0.6117 GB, free: 6.602 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007496/0.8143, allocations: 0.6964 MB / 0.6124 GB, free: 5.879 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007398/0.8217, allocations: 1.076 MB / 0.6135 GB, free: 4.773 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.687e-05/0.8218, allocations: 89.02 kB / 0.6135 GB, free: 4.668 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.197e-05/0.8219, allocations: 0 / 0.6135 GB, free: 4.668 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003076/0.8222, allocations: 11.98 kB / 0.6136 GB, free: 4.656 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.79e-05/0.8223, allocations: 19.88 kB / 0.6136 GB, free: 4.637 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/0.8223, allocations: 19.97 kB / 0.6136 GB, free: 4.617 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.311e-05/0.8224, allocations: 119.3 kB / 0.6137 GB, free: 4.504 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001177/0.8236, allocations: 99.84 kB / 0.6138 GB, free: 4.406 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 (13): * 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): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001927/0.8238, allocations: 115.2 kB / 0.6139 GB, free: 4.281 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02389/0.8477, allocations: 1.189 MB / 0.6151 GB, free: 3.094 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.8477, allocations: 4 kB / 0.6151 GB, free: 3.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002063/0.8498, allocations: 489 kB / 0.6155 GB, free: 2.582 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.85, allocations: 19.98 kB / 0.6156 GB, free: 2.562 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003136/0.8532, allocations: 0.6001 MB / 0.6161 GB, free: 1.938 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003541/0.8536, allocations: 0.7744 MB / 0.6169 GB, free: 1.137 MB / 426.7 MB Notification: Performance of SimCode: time 9.62e-07/0.8536, allocations: 0 / 0.6169 GB, free: 1.137 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat