Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_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.001285/0.001285, allocations: 187 kB / 7.8 MB, free: 2.5 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.433/1.433, 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.0008972/0.000897, allocations: 91.62 kB / 261.4 MB, free: 13.48 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.1936/0.1936, allocations: 43.49 MB / 352.8 MB, free: 1.883 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2458/0.4394, allocations: 65 MB / 417.8 MB, free: 40.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.7244, allocations: 58.83 MB / 476.7 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1324/0.8569, allocations: 89.18 MB / 0.5526 GB, free: 9.715 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/0.8572, allocations: 95.44 kB / 0.5527 GB, free: 9.625 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.01917/0.8764, allocations: 6.768 MB / 0.5593 GB, free: 2.773 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.8765, allocations: 8 kB / 0.5593 GB, free: 2.766 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.316e-05/0.8766, allocations: 15.81 kB / 0.5593 GB, free: 2.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003066/0.8769, allocations: 214.6 kB / 0.5595 GB, free: 2.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.8769, allocations: 4 kB / 0.5595 GB, free: 2.496 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.8769, allocations: 4 kB / 0.5595 GB, free: 2.492 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002703/0.8772, allocations: 127.9 kB / 0.5596 GB, free: 2.367 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.8775, allocations: 145.6 kB / 0.5598 GB, free: 2.219 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.8775, allocations: 0 / 0.5598 GB, free: 2.219 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.8776, allocations: 0 / 0.5598 GB, free: 2.219 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-05/0.8776, allocations: 12 kB / 0.5598 GB, free: 2.207 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009043/0.8785, allocations: 460.7 kB / 0.5602 GB, free: 1.719 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003195/0.8788, allocations: 138.5 kB / 0.5604 GB, free: 1.574 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.088e-05/0.8789, allocations: 44.78 kB / 0.5604 GB, free: 1.527 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.879, allocations: 0 / 0.5604 GB, free: 1.527 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.879, allocations: 46.73 kB / 0.5605 GB, free: 1.473 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.879, allocations: 3.938 kB / 0.5605 GB, free: 1.469 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003133/0.8793, allocations: 117.5 kB / 0.5606 GB, free: 1.348 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.8794, allocations: 51.41 kB / 0.5606 GB, free: 1.285 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.8796, allocations: 132.6 kB / 0.5607 GB, free: 1.148 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.8796, allocations: 25.7 kB / 0.5608 GB, free: 1.117 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.333e-05/0.8797, allocations: 111.8 kB / 0.5609 GB, free: 1.004 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.737e-05/0.8797, allocations: 31.55 kB / 0.5609 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-06/0.8798, allocations: 0 / 0.5609 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.8799, allocations: 322.8 kB / 0.5612 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.023e-05/0.88, allocations: 39.97 kB / 0.5613 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.144e-05/0.8801, allocations: 58.55 kB / 0.5613 GB, free: 0.543 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.79e-05/0.8802, allocations: 43.95 kB / 0.5613 GB, free: 0.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.8802, allocations: 0 / 0.5613 GB, free: 0.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002545/0.8805, allocations: 133.5 kB / 0.5615 GB, free: 372 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.8805, allocations: 8 kB / 0.5615 GB, free: 364 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.8805, allocations: 4 kB / 0.5615 GB, free: 360 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.8805, allocations: 0 / 0.5615 GB, free: 360 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/0.8809, allocations: 55.83 kB / 0.5615 GB, free: 304 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008798/0.8818, allocations: 1.242 MB / 0.5628 GB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.8819, allocations: 8.031 kB / 0.5628 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.8819, allocations: 7.938 kB / 0.5628 GB, free: 14.99 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001398/0.8821, allocations: 114.7 kB / 0.5629 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.286e-05/0.8821, allocations: 11.91 kB / 0.5629 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003392/0.8825, allocations: 161.9 kB / 0.563 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.8825, allocations: 7.984 kB / 0.5631 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.8825, allocations: 96 / 0.5631 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.8825, allocations: 3.938 kB / 0.5631 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002813/0.8828, allocations: 202.1 kB / 0.5632 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.8828, allocations: 0 / 0.5632 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/0.8831, allocations: 43.97 kB / 0.5633 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-06/0.8831, allocations: 8 kB / 0.5633 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.8831, allocations: 0 / 0.5633 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008313/0.884, allocations: 1.242 MB / 0.5645 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.884, allocations: 0 / 0.5645 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002568/0.8843, allocations: 223.3 kB / 0.5647 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004186/0.8847, allocations: 0.5858 MB / 0.5653 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.251e-05/0.8848, allocations: 88.92 kB / 0.5654 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.8848, allocations: 0 / 0.5654 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.8849, allocations: 11.98 kB / 0.5654 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.506e-05/0.885, allocations: 11.92 kB / 0.5654 GB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.885, allocations: 0 / 0.5654 GB, free: 12.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.883e-05/0.8851, allocations: 106.4 kB / 0.5655 GB, free: 12.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009064/0.886, allocations: 55.84 kB / 0.5656 GB, free: 11.99 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 (9): * 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): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002935/0.8863, allocations: 135.2 kB / 0.5657 GB, free: 11.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004136/0.8867, allocations: 128 kB / 0.5658 GB, free: 11.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.8867, allocations: 0 / 0.5658 GB, free: 11.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002641/0.887, allocations: 83.88 kB / 0.5659 GB, free: 11.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.8873, allocations: 15.92 kB / 0.5659 GB, free: 11.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005936/0.8879, allocations: 203.2 kB / 0.5661 GB, free: 11.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004613/0.8884, allocations: 0.7504 MB / 0.5668 GB, free: 10.62 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.8884, allocations: 4 kB / 0.5668 GB, free: 10.62 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat does not exist to compare? outputFormat=mat