Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001106/0.001106, allocations: 202.3 kB / 8.541 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.25/1.25, allocations: 225.5 MB / 234.4 MB, free: 3.375 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009661/0.0009658, allocations: 96.95 kB / 286.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1818/0.1818, allocations: 45.14 MB / 383.4 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2056/0.3874, allocations: 69.38 MB / 452.7 MB, free: 76.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08321/0.4706, allocations: 63.24 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2624/0.7331, allocations: 91.36 MB / 0.5931 GB, free: 11.44 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/0.7334, allocations: 101 kB / 0.5932 GB, free: 11.38 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.01907/0.7525, allocations: 7.031 MB / 0.6001 GB, free: 5.438 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.7526, allocations: 8 kB / 0.6001 GB, free: 5.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.376e-05/0.7526, allocations: 15.81 kB / 0.6001 GB, free: 5.414 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.7528, allocations: 202.5 kB / 0.6003 GB, free: 5.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.7528, allocations: 4 kB / 0.6003 GB, free: 5.176 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.7528, allocations: 8 kB / 0.6003 GB, free: 5.168 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001923/0.753, allocations: 128.4 kB / 0.6004 GB, free: 5.074 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.7533, allocations: 144.1 kB / 0.6005 GB, free: 4.949 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.7533, allocations: 0 / 0.6005 GB, free: 4.949 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.7533, allocations: 0 / 0.6005 GB, free: 4.949 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.472e-05/0.7533, allocations: 11.98 kB / 0.6006 GB, free: 4.938 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000706/0.754, allocations: 452 kB / 0.601 GB, free: 4.496 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002912/0.7543, allocations: 143.6 kB / 0.6011 GB, free: 4.359 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.454e-05/0.7544, allocations: 44.08 kB / 0.6012 GB, free: 4.32 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.7545, allocations: 8 kB / 0.6012 GB, free: 4.312 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.7545, allocations: 34.69 kB / 0.6012 GB, free: 4.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.7545, allocations: 0 / 0.6012 GB, free: 4.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002637/0.7548, allocations: 127.9 kB / 0.6013 GB, free: 4.148 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.7548, allocations: 51.41 kB / 0.6014 GB, free: 4.086 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.7549, allocations: 126 kB / 0.6015 GB, free: 3.965 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.7549, allocations: 29.64 kB / 0.6015 GB, free: 3.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.755, allocations: 119.1 kB / 0.6016 GB, free: 3.812 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.755, allocations: 27.59 kB / 0.6017 GB, free: 3.789 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-06/0.755, allocations: 0 / 0.6017 GB, free: 3.789 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.7551, allocations: 326.5 kB / 0.602 GB, free: 3.465 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.197e-05/0.7552, allocations: 43.59 kB / 0.602 GB, free: 3.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.385e-05/0.7553, allocations: 61.61 kB / 0.6021 GB, free: 3.367 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.264e-05/0.7554, allocations: 43.7 kB / 0.6021 GB, free: 3.328 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.7554, allocations: 0 / 0.6021 GB, free: 3.328 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002187/0.7556, allocations: 140.4 kB / 0.6023 GB, free: 3.195 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.7556, allocations: 4 kB / 0.6023 GB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.7556, allocations: 0 / 0.6023 GB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.7557, allocations: 3.938 kB / 0.6023 GB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003102/0.756, allocations: 51.83 kB / 0.6023 GB, free: 3.141 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000739/0.7567, allocations: 1.236 MB / 0.6035 GB, free: 1.871 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.7569, allocations: 12.2 kB / 0.6035 GB, free: 1.859 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.7569, allocations: 11.91 kB / 0.6035 GB, free: 1.848 MB / 394.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 8.541e-05/0.757, allocations: 105 kB / 0.6036 GB, free: 1.738 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.491e-05/0.757, allocations: 7.906 kB / 0.6036 GB, free: 1.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003123/0.7573, allocations: 166.8 kB / 0.6038 GB, free: 1.57 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.7573, allocations: 0 / 0.6038 GB, free: 1.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.7574, allocations: 0 / 0.6038 GB, free: 1.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-06/0.7574, allocations: 7.906 kB / 0.6038 GB, free: 1.562 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.7576, allocations: 194 kB / 0.604 GB, free: 1.352 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.7576, allocations: 4 kB / 0.604 GB, free: 1.348 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000268/0.7579, allocations: 47.95 kB / 0.604 GB, free: 1.301 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.7579, allocations: 0 / 0.604 GB, free: 1.301 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.7579, allocations: 0 / 0.604 GB, free: 1.301 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006292/0.7585, allocations: 1.236 MB / 0.6053 GB, free: 32 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.7585, allocations: 0 / 0.6053 GB, free: 32 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002528/0.7588, allocations: 228.9 kB / 0.6055 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003214/0.7591, allocations: 0.5984 MB / 0.6061 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/0.7592, allocations: 96.78 kB / 0.6062 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.7592, allocations: 0 / 0.6062 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.7594, allocations: 11.98 kB / 0.6062 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.7594, allocations: 4 kB / 0.6062 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.7594, allocations: 4 kB / 0.6062 GB, free: 15.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.912e-05/0.7595, allocations: 115 kB / 0.6063 GB, free: 14.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009355/0.7604, allocations: 51.03 kB / 0.6063 GB, free: 14.92 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.0002803/0.7607, allocations: 143.2 kB / 0.6065 GB, free: 14.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003976/0.7611, allocations: 126 kB / 0.6066 GB, free: 14.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7611, allocations: 0 / 0.6066 GB, free: 14.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000264/0.7614, allocations: 79.14 kB / 0.6067 GB, free: 14.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.7616, allocations: 16.05 kB / 0.6067 GB, free: 14.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004665/0.7621, allocations: 201.1 kB / 0.6069 GB, free: 14.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003342/0.7625, allocations: 0.7542 MB / 0.6076 GB, free: 13.59 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.7625, allocations: 0 / 0.6076 GB, free: 13.59 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat does not exist to compare? outputFormat=mat