Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.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.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 174.1 kB / 8.515 MB, free: 1.852 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.155/1.155, allocations: 221.4 MB / 230.3 MB, free: 7.699 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.0009359/0.000936, allocations: 100.7 kB / 281.2 MB, free: 5.445 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.1601/0.1601, allocations: 44.14 MB / 376.1 MB, free: 3.207 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1807/0.3408, allocations: 68.06 MB / 444.2 MB, free: 15.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09336/0.4342, allocations: 61.9 MB / 0.4942 GB, free: 1.496 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2354/0.6696, allocations: 91 MB / 0.5831 GB, free: 5.668 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.6699, allocations: 102.7 kB / 0.5832 GB, free: 5.574 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.03357/0.7035, allocations: 12.15 MB / 0.595 GB, free: 9.293 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.7035, allocations: 15.94 kB / 0.595 GB, free: 9.277 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.63e-05/0.7036, allocations: 27.62 kB / 0.5951 GB, free: 9.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.7039, allocations: 242.5 kB / 0.5953 GB, free: 8.973 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.704, allocations: 12 kB / 0.5953 GB, free: 8.961 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.594e-05/0.704, allocations: 16 kB / 0.5953 GB, free: 8.945 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004682/0.7045, allocations: 329.1 kB / 0.5956 GB, free: 8.621 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004291/0.7049, allocations: 320.7 kB / 0.596 GB, free: 8.301 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.7049, allocations: 0 / 0.596 GB, free: 8.301 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.705, allocations: 3.906 kB / 0.596 GB, free: 8.297 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.123e-05/0.705, allocations: 20.64 kB / 0.596 GB, free: 8.277 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.7062, allocations: 0.7637 MB / 0.5967 GB, free: 7.473 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003546/0.7066, allocations: 250.4 kB / 0.597 GB, free: 7.219 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.7067, allocations: 88.86 kB / 0.597 GB, free: 7.129 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.7068, allocations: 4 kB / 0.597 GB, free: 7.125 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.7068, allocations: 30.56 kB / 0.5971 GB, free: 7.086 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.7068, allocations: 0 / 0.5971 GB, free: 7.086 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004028/0.7072, allocations: 216.8 kB / 0.5973 GB, free: 6.871 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.7073, allocations: 63.34 kB / 0.5973 GB, free: 6.797 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.7074, allocations: 157.5 kB / 0.5975 GB, free: 6.637 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.7075, allocations: 29.7 kB / 0.5975 GB, free: 6.602 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.604e-05/0.7076, allocations: 171.8 kB / 0.5977 GB, free: 6.426 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.746e-05/0.7076, allocations: 55.2 kB / 0.5977 GB, free: 6.371 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.257e-05/0.7076, allocations: 0 / 0.5977 GB, free: 6.371 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.7078, allocations: 330.7 kB / 0.5981 GB, free: 6.039 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.7079, allocations: 84.39 kB / 0.5981 GB, free: 5.953 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.7081, allocations: 183.7 kB / 0.5983 GB, free: 5.734 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.7083, allocations: 111.9 kB / 0.5984 GB, free: 5.625 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.7083, allocations: 0 / 0.5984 GB, free: 5.625 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004605/0.7087, allocations: 297 kB / 0.5987 GB, free: 5.328 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.7088, allocations: 9.156 kB / 0.5987 GB, free: 5.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.7088, allocations: 7.938 kB / 0.5987 GB, free: 5.312 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.7088, allocations: 8 kB / 0.5987 GB, free: 5.305 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006315/0.7094, allocations: 115.8 kB / 0.5988 GB, free: 5.191 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001964/0.7114, allocations: 3.699 MB / 0.6024 GB, free: 1.348 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.7116, allocations: 28.11 kB / 0.6025 GB, free: 1.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.7117, allocations: 15.98 kB / 0.6025 GB, free: 1.305 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.0001072/0.7118, allocations: 110.1 kB / 0.6026 GB, free: 1.191 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.694e-05/0.7118, allocations: 19.75 kB / 0.6026 GB, free: 1.172 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005722/0.7124, allocations: 326.8 kB / 0.6029 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.7124, allocations: 0 / 0.6029 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.7124, allocations: 3.984 kB / 0.6029 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.7124, allocations: 0 / 0.6029 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002856/0.7127, allocations: 265.9 kB / 0.6032 GB, free: 0.543 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.7127, allocations: 0 / 0.6032 GB, free: 0.543 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005335/0.7133, allocations: 107.9 kB / 0.6033 GB, free: 448 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.7133, allocations: 0 / 0.6033 GB, free: 448 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.7133, allocations: 8 kB / 0.6033 GB, free: 440 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001963/0.7153, allocations: 3.692 MB / 0.6069 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.7153, allocations: 0 / 0.6069 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003584/0.7157, allocations: 322 kB / 0.6072 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004736/0.7162, allocations: 0.6873 MB / 0.6079 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.234e-05/0.7162, allocations: 96.84 kB / 0.608 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.7163, allocations: 0 / 0.608 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.7164, allocations: 12 kB / 0.608 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.7165, allocations: 19.91 kB / 0.608 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.7165, allocations: 12 kB / 0.608 GB, free: 11.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.512e-05/0.7166, allocations: 128.3 kB / 0.6081 GB, free: 11.28 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009586/0.7176, allocations: 91.67 kB / 0.6082 GB, free: 11.19 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.0002452/0.7178, allocations: 151.1 kB / 0.6084 GB, free: 11.03 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008533/0.7187, allocations: 302.3 kB / 0.6087 GB, free: 10.74 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7187, allocations: 0.75 kB / 0.6087 GB, free: 10.74 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006378/0.7194, allocations: 187.8 kB / 0.6088 GB, free: 10.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.7196, allocations: 16.72 kB / 0.6088 GB, free: 10.54 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007512/0.7203, allocations: 368.9 kB / 0.6092 GB, free: 10.15 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004189/0.7208, allocations: 0.8211 MB / 0.61 GB, free: 9.305 MB / 426.7 MB Notification: Performance of SimCode: time 2.7e-07/0.7208, allocations: 0 / 0.61 GB, free: 9.305 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.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.StraightPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat