Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_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.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.00149/0.00149, allocations: 199 kB / 8.539 MB, free: 1.797 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.259/1.259, allocations: 225.5 MB / 234.4 MB, free: 3.332 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000878/0.0008781, allocations: 91.36 kB / 286.3 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1679/0.1679, allocations: 45.15 MB / 383.3 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2011/0.3691, allocations: 69.4 MB / 452.7 MB, free: 76.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08258/0.4517, allocations: 63.24 MB / 0.5039 GB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2815/0.7333, allocations: 90.25 MB / 0.592 GB, free: 12.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.7336, allocations: 99.59 kB / 0.5921 GB, free: 12.39 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.01707/0.7507, allocations: 6.035 MB / 0.598 GB, free: 7.273 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.7507, allocations: 8 kB / 0.598 GB, free: 7.266 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007887/0.7515, allocations: 102.8 kB / 0.5981 GB, free: 7.172 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.7518, allocations: 233.2 kB / 0.5983 GB, free: 6.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.7518, allocations: 8 kB / 0.5983 GB, free: 6.902 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.7518, allocations: 8 kB / 0.5984 GB, free: 6.895 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004156/0.7523, allocations: 264.4 kB / 0.5986 GB, free: 6.695 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003623/0.7526, allocations: 266.2 kB / 0.5989 GB, free: 6.465 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.7526, allocations: 0 / 0.5989 GB, free: 6.465 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/0.7527, allocations: 3.906 kB / 0.5989 GB, free: 6.461 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.651e-05/0.7527, allocations: 15.98 kB / 0.5989 GB, free: 6.445 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.7541, allocations: 0.6845 MB / 0.5995 GB, free: 5.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003966/0.7545, allocations: 278.9 kB / 0.5998 GB, free: 5.512 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.7547, allocations: 91.33 kB / 0.5999 GB, free: 5.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.7547, allocations: 11.67 kB / 0.5999 GB, free: 5.422 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.7547, allocations: 30.56 kB / 0.5999 GB, free: 5.383 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.7547, allocations: 0 / 0.5999 GB, free: 5.383 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004426/0.7552, allocations: 239 kB / 0.6002 GB, free: 5.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.7552, allocations: 55.41 kB / 0.6002 GB, free: 5.094 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.7553, allocations: 147.3 kB / 0.6004 GB, free: 4.957 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.7554, allocations: 29.69 kB / 0.6004 GB, free: 4.922 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.7554, allocations: 119.6 kB / 0.6005 GB, free: 4.805 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.7555, allocations: 42.2 kB / 0.6005 GB, free: 4.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.5e-05/0.7555, allocations: 0 / 0.6005 GB, free: 4.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.608e-05/0.7556, allocations: 325.9 kB / 0.6009 GB, free: 4.441 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.7557, allocations: 94.41 kB / 0.6009 GB, free: 4.359 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.7559, allocations: 125.2 kB / 0.6011 GB, free: 4.238 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.7561, allocations: 106.8 kB / 0.6012 GB, free: 4.145 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.7561, allocations: 0 / 0.6012 GB, free: 4.145 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004294/0.7565, allocations: 266.1 kB / 0.6014 GB, free: 3.898 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.7565, allocations: 12.09 kB / 0.6014 GB, free: 3.887 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.7565, allocations: 0 / 0.6014 GB, free: 3.887 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.7566, allocations: 0 / 0.6014 GB, free: 3.887 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01974/0.7763, allocations: 0.9426 MB / 0.6023 GB, free: 2.945 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02227/0.7986, allocations: 9.832 MB / 0.612 GB, free: 8.625 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004308/0.7991, allocations: 27.92 kB / 0.612 GB, free: 8.598 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-05/0.7991, allocations: 15.97 kB / 0.612 GB, free: 8.582 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.0001293/0.7993, allocations: 104.9 kB / 0.6121 GB, free: 8.473 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.811e-05/0.7993, allocations: 7.906 kB / 0.6121 GB, free: 8.465 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00778/0.8071, allocations: 0.6635 MB / 0.6127 GB, free: 7.824 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.8071, allocations: 0 / 0.6127 GB, free: 7.824 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.8071, allocations: 0 / 0.6127 GB, free: 7.824 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.8072, allocations: 112 / 0.6127 GB, free: 7.824 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003364/0.8075, allocations: 247.7 kB / 0.613 GB, free: 7.562 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.8075, allocations: 0 / 0.613 GB, free: 7.562 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/0.8078, allocations: 43.95 kB / 0.613 GB, free: 7.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009052/0.8169, allocations: 492 kB / 0.6135 GB, free: 7.039 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.8169, allocations: 7.969 kB / 0.6135 GB, free: 7.031 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01625/0.8332, allocations: 9.231 MB / 0.6225 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.8332, allocations: 0 / 0.6225 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007615/0.8408, allocations: 0.6927 MB / 0.6232 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007502/0.8483, allocations: 1.07 MB / 0.6242 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.8484, allocations: 89.02 kB / 0.6243 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/0.8485, allocations: 0 / 0.6243 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000312/0.8488, allocations: 19.83 kB / 0.6243 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/0.8488, allocations: 19.95 kB / 0.6244 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/0.8489, allocations: 7.984 kB / 0.6244 GB, free: 11.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.818e-05/0.849, allocations: 121.5 kB / 0.6245 GB, free: 11.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001173/0.8501, allocations: 99.84 kB / 0.6246 GB, free: 11.2 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.0001672/0.8503, allocations: 111.2 kB / 0.6247 GB, free: 11.08 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02401/0.8743, allocations: 1.187 MB / 0.6258 GB, free: 9.922 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.8744, allocations: 0 / 0.6258 GB, free: 9.922 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002044/0.8764, allocations: 0.4888 MB / 0.6263 GB, free: 9.422 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.8767, allocations: 16.73 kB / 0.6263 GB, free: 9.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003151/0.8798, allocations: 0.5969 MB / 0.6269 GB, free: 8.805 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003881/0.8802, allocations: 0.7766 MB / 0.6277 GB, free: 8.008 MB / 426.7 MB Notification: Performance of SimCode: time 6.92e-07/0.8802, allocations: 4 kB / 0.6277 GB, free: 8.004 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat