Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.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.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 185.5 kB / 7.806 MB, free: 2.488 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.542/1.542, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.000971/0.0009713, allocations: 82.61 kB / 261.4 MB, free: 13.55 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.2307/0.2307, allocations: 43.5 MB / 352.9 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2509/0.4817, allocations: 64.99 MB / 417.8 MB, free: 40.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.8711, allocations: 58.84 MB / 476.7 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1421/1.013, allocations: 88.06 MB / 0.5515 GB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003353/1.014, allocations: 95.94 kB / 0.5516 GB, free: 10.76 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.01797/1.032, allocations: 5.839 MB / 0.5573 GB, free: 4.84 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.124e-05/1.032, allocations: 8 kB / 0.5573 GB, free: 4.832 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009154/1.033, allocations: 115.6 kB / 0.5574 GB, free: 4.719 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/1.033, allocations: 218.8 kB / 0.5576 GB, free: 4.465 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/1.033, allocations: 7.984 kB / 0.5576 GB, free: 4.457 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/1.033, allocations: 4 kB / 0.5576 GB, free: 4.453 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004641/1.034, allocations: 264.1 kB / 0.5579 GB, free: 4.191 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/1.034, allocations: 260 kB / 0.5581 GB, free: 3.926 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/1.034, allocations: 0 / 0.5581 GB, free: 3.926 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.887e-05/1.034, allocations: 11.91 kB / 0.5581 GB, free: 3.914 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.772e-05/1.034, allocations: 23.92 kB / 0.5582 GB, free: 3.891 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/1.036, allocations: 0.6699 MB / 0.5588 GB, free: 3.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004606/1.036, allocations: 278.3 kB / 0.5591 GB, free: 2.898 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/1.036, allocations: 92.81 kB / 0.5592 GB, free: 2.805 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.971e-05/1.036, allocations: 3.938 kB / 0.5592 GB, free: 2.801 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/1.036, allocations: 38.56 kB / 0.5592 GB, free: 2.754 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.934e-06/1.036, allocations: 0 / 0.5592 GB, free: 2.754 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005387/1.037, allocations: 233.7 kB / 0.5594 GB, free: 2.52 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/1.037, allocations: 63.33 kB / 0.5595 GB, free: 2.445 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/1.037, allocations: 142.8 kB / 0.5596 GB, free: 2.297 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/1.037, allocations: 29.7 kB / 0.5597 GB, free: 2.262 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.65e-05/1.037, allocations: 112.1 kB / 0.5598 GB, free: 2.148 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.328e-05/1.037, allocations: 47.39 kB / 0.5598 GB, free: 2.102 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.564e-05/1.037, allocations: 0 / 0.5598 GB, free: 2.102 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/1.038, allocations: 326.8 kB / 0.5601 GB, free: 1.773 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/1.038, allocations: 87.91 kB / 0.5602 GB, free: 1.688 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/1.038, allocations: 123.3 kB / 0.5603 GB, free: 1.555 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/1.038, allocations: 115.8 kB / 0.5604 GB, free: 1.441 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/1.038, allocations: 4 kB / 0.5604 GB, free: 1.438 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004568/1.039, allocations: 265.3 kB / 0.5607 GB, free: 1.172 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/1.039, allocations: 4 kB / 0.5607 GB, free: 1.168 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.039, allocations: 0 / 0.5607 GB, free: 1.168 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/1.039, allocations: 4 kB / 0.5607 GB, free: 1.164 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01938/1.058, allocations: 0.9397 MB / 0.5616 GB, free: 228 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02425/1.082, allocations: 9.858 MB / 0.5713 GB, free: 5.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004794/1.083, allocations: 11.98 kB / 0.5713 GB, free: 5.648 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.925e-05/1.083, allocations: 19.88 kB / 0.5713 GB, free: 5.629 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.0001962/1.083, allocations: 117.7 kB / 0.5714 GB, free: 5.512 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.711e-05/1.083, allocations: 11.91 kB / 0.5714 GB, free: 5.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007608/1.091, allocations: 0.6521 MB / 0.572 GB, free: 4.836 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.811e-05/1.091, allocations: 7.938 kB / 0.5721 GB, free: 4.828 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.091, allocations: 0 / 0.5721 GB, free: 4.828 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/1.091, allocations: 0 / 0.5721 GB, free: 4.828 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004681/1.092, allocations: 249.9 kB / 0.5723 GB, free: 4.547 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/1.092, allocations: 0 / 0.5723 GB, free: 4.547 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003012/1.092, allocations: 43.97 kB / 0.5723 GB, free: 4.504 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008728/1.101, allocations: 481.8 kB / 0.5728 GB, free: 4.023 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.037e-05/1.101, allocations: 7.984 kB / 0.5728 GB, free: 4.016 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01647/1.117, allocations: 9.215 MB / 0.5818 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/1.117, allocations: 0 / 0.5818 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007502/1.125, allocations: 0.6933 MB / 0.5825 GB, free: 9.375 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007694/1.133, allocations: 1.069 MB / 0.5835 GB, free: 8.277 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/1.133, allocations: 92.95 kB / 0.5836 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.332e-05/1.133, allocations: 0 / 0.5836 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003353/1.133, allocations: 23.81 kB / 0.5836 GB, free: 8.145 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.436e-05/1.133, allocations: 15.97 kB / 0.5836 GB, free: 8.129 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/1.133, allocations: 11.98 kB / 0.5837 GB, free: 8.117 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.000108/1.133, allocations: 120.6 kB / 0.5838 GB, free: 8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0014/1.135, allocations: 99.84 kB / 0.5839 GB, free: 7.902 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.0002535/1.135, allocations: 115.2 kB / 0.584 GB, free: 7.777 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02381/1.159, allocations: 1.199 MB / 0.5851 GB, free: 6.578 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/1.159, allocations: 0 / 0.5851 GB, free: 6.578 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00227/1.161, allocations: 493 kB / 0.5856 GB, free: 6.066 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/1.162, allocations: 15.86 kB / 0.5856 GB, free: 6.051 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003276/1.165, allocations: 0.5921 MB / 0.5862 GB, free: 5.434 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004293/1.165, allocations: 0.7822 MB / 0.587 GB, free: 4.625 MB / 426.7 MB Notification: Performance of SimCode: time 1.032e-06/1.165, allocations: 0 / 0.587 GB, free: 4.625 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.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.Plate.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat